Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bernatmarcilla/barcode-lossless-compressor
Python gray-scale barcode images losslessly compressor and decompressor.
https://github.com/bernatmarcilla/barcode-lossless-compressor
barcode-images barcode-recognizer compress-images compression-algorithm compressor python
Last synced: 3 days ago
JSON representation
Python gray-scale barcode images losslessly compressor and decompressor.
- Host: GitHub
- URL: https://github.com/bernatmarcilla/barcode-lossless-compressor
- Owner: bernatmarcilla
- Created: 2021-05-08T22:03:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T20:05:06.000Z (over 3 years ago)
- Last Synced: 2024-09-11T15:48:01.491Z (2 months ago)
- Topics: barcode-images, barcode-recognizer, compress-images, compression-algorithm, compressor, python
- Language: Python
- Homepage:
- Size: 1010 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# barcode-lossless-compressor
The goal of this project is to design and produce a compressor that losslessly compresses the gray-scale barcode images. It also includes a decoder that is capable of fully reverse the compression process.# Usage
```bash
python3 barcode_encoder.py barcode_image.png compressed_file.bin
python3 barcode_decoder.py compressed_file.bin recovered_barcode_image.png
```# Results
After encode and decode 514 gray-scale barcode images, the final average data rate in bits per sample (BPS) of the
compressed files is 0.783.