This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:edge2:add-ons:edge2-mipi-camera [2023/07/04 23:18] nick created |
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 ====== |
+ | ===== Linux ===== | ||
- | === Video Node === | + | ==== Upgrade System ==== |
+ | |||
+ | Please follow the [[products: | ||
+ | |||
+ | ==== 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 |
- | == Record Video == | + | <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 27: | Line 32: | ||
```shell | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
``` | ``` | ||
Line 33: | Line 38: | ||
```shell | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
``` | ``` | ||
- | === Record Video with OpenCV === | + | <tabbox Other version> |
- | == Install | + | 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: | ||
```shell | ```shell | ||
Line 44: | 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 112: | Line 141: | ||
./mipi / | ./mipi / | ||
``` | ``` | ||
+ | */ | ||
+ | ==== Capture Frame with V4L2 Utils ==== | ||
- | === Capture Frame with V4L2 API === | + | Follow the steps below to install '' |
- | + | ||
- | == Install V4l2 Utils == | + | |
```shell | ```shell | ||
Line 122: | Line 151: | ||
``` | ``` | ||
- | == Capture Frame == | + | <tabbox kernel 5.10.66> |
Capture frame from '' | Capture frame from '' | ||
Line 141: | 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 152: | Line 203: | ||
``` | ``` | ||
- | ==== Android ==== | + | ===== Android |
WIP: | WIP: | ||