Barcode detection and decoding using openCV and Zbar.
pyxploiter / barcode-detection-and-decoding Goto Github PK
View Code? Open in Web Editor NEWBarcode detection and decoding using openCV and Zbar.
License: Apache License 2.0
Barcode detection and decoding using openCV and Zbar.
License: Apache License 2.0
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 ?
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
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.
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.