Skip to content

Commit 80c7a03

Browse files
committed
蓝色通道
1 parent cd54d73 commit 80c7a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch06-绘图函数/6.draw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
'''
66
• img: 你想 绘制图形的 幅图像。
7-
• color: 形状的颜色。以RGB为例 需要传入一个元组 例如 255,0,0
8-
代表蓝色。对于灰度图只需要传入灰度值。
7+
• color: 形状的颜色。以RGB为例 需要传入一个元组BGR 例如 255,0,0
8+
代表蓝色,第一个是蓝色通道,第二个是绿色通道,第三个是红色通道。对于灰度图只需要传入灰度值。
99
• thickness 线条的粗细。如果给一个闭合图形 置为 -1 那么这个图形
1010
就会被填充。 默认值是 1.
1111
• linetype 线条的类型, 8 连接,抗锯齿等。 默认情况是8 连接。cv2.LINE_AA

0 commit comments

Comments
 (0)