openmv有异常处理的代码吗,有的话异常类和python的通用吗
while(True):
clock.tick()
try:
img = sensor.snapshot()
except RuntimeError :
sensor.set_windowing(0,0,640,480)
print("出现异常")
一直出语法错误
openmv有异常处理的代码吗,有的话异常类和python的通用吗
while(True):
clock.tick()
try:
img = sensor.snapshot()
except RuntimeError :
sensor.set_windowing(0,0,640,480)
print("出现异常")
一直出语法错误