MCPcopy Create free account
hub / github.com/devilsen/CZXing / decode_qr_code

Method decode_qr_code

python/Labeler.py:124–131  ·  view source on GitHub ↗
(self, image_path)

Source from the content-addressed store, hash-verified

122
123 # zbar https://github.com/primetang/qrtools
124 def decode_qr_code(self, image_path):
125 try:
126 qr_code_data = self.qr_scanner.extract(image_path)
127 print(qr_code_data)
128 return qr_code_data
129 except:
130 print("Can't open the file")
131 return None
132
133 def get_result_data(self, label_data_list):
134 label_string = ""

Callers 1

start_labelMethod · 0.95

Calls 2

extractMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected