This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge2:add-ons:edge2-mipi-camera [2023/07/04 23:24] nick |
products:sbc:edge2:add-ons:edge2-mipi-camera [2024/01/11 01:51] (current) jacobe [Other version] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
- | ===== Edge2 MIPI Camera Usage ===== | ||
- | ==== Linux ==== | + | ====== Edge2 MIPI Camera Usage ====== |
- | === Upgrade System === | + | ===== Linux ===== |
+ | |||
+ | ==== Upgrade System | ||
Please follow the [[products: | Please follow the [[products: | ||
- | === Video Node === | + | ==== Video Node ==== |
You can find the video nodes from the table below. | You can find the video nodes from the table below. | ||
- | | ^ Video Node ^ | + | | ^ Video Node(5.10.66) |
- | ^ CAM1 | / | + | ^ CAM1 | / |
- | ^ CAM2 | / | + | ^ CAM2 | / |
- | ^ CAM3 | / | + | ^ CAM3 | / |
+ | |||
+ | ==== Record Video with Gstreamer ==== | ||
- | === Record Video with Gstreamer === | + | <tabbox kernel 5.10.66> |
Record video from '' | Record video from '' | ||
```shell | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
``` | ``` | ||
Line 28: | Line 32: | ||
```shell | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
``` | ``` | ||
Line 34: | Line 38: | ||
```shell | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
``` | ``` | ||
- | === Record Video with OpenCV === | + | <tabbox Other version> |
+ | |||
+ | Record video from '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | ``` | ||
+ | |||
+ | Record video from '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | ``` | ||
+ | |||
+ | Record video from '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | ``` | ||
+ | </ | ||
+ | |||
+ | /* | ||
+ | ==== Record Video with OpenCV | ||
Follow the steps bellow to install OpenCV: | Follow the steps bellow to install OpenCV: | ||
Line 45: | Line 71: | ||
sudo apt install libopencv-dev python3-opencv | sudo apt install libopencv-dev python3-opencv | ||
``` | ``` | ||
+ | |||
+ | '' | ||
```c++ mipi-camera.cpp | ```c++ mipi-camera.cpp | ||
Line 113: | Line 141: | ||
./mipi / | ./mipi / | ||
``` | ``` | ||
- | + | */ | |
- | === Capture Frame with V4L2 API === | + | ==== Capture Frame with V4L2 Utils ==== |
Follow the steps below to install '' | Follow the steps below to install '' | ||
Line 122: | Line 150: | ||
sudo apt install v4l-utils | sudo apt install v4l-utils | ||
``` | ``` | ||
+ | |||
+ | <tabbox kernel 5.10.66> | ||
Capture frame from '' | Capture frame from '' | ||
Line 140: | Line 170: | ||
v4l2-ctl -d / | v4l2-ctl -d / | ||
``` | ``` | ||
+ | |||
+ | <tabbox Other version> | ||
+ | |||
+ | Capture frame from '' | ||
+ | |||
+ | ```shell | ||
+ | v4l2-ctl -d / | ||
+ | ``` | ||
+ | |||
+ | Capture frame from '' | ||
+ | |||
+ | ```shell | ||
+ | v4l2-ctl -d / | ||
+ | ``` | ||
+ | |||
+ | Capture frame from '' | ||
+ | |||
+ | ```shell | ||
+ | v4l2-ctl -d / | ||
+ | ``` | ||
+ | |||
+ | </ | ||
It will capture a '' | It will capture a '' | ||
Line 151: | Line 203: | ||
``` | ``` | ||
- | ==== Android ==== | + | ===== Android |
WIP: | WIP: | ||