ai_analyse bug
This commit is contained in:
parent
ae2397595f
commit
44778466cc
|
@ -95,7 +95,7 @@ def draw(path, results):
|
|||
rects = []
|
||||
for i in results:
|
||||
rects.extend(results[i])
|
||||
if not rects:
|
||||
if rects:
|
||||
img = cv2.imread(path)
|
||||
font = cv2.FONT_HERSHEY_COMPLEX_SMALL
|
||||
for i in results:
|
||||
|
|
Loading…
Reference in New Issue