Open CV Draw
line
- line (inputoutput, point, point, scalar(color), thickness, linetype, int shift bit > 0)
- arrowedLine(same, double tip length = 0.1 size of tip)
- drawMarker(img, pt, color, markertype, size, thick, linetype)
line Figure
- rectengular(line arguments) or (two point to rect)
- if thinkness is minus → fill rect
- circle(img, center, radius, color, thickness, linetype, shift)
- elipse(img, center, axes, angle, startAngle, endAngle, color, thickness, lineType, shift)
- polylines(img, pts(vector<points >usually), bool closed, color, thickness, linetype, shift)
Text
- putText(img, text, org(left bottom), fibtface from hersheyFonts, fontscale, color, thickness, linetype, bottomeleftorgin if false → leftTop)
- getTextSize(text, fontFace, fontScale, thickness, baseline) - do not include all size - little small