MIPI Camera
The MIPI camera model we are using this time is IMX415, reference link: IMX415 Camera Module.
This is only for reference, and we have no business relationship with the merchant.
Download Corresponding Image
Use Network Disk🚀 to download our provided .img image file from the System Image/Buildroot/ directory.
The image used in this document is: TaishanPi-3M-RK3576_Buildroot_AP6256-mSATA.img
Basically all images have all three camera interfaces enabled by default, so there is no need to download a specific image.
Flash Image to Development Board
Reference Finished Image Flashing to flash the downloaded image file to the development board.
Connect Camera
Simply connect the camera module to the board's MIPI camera interface via a 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 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 ineffective after multiple attempts, please power off and re-plug the camera module before trying again.