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 [2025/09/05 04:55] (current) gray split camera performance table |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | |||
| + | |||
| + | ====== Edge2 MIPI Camera Usage ====== | ||
| - | ====== MIPI Camera Usage ====== | ||
| ===== Linux ===== | ===== Linux ===== | ||
| + | |||
| + | |||
| + | <WRAP important > | ||
| + | |||
| + | Edge2 CAM3 support **4K@60fps** record. If your **hardware version is V13 or later**, the **CAM2** also can support **4K@60fps** record. | ||
| + | |||
| + | **Check Hardware Version** | ||
| + | ```shell | ||
| + | $ cat / | ||
| + | ``` | ||
| + | V13 or later version will show like '' | ||
| + | |||
| + | Due to the different hardware versions, **CAM2 is set to 4K@30fps by default**. This is for compatibility with V11 or V12 hardware versions to | ||
| + | ensure proper operation. If your device supports 4K@60fps, you can enable this mode by adding an overlay node '' | ||
| + | |||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | <tabbox Fenix 1.7.4 or older version> | ||
| + | |||
| + | About IMX585 and IMX678, the two cameras were disabled by default. So V11 or V12 hardware version should replace '' | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | |||
| + | V13 or later hardware version should be set '' | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | <tabbox Fenix 1.7.5 or later version> | ||
| + | |||
| + | We enbale imx585 and imx678 by default, so just add overlay node '' | ||
| + | |||
| + | </ | ||
| + | |||
| + | You need to reboot the device to take effect. | ||
| + | |||
| + | </ | ||
| ==== Upgrade System ==== | ==== Upgrade System ==== | ||
| Line 9: | Line 50: | ||
| ==== 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 ^ | ||
| - | ^ CAM1 | /dev/video33 | + | ^ CAM1 | /dev/video42 |
| - | ^ CAM2 | /dev/video24 | + | ^ CAM2 | /dev/video33 |
| - | ^ CAM3 | /dev/video42 | + | ^ CAM3 | /dev/video51 |
| ==== Record Video with Gstreamer ==== | ==== Record Video with Gstreamer ==== | ||
| + | |||
| Record video from '' | Record video from '' | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
| ``` | ``` | ||
| Line 28: | Line 71: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
| ``` | ``` | ||
| + | For 4K@60fps, framerate should be set 60/1 | ||
| Record video from '' | Record video from '' | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
| ``` | ``` | ||
| + | /* | ||
| ==== Record Video with OpenCV ==== | ==== Record Video with OpenCV ==== | ||
| Line 115: | Line 160: | ||
| ./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 128: | Line 173: | ||
| ```shell | ```shell | ||
| - | v4l2-ctl -d /dev/video33 | + | v4l2-ctl -d /dev/video42 |
| ``` | ``` | ||
| Line 134: | Line 179: | ||
| ```shell | ```shell | ||
| - | v4l2-ctl -d /dev/video24 | + | v4l2-ctl -d /dev/video33 |
| ``` | ``` | ||
| Line 140: | Line 185: | ||
| ```shell | ```shell | ||
| - | v4l2-ctl -d /dev/video42 | + | v4l2-ctl -d /dev/video51 |
| ``` | ``` | ||
| Line 152: | Line 197: | ||
| ``` | ``` | ||
| + | |||
| + | ==== Camera Interfaces Performance ==== | ||
| + | |||
| + | <tabbox IMX415> | ||
| + | * connect one camera separately: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect two cameras to CAM3 and CAM2 simultaneously | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect three camera simultaneously: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | <tabbox OS08A10> | ||
| + | * connect one camera separately: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect two cameras to CAM3 and CAM2 simultaneously | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect three camera simultaneously: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | <tabbox IMX585> | ||
| + | * connect one camera separately: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect two cameras to CAM3 and CAM2 simultaneously | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect three camera simultaneously: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | <tabbox IMX678> | ||
| + | * connect one camera separately: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect two cameras to CAM3 and CAM2 simultaneously | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | * connect three camera simultaneously: | ||
| + | |||
| + | | ^ CAM2 2lane ^ CAM2 4lane (only V13 or later version support) | ||
| + | ^ CAM1 | | ||
| + | ^ CAM2 | | ||
| + | ^ CAM3 | | ||
| + | |||
| + | </ | ||
| ===== Android ===== | ===== Android ===== | ||