Skip to content

Commit 1f3390c

Browse files
committed
Update
1 parent c23f896 commit 1f3390c

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

examples/official/9.x/zxing_zbar/app.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,14 @@ def dataset(directory=None, dbr_reader=None):
103103
r3 = result.text
104104
if r3 == expected_result:
105105
zxing_count += 1
106+
break
106107
else:
107108
print('ZXing failed to decode {}'.format(filename))
108109

109110
# Add results to .xlsx file
110111
data.update_row(wb, index, filename, expected_result, r1, r2, r3)
111112
index += 1
112113

113-
# Test
114-
# if index == 9:
115-
# break
116-
117114
r1 = 0
118115
r2 = 0
119116
r3 = 0
-5.07 KB
Binary file not shown.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"Topic :: Scientific/Engineering",
3939
"Topic :: Software Development",
4040
],
41-
install_requires=['opencv-python'],
41+
install_requires=['opencv-python', 'setuptools'],
4242
entry_points={
4343
'console_scripts': ['scanbarcode=barcodeQrSDK.scripts:scanbarcode']
4444
},

setup_setuptools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def run(self):
131131
"Topic :: Scientific/Engineering",
132132
"Topic :: Software Development",
133133
],
134-
install_requires=['opencv-python'],
134+
install_requires=['opencv-python', 'setuptools'],
135135
entry_points={
136136
'console_scripts': ['scanbarcode=barcodeQrSDK.scripts:scanbarcode']
137137
},

0 commit comments

Comments
 (0)