Ekayaa
Ekayaa

Reputation: 179

QR scanning using raspberryPi camera nodeJS

I am creating a nodeJS application that can be used to scan QR code on the raspberry Pi3 board. I am able to successfully use a USB camera and scan the QR code using the Instascan node module. However, when I try to use the Raspberry pi Camera, the Insta scan is not able to find it and not able to show the camera. I have found many such options using python and OpenCV, however not with node js or electron. Can someone help with this?

Upvotes: 1

Views: 893

Answers (1)

Ekayaa
Ekayaa

Reputation: 179

Finally this is resolved. Actually by default rpi camera is not shown in /dev/video list so I had to enable V4L2 driver by

modprobe bcm2835-v4l2

This made CSI camera list in /dev/video list and application started detecting RPI camera.

Thanks everyone

Upvotes: 1

Related Questions