Value Error when trying to fix empty list in max()

前端 未结 0 1088
小蘑菇
小蘑菇 2020-12-04 04:58

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

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