Eric-Canas / QReader

Robust and Straight-Forward solution for reading difficult and tricky QR codes within images in Python. Powered by YOLOv8
MIT License
196 stars 24 forks source link

Question about QReader #39

Closed MinHeeCha closed 1 month ago

MinHeeCha commented 2 months ago

Hi! I was very impressed with the QRDet and QReader that you developed. They were extremely helpful, and I sincerely thank you for that. I have a few questions that I hope you could clarify:

  1. What dataset did you use when training QRDet? Did you train it with images of QR codes captured in various lighting conditions and from different angles?
  2. In QReader, do you use the module that detects QR codes the same as QRDet, or was it modified?
  3. After detection, did you apply any post-processing, such as low-light enhancement or super resolution, before decoding the QR code using pyzbar?

Thank you in advance for your response.

Eric-Canas commented 2 months ago

Hi!!

  1. I trained it over a set of images I collected and merged from Roboflow and then I re-tagged them by myself. They were in different angles and light conditions.

  2. Yes, that's the same as QRDet

  3. Yes, I crop the QR and then I try sequentially various image modifications. Such as binarization, and perspective correction until one of them hopefully works.