Which Khadas SBC do you use?
Which system do you use? Android, Ubuntu, OOWOW or others?\
Which version of system do you use? Khadas official images, self built images, or others?
Please describe your issue below:
I try to open the MIPI camera using opencv on VIM3: $python3 mipi-camera.py, but I always get this error:
[ WARN:0] global …/modules/videoio/src/cap_v4l.cpp (887) open VIDEOIO(V4L2:/dev/video0): can’t open camera by index
I followed the example and we can use v4l2_test and guvcview to open the camera. I see this solution in our community: $sudo apt remove opencv3, $pip3 uninstall opencv-python, $sudo apt update, $sudo apt install libopencv-dev python3-opencv. But it doesn’t work.
Do you have any information about OpenCV support for the mipi camera?
I found this problem too.
@Jirat_Srisabye @JJ1997 It work for me.
- Burn with 220725 Ubuntu Image.
- Update & upgrade your system.
$ sudo apt update && sudo apt upgrade
- Install OpenCV.
sudo apt install libopencv-dev python3-opencv
Are you sure your camera is connected correctly?