img.draw_cross(blob.cx(), blob.cy())
时间: 2024-04-25 21:21:51 浏览: 176
blob.zip_blob_blob detection
5星 · 资源好评率100%
在代码中的这一行img.draw_cross(blob.cx(), blob.cy())是用来在图像上绘制一个十字标记,标记的位置是色块的中心点。\[1\]这个函数的参数blob.cx()和blob.cy()分别表示色块的中心点的x坐标和y坐标。通过在图像上绘制这个十字标记,可以更直观地显示出色块的位置。
#### 引用[.reference_title]
- *1* *2* [openmv传承(一):自动灰度颜色跟踪示例](https://blog.csdn.net/qq_52528413/article/details/124849833)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [open mv单颜色识别例程](https://blog.csdn.net/weixin_53414888/article/details/112757694)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文