我在openmv4 h7加了显示器后,串口1显示器占用了吗?
img = sensor.snapshot()
img.draw_rectangle((12,128,240,55), color=(255, 255, 255), thickness=1,fill=False)
img.draw_rectangle((16,122,234,52), color=(255, 255, 255), thickness=1,fill=False)
for threshold in thresholds:
while True:
j=0
for i,template in zip(data_templates,templates):
r=img.find_template(template,threshold,step=4,search=SEARCH_EX)
if r :
img.draw_string(r[0], r[1], str(i), color=(255,255,255), scale=2)
img.draw_rectangle(r, color=(0, 0, 0), fill=False)
lcd.display(img)
运行程序显示器没显示?