QR Barcode Support
Added
- Added support to detect and decode QR-codes as well as different forms of barcodes to all OCR wrappers. Internally, the zbar library is used. The QR/bar-codes will be added as bounding boxes, and the contained information is returned as the OCR text. The text is formatted in the form
TYPE[[DATA]]
(e.g.QRCODE[[Encoded Information]]
). Valid types can be found in thepyzbar.pyzbar.ZBarSymbol
enum. For this to work, the argumentadd_qr_barcodes=True
has to be supplied when creating the wrapper (default isFalse
) and thepyzbar
Python library, as well as the zbar system library have to be installed (install ocr_wrapper with the optional dependecyqr_barcodes
.
Changed
- Changed default max_resolution from 4096 to 2048 in
GoogleAzureOCR
. The high resolution leads to very long OCR times and should not have been this big in the first place
What's Changed
Full Changelog: v0.0.25...v0.0.26