Welcome to RDK X3 Board repository
2.13 MIPI camera uasge
MIPI camera uasge
The mipi_camera.py program is installed on the development board to test the data path of the MIPI camera.
This example will collect image data from the MIPI camera in real time, then run the target detection algorithm, and finally fuse the image data and the detection results and output them through the HDMI interface.
1.Preparation
Connect the power supply
Connect the MIPI camera module to the MIPI CSI interface of the development board, with the blue side facing up

Connect the development board and the monitor via HDMI cable

2. Running method
First enable the camera using the following command
xxxxxxxxxxsunrise@ubuntu:~$ cd /app/cdev_demo/bpu && sudo ./go.shThe following i2c address appears to indicate successful enablement

Run program
xxxxxxxxxxsunrise@ubuntu:~$ cd /app/pydev_demo/03_mipi_camera_sample/sunrise@ubuntu:/app/pydev_demo/03_mipi_camera_sample$ sudo python3 ./mipi_camera.py 3. Result
After the program is executed, the monitor will display the camera image and the results of the target detection algorithm (target type, confidence level) in real time, as shown below.
