cv2.rectangle 颜色设定
时间: 2023-10-18 18:04:37 浏览: 102
cv2.rectangle的颜色设定是通过一个包含三个整数值的元组来表示,分别代表蓝色(Blue)、绿色(Green)和红色(Red)的颜色通道值。通常情况下,这些值的范围是0到255,其中0表示该颜色通道的最小亮度(暗色),255表示该颜色通道的最大亮度(亮色)。因此,(255, 0, 255)代表的颜色是紫色。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [利用cv2.rectangle()绘制矩形框(python)](https://blog.csdn.net/helloworld_Fly/article/details/125136735)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [利用cv2.rectangle()绘制半透明方框(python)](https://blog.csdn.net/qq_44001342/article/details/120738484)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文