Open CV Draw

Open CV Draw

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2019 Nov 19 7:54
Editor
Edited
Edited
2023 Apr 16 12:52
Refs
Refs
Language
Language
  • thinkness extend size

line


  • line (inputoutput, point, point, scalar(color), thickness, linetype, int shift bit > 0)
    • shift move position only
  • 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
 
 

Recommendations