https://github.com/christiansiegel/video-qr-code-scanner
Scan QR Codes from video stream.
https://github.com/christiansiegel/video-qr-code-scanner
Last synced: about 2 months ago
JSON representation
Scan QR Codes from video stream.
- Host: GitHub
- URL: https://github.com/christiansiegel/video-qr-code-scanner
- Owner: christiansiegel
- Created: 2016-03-15T20:02:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T18:54:23.000Z (about 4 years ago)
- Last Synced: 2025-03-28T14:11:48.937Z (2 months ago)
- Language: C++
- Size: 110 KB
- Stars: 15
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/christiansiegel/video-qr-code-scanner/actions/workflows/ci.yml)
# Video QR Code Scanner
Scan QR Codes from video stream.
## Dependencies
* [OpenCV](http://opencv.org/) (tested with 3.2.0 and 4.5.0)
* [ZBar bar code reader](http://zbar.sourceforge.net/) (tested with 0.10)## Build
```bash
# Clone repository
git clone https://github.com/christiansiegel/video-qr-code-scanner.git
cd video-qr-code-scanner# Create build directory
mkdir build && cd build# Configure
cmake ..# Build
make# Run
./video-qr-code-scanner
```## Example Output
All codes detected in a video frame are printed, e.g.:
```
5 codes (18 ms):
>> "Ver1"
>> "http://en.m.wikipedia.org/"
>> "http://www.shopify.com/"
>> "Hello :)"
>> "http://www.qrstuff.com/"
```## FAQ
### Install ZBar
```bash
wget -O zbar-0.10.tar.bz2 https://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10.tar.bz2/download
tar xf zbar-0.10.tar.bz2
cd zbar-0.10
CFLAGS="" ./configure --prefix=/usr/local --without-gtk --without-python --without-qt --disable-video
make
sudo make install
```