ai_analyse bug

This commit is contained in:
caoqianming 2022-10-27 13:23:28 +08:00
parent ae2397595f
commit 44778466cc
1 changed files with 1 additions and 1 deletions

View File

@ -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: