Raspberry Pi calls csi camera through opencv

Turn on the camera in settings

sudo raspi-config

insert image description here
insert image description here
After selecting yes, finish will restart automatically.
It is recommended to power off and restart once

Detection camera

Use the following command to test whether there is a problem with the camera installation:

vcgencmd get_camera
#supported=1 detected=1
#supported=0是系统问题
#detected

Guess you like

Origin blog.csdn.net/qq_26696715/article/details/129930572