Code Monkey home page Code Monkey logo

barcode-detection-and-decoding's Introduction

barcode-detection-and-decoding's People

Contributors

pyxploiter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

barcode-detection-and-decoding's Issues

Using camera or webcam

Hello, i want to ask, can this code be modify to using camera or webcam for detect and decode the barcode and show the result of barcode code ?

Use pyzbar insted of zbar directly (which is python 2)

One File in the repository is in python 2 and the other in python 3
How do you suppose to run in in Linux environment ?

the file detect_barcode_opencv.py is in python 3
and the file barcode_detect_and_decode.py is in python 2, due to the zbar dependency.
How do you use this library in production environment ?

TypeError: Expected cv::UMat for argument 'contour'

Getting an error barcode_opencv.py --image bilet.jpg
Traceback (most recent call last):
File "detect_barcode_opencv.py", line 62, in
c = sorted(cnts, key = cv2.contourArea, reverse = True)[0]
TypeError: Expected cv::UMat for argument 'contour'

I had to remove two returns from cnts = cv2.findContours as I believe it has changed to return just 1 item. I believe the error has to do with cnts being a tuple and not a list. I've seen others use imutils to turn into a list, but it has not worked on my images.

where to run this code on which compiler?

facing this issue

[Running] python -u "e:\Chrome Downloads\opencv-load-image\load_image_opencv.py"
usage: load_image_opencv.py [-h] -i IMAGE
load_image_opencv.py: error: the following arguments are required: -i/--image

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.