cv2.arcLength
时间: 2023-10-19 17:56:47 浏览: 172
cv2.arcLength是一个OpenCV函数,用于计算给定轮廓的弧长或周长。它的语法是perimeter = cv2.arcLength(cnt, isClosed),其中cnt是轮廓的点集,isClosed是一个布尔值,用于指定轮廓是否闭合。函数返回轮廓的弧长或周长。\[1\]
#### 引用[.reference_title]
- *1* [cv2.contourArea、cv2.arcLength、cv2.approxPolyDP、cv2.convexHull、cv2.boundingRect、cv2.minAreaRect](https://blog.csdn.net/u012193416/article/details/124529926)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [OpenCV关于图片语法(轮廓角点)小结④](https://blog.csdn.net/m0_51503599/article/details/120522003)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文