Monday 6 June 2016

Mencari Sebuah QR Code dalam Dokumen, Crop Area QRCode, Kemudian Baca QRCode tersebut

Ketika kita membaca QRCode dalam sebuah file image (entah jpg, jfif, png atau lainnya), dengan zbar, zxing atau implementasi QRCode reader lainnya terkadang QRCode tidak dapat terbaca, tetapi jika kita crop manual area QRCode nya, QRCode terdebut dapat terbaca.

Sekarang, bagaimana cara automatiasi hal ini dengan script ?


Referensi

  1. Detecting Barcodes in Images with Python and OpenCV, http://www.pyimagesearch.com/2014/11/24/detecting-barcodes-images-python-opencv/
  2. python wrapper for the ZXing barcode library, https://github.com/oostendo/python-zxing
  3. Using minAreaRect with contour in Python, http://answers.opencv.org/question/67150/using-minarearect-with-contour-in-python/

No comments:

Post a Comment