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:27] nick |
products:sbc:edge2:add-ons:edge2-mipi-camera [2024/01/11 01:51] (current) jacobe [Other version] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
- | ====== MIPI Camera Usage ====== | + | |
+ | ====== | ||
===== Linux ===== | ===== Linux ===== | ||
Line 12: | Line 14: | ||
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=/ |
``` | ``` | ||
+ | <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 ==== | ==== Record Video with OpenCV ==== | ||
Line 115: | 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 124: | Line 150: | ||
sudo apt install v4l-utils | sudo apt install v4l-utils | ||
``` | ``` | ||
+ | |||
+ | <tabbox kernel 5.10.66> | ||
Capture frame from '' | Capture frame from '' | ||
Line 142: | 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 '' |