Jetson Nano CSI_Camera is doesn't open

Hello
In my jetson nano , I want use csi_camera but when I try it, it says unable to open camera

This is a file permissions issue. Try either running as sudo or copy haarcascades somewhere and fix face_cascade = cv2.CascadeClassifier(
“/home/you/haarcascades/haarcascade_frontalface_default.xml”
)

Hi, I just solved this issue on my device Jetson Nano, not sure if it is the same case. The Jetpack installed from SDK manager contains the opencv4 package, however, when I installed it the wifi was unstable so I somehow skipped the SDK components step and the manager still shows “installed successful” and I ignored that the fact some of the CUDA or SDK was missing. Make sure you have the package opencv4 under /usr/share. If you have the opencv4 somewhere else it will still show up “unable to open camera”. Hope this helps.