|
Test camera functionality.
In the Raspberry Pi enter:
”sudo killall python3“ (close the auto-run program, this program will occupy the camera)
”raspistill -t 1000 -o image.jpg“ (Raspberry Pi comes with camera function)
If the camera is installed correctly, the program will not error, and after running the command "ls", an image file of image.jpg will appear
If an error occurs, it means that the camera is not installed correctly or the camera is faulty. Please check that the camera is installed correctly until this command can run successfully.
The camera is installed correctly:
The metal surface of the camera cable is in contact with the metal surface of the camera.
The metal surface of the camera cable is in contact with the metal surface of the camera interface of the Raspberry Pi. |
|