Skip to content

cuaf/qrcode-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera

Prototype code for live QR code recognition.

Eventually we'll use the position of the QR code as error data for a control system that tries to centre the camera on the QR code.

Install

On OS X, you should use Homebrew. Do the following:

$ brew tap homebrew/science
$ brew install opencv
$ brew install zbar

On Ubuntu, something similar such as $ sudo apt-get install opencv zbar will probably work.

Run $ python -c "import cv2" && echo "It works!" to make sure it worked.

Install Python libraries:

$ pip install pillow
$ pip install git+https://github.com/npinchot/zbar

Camera

Here are the things we'd like the camera to do:

Raw Capture

capture raw video, discard all but latest frame.

Have to use use_video_port=True so the field of view doesn't change while grabbing frames.

Still capture

periodically capture still images to jpeg

For aerial photography.

Live stream

capture h.264 video, resized to be smaller (eg. using resize=(1024, 768))

For streaming live video over wifi.

About

Prototype live QR code recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages