I got the answer from this site: https://www.raspberrypi.org/forums/viewtopic.php?t=46113
And the answer is:vcgencmd get_camera
When the camera is connected, the output is like this:supported=1 detected=1
Credit for this answer goes to user znanev. Hats off to you sir.
Leave a Reply