Module dlib.image.render.shapes

Render simple geometric shapes

Functions

NameDescription
drawCircle(img, col, x0, y0, r) Draw a filled circle
drawLine(img, color, x1, y1, x2, y2) Draw a line segment
drawRect(img, col, x1, y1, x2, y2) Draw a filled rectangle
fillColor(simg, col) Fill image with solid color