Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glop102/barcode-testing
Some testing scripts for exploring barcodes
https://github.com/glop102/barcode-testing
barcode-scanner python3 zxingcpp
Last synced: about 2 months ago
JSON representation
Some testing scripts for exploring barcodes
- Host: GitHub
- URL: https://github.com/glop102/barcode-testing
- Owner: glop102
- Created: 2024-12-01T16:27:21.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-01T16:39:30.000Z (about 2 months ago)
- Last Synced: 2024-12-01T17:37:01.319Z (about 2 months ago)
- Topics: barcode-scanner, python3, zxingcpp
- Language: Python
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Testing scripts and playing with some barcode scanning/generation.
### noisetesting.py
generates a small test barcode, then rotates and adds noise to the image before attempting to scan it again. It seems like qrcodes are more robust for getting parsed with the noise than datamatrix.### simple_test_code.py
just makes an image with a barcode in it, saved to sample.png### testing_max_size.py
randomly generates barcodes while doing a size bisection to search for the largest datasize that can be used. Some results are saved in this repo in the example_images folder.### webcam.py
opens the device /dev/video0 and scans for barcodes. The first one it finds in a frame, it will cut out and display on its own on the side. Useful for playing with different conditions to get an intuition of the limits of a barcode.## Requirements:
* pillow
* av (for the webcam)
* numpy (for the noise test)
* pyside6 (for the GUI)
* treepoem (for generating parcodes)
* zxingcpp (for parsing barcodes)