{TypeError}argument for rectangle() given by name ('thickness') and position
img = cv.rectangle( img, pt1, pt2, color[, thickness[, lineType[, shift]]] )
img = cv.rectangle( img, rec, color[, thickness[, lineType[, shift]]] )
问题
{TypeError}an integer is required (got type tuple)
{TypeError}argument for rectangle() given by name (‘color’) and position (3)
{TypeError}argument for rectangle() given by name (‘thickness’) and position (4)
{TypeError}an integer is required (got type tuple)
————————————————
原文链接:https://blog.csdn.net/csdn_zhishui/article/details/105878092
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://blog.csdn.net/jacke121/article/details/121326302
内容来源于网络,如有侵权,请联系作者删除!