Pankaj Jatav
Pankaj Jatav

Reputation: 2184

Connect openCV to raspberry pi camera

I am using a raspberry on board camera. I have installed OpenCV in raspberry pi. I have also installed node-OpenCV. OpenCV is unable to connect to my on board camera because it is always searching for the USB camera.

So is there any way to connect my onboard camera with OpenCV.

Upvotes: 0

Views: 825

Answers (1)

Gerard
Gerard

Reputation: 180

This command
sudo modprobe bcm2835-v4l2
will make /dev/video0 available so you can access it from your node app.
This will have to run every time the pi boots

Upvotes: 1

Related Questions