MIPI Camera
The MIPI camera model used this time is IMX415, reference link: IMX415 Camera Module.
Provided for reference only, no affiliation with the merchant.
Downloading Corresponding Image
Use Network Disk🚀 to download the provided .img image file in the System Image/Ubuntu24/ directory.
The image used in this document is: TaishanPi-3M-RK3576_Ubuntu24-Xubuntu_AP6256-mSATA.img
Basically all images have all three camera interfaces enabled by default, so you don't need to specifically download a particular image.
Flashing Image to Development Board
Reference Finished Image Flashing to flash the downloaded image to the development board.
Connecting Camera
Simply connect the camera module to the development board's MIPI camera interface using the ribbon cable. It doesn't matter which of the three camera interfaces you connect to, the system can recognize all of them.
Use the following command to call the camera tool to display the camera feed 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 repeatedly trying still doesn't work, please power off and re-plug the camera module before trying again.