This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next 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/10 04:23] jacobe |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
- | ====== MIPI Camera Usage ====== | + | |
+ | ====== | ||
===== Linux ===== | ===== Linux ===== | ||
Line 7: | Line 9: | ||
Please follow the [[products: | Please follow the [[products: | ||
+ | |||
+ | For new kernel(5.10.160) | ||
+ | ``` | ||
+ | $ sudo apt istall camera-engine-rkaiq | ||
+ | $ sudo reboot | ||
+ | ``` | ||
==== Video Node ==== | ==== Video Node ==== | ||
Line 12: | Line 20: | ||
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 38: | ||
```shell | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
``` | ``` | ||
Line 34: | Line 44: | ||
```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 147: | ||
./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 156: | ||
sudo apt install v4l-utils | sudo apt install v4l-utils | ||
``` | ``` | ||
+ | |||
+ | <tabbox kernel 5.10.66> | ||
Capture frame from '' | Capture frame from '' | ||
Line 142: | Line 176: | ||
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 '' |