Value Error due to ambiguity for an IF statement in OpenCV-Python

后端 未结 0 800
北海茫月
北海茫月 2020-12-04 18:05

The code below finds a contour based on its maximum area but when there is no contour to be found I solve the ValueError by inputting default = None

相关标签:
回答
  • 消灭零回复
提交回复
热议问题