标签:python nbsp rar action raw mamicode image number pos
cv2.rectangle(img, pt1, pt2, color[, thickness[, lineType[, shift]]]) → None
img – Image.
pt1 – Vertex of the rectangle.
pt2 – Vertex of the rectangle opposite to pt1 .
color – Rectangle color or brightness (grayscale image).
thickness – Thickness of lines that make up the rectangle. Negative values, like CV_FILLED , mean that the function has to draw a filled rectangle.
lineType – Type of the line. See the line() description.
8 (or omitted) - 8-connected line.
4 - 4-connected line.
CV_AA - antialiased line.
shift – Number of fractional bits in the point coordinates.
pt1:(x1,y1)
pt2:(x2,y2)
标签:python nbsp rar action raw mamicode image number pos
原文地址:https://www.cnblogs.com/hai5111/p/11625318.html