Yet another QR Code reader - Raspberry Pi Forums


i'm trying use library zbar scan qr codes using raspberry pi's camera module. i've connected , tested camera, don't know how access library because isn't on /dev/video0 or location can find. went http://www.linux-projects.org/modules/s ... e&artid=16 , followed these instructions:

code: select all

raspberrypi ~ $ uv4l --driver raspicam --auto-video_nr --encoding h264 --width 1920 --height 1080 
after can use camera , can find on /dev/video0 through " ls /dev/video* " . however, when run zbar through python, doesn't work and, afterwards, " ls /dev/video* " returns no results!
code use similar 1 in here:http://nullege.com/codes/show/src@z@b@z ... .processor

not sure path should taking make zbar work or, worse, read qr codes @ all. so, glad other ideas, specially if they're simpler 1 i'm trying now.
thank you

there have ended being 2 v4l2 drivers on pi - closed source uv4l2 have found, , more normal kernel driver provided foundation can loaded

code: select all

sudo modprobe bcm2835-v4l2
(it isn't loaded default steals load of memory on loading isn't helpful many other applications).

if have code should sort of work, push github or similar , 1 of people involved in developing driver may able (no promises though). based on code link to, i'd guess can't cope h264 data , wants yuv or rgb format , can't see setting up.


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62