Skip to content

Commit b30f6fb

Browse files
authored
Merge pull request #1 from dhruvsheth-ai/patch-1
Update classify.py
2 parents beddd9f + d47e742 commit b30f6fb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

examples/image/classify.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ def main(argv):
102102
print('%s: %.2f\t' % (label, score), end='')
103103
print('', flush=True)
104104
#cv2.imshow('edgeimpulse',img)
105-
#cv2.waitKey(1)
105+
#if cv2.waitKey(1) == ord('q'):
106+
# break
107+
108+
106109
elif "bounding_boxes" in res["result"].keys():
107110
print('Found %d bounding boxes (%d ms.)' % (len(res["result"]["bounding_boxes"]), res['timing']['dsp'] + res['timing']['classification']))
108111
for bb in res["result"]["bounding_boxes"]:

0 commit comments

Comments
 (0)