(self, image_path)
| 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 = "" |
no test coverage detected