NaturalHistoryMuseum / pyzbar

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

Add support for imageio subclassed numpy array. #69

Closed isman7 closed 2 years ago

isman7 commented 4 years ago

Added support for imageio arrays, which are a subclass of numpy arrays. As they are a subclass the current type checker wasn't handling them properly. Changes:

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-1.1%) to 96.963% when pulling b35362b60b00aa3a653656c7d1bf005e8734200d on isman7:feature/imageio-arrays into 833b375c0e84077943b7100cc9dc22a7bd48754b on NaturalHistoryMuseum:master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.7%) to 97.43% when pulling 8c9deb558f9ed1a8cd30da2bc5c4d443e192b5cd on isman7:feature/imageio-arrays into 833b375c0e84077943b7100cc9dc22a7bd48754b on NaturalHistoryMuseum:master.

quicklizard99 commented 2 years ago

Thanks very much for this @isman7 I would like to make a couple of minor changes to will raise a fresh PR that includes your commits.

isman7 commented 2 years ago

Wow, perfect. Long time no see this PR! Sounds good to me.