NaturalHistoryMuseum / pyzbar

Read one-dimensional barcodes and QR codes from Python 2 and 3.
MIT License
718 stars 175 forks source link

Performance on large images - how to (radically) improve? #137

Open pgaston opened 2 years ago

pgaston commented 2 years ago

This works great! Thanks! However... I'm moving to high-resolution images (in order to take one image and cover a wider field of view, i.e., capture barcodes from a large face.) I'm moving to a 64MP sensor. However, the time to decode a 16MP image is roughly 1.8 seconds (on my target hardware of a Raspberry Pi 4B w/ 8GB of memory.) Assuming linear performance (which may be wrong) it will take over 6 seconds to process a 64MP image. This is too long.

Ideas?

Thanks! p