Giter Club home page Giter Club logo

webcam_qr_detector's Introduction

Bar and QR code detector

Life is short, use Python

This project is forked from zbar library, I added few modifications, so webcam can be used as an image reader to detect QR and Bar codes.

  • Pure python
  • Works with PIL / Pillow images, OpenCV / numpy ndarrays, and raw bytes
  • Decodes locations of barcodes
  • No dependencies, other than the zbar library itself
  • Tested on Python 2.7, and Python 3.4 to 3.6

Here is a quick look of the final output:

webcam QR detection

Installation

Mac OS X: Install Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install zbar lib:

brew install zbar

Linux:

sudo apt-get install libzbar0

Install this Python wrapper; use the second form to install dependencies of the command-line scripts:

pip install pyzbar
pip install pyzbar[scripts]

Jupyter Notebook:

Go to see the Jupyter Notebook for more details.

  1. QR_Bar_Code_Detector_Basic
  2. QR_Bar_Code_Detector_Webcam

License

pyzbar is distributed under the MIT license (see LICENCE.txt). The zbar shared library is distributed under the GNU Lesser General Public License, version 2.1 (see zbar-LICENCE.txt).

webcam_qr_detector's People

Contributors

quicklizard99 avatar cuicaihao avatar globophobe avatar

Stargazers

 avatar Jeff Carpenter avatar Feng,Chih Sheng avatar Álvaro Jaramillo-Duque avatar Michael McKelvaney avatar  avatar Tim Schoonbeek avatar  avatar ChihSheng,Feng avatar pakoy3k avatar Pengyu avatar  avatar Somkid Sukchot avatar  avatar Marcus avatar Robert Lowry avatar Hari Haran S avatar P-O avatar timeahead avatar  avatar Remco Boerma avatar  avatar Nikolai Kolesnikov avatar WilliamC avatar  avatar ROMBAR avatar  avatar  avatar chapman avatar perestoronin avatar Mauricio Uribe avatar 没咸鱼的梦想 avatar dennougorilla avatar 麦草 avatar GW avatar  avatar Nguyễn Vân Phong avatar Ruben avatar Anton Lebedev avatar Viktor Walter-Tscharf avatar Ayush Nigam avatar  avatar Ichika avatar B M Abir avatar Tho Quang Do avatar  avatar

Watchers

Myown2 avatar James Cloos avatar  avatar Ichika avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.