module ‘list’ has no attribute sort contours
今天在用排序算法的时候
questionCnts = contours.sort_contours(questionCnts, method=“left-to-right”)[0]
报错
module ‘list’ has no attribute sort contours
经排查,在前方占用了contours作为参数名,修改即可。
module ‘list’ has no attribute sort contours
今天在用排序算法的时候
questionCnts = contours.sort_contours(questionCnts, method=“left-to-right”)[0]
报错
module ‘list’ has no attribute sort contours
经排查,在前方占用了contours作为参数名,修改即可。