MIPI Camera
The MIPI camera model we are using this time is IMX415, reference link: IMX415 Camera Module.
This is only for reference, no cooperation with the merchant.
Downloading the Corresponding Image
Download our provided .img image file from the Network Disk🚀 in the System Image/Android14/ directory.
The image used in this document is: TaishanPi-3M-RK3576_Debian12-Xfce_AP6256-mSATA.img
Basically all images have all three camera interfaces enabled by default, so you don't need to specifically download a certain image.
Flashing the Image to the Development Board
Refer to Finished Image Flashing to flash the downloaded image file to the development board.
Connecting the Camera
Simply connect the camera module to the board's MIPI camera interface via ribbon cable. No matter which of the three camera interfaces you connect to, the system can recognize it.
Use the following command to invoke the camera tool to display the camera image on the screen:
gst-launch-1.0 v4l2src device=/dev/video-camera0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! autovideosinkNote: If the command reports an error and remains invalid after multiple attempts, please power off and re-plug the camera module before trying again.