All Projects → unicod3 → realtime-barcode-detector

unicod3 / realtime-barcode-detector

Licence: GPL-3.0 license
A Gocv and Zbar example for detecting and reading barcodes on webcam

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to realtime-barcode-detector

gocv-playground
This repo contains various https://gocv.io/ examples
Stars: ✭ 29 (+31.82%)
Mutual labels:  gocv
android-zbar-sdk
🔗 android-zbar-sdk, provide jni source, so file and jar file used alone, gradle/maven remote dependencies.
Stars: ✭ 311 (+1313.64%)
Mutual labels:  zbar
Zxinglite
🔥 ZXing的精简版,优化扫码和生成二维码/条形码,内置闪光灯等功能。扫描风格支持:微信的线条样式,支付宝的网格样式。几句代码轻松拥有扫码功能 ,ZXingLite让集成更简单。(扫码识别速度快如微信)
Stars: ✭ 2,117 (+9522.73%)
Mutual labels:  zbar
Lbxscan
A barcode and qr code scanner (二维码、扫码、扫一扫、ZXing、ZBar、iOS系统AVFoundation扫码封装,扫码界面效果封装)
Stars: ✭ 3,133 (+14140.91%)
Mutual labels:  zbar
garden.zbarcam
Migrated to https://github.com/kivy-garden/zbarcam
Stars: ✭ 49 (+122.73%)
Mutual labels:  zbar
koder
QR/bar code scanner for the Browser
Stars: ✭ 73 (+231.82%)
Mutual labels:  zbar
Gocv
Go package for computer vision using OpenCV 4 and beyond.
Stars: ✭ 4,511 (+20404.55%)
Mutual labels:  gocv
colidr
Coherent Line Drawing implementation in Go.
Stars: ✭ 52 (+136.36%)
Mutual labels:  gocv

Real-Time Barcode Detector

A Gocv and Zbar example for detecting and reading barcodes on webcam.

Running the code

First you need to install GoCV library, which depends on opencv

GoCv installation instructions is well documented in their website:

Linux

MacOs

Windows

After you installed the GoCv, you need to install zbar and get the Go wrapper for zbar as shown below:

Installing zbar can be tricky you migth want to check out below:

Linux

MacOs

Windows

go get github.com/bieber/barcode

Then you can clone this repo and run it

git clone https://github.com/unicod3/realtime-barcode-detector.git rbd
cd rbd
go run main.go

# or to specify the device id:
go run main.go --device-id 1234

Then you can show your code128 barcodes to your cam.

Logo

Note:

It will open your default webcam since the device id set to zero.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].