Skip to content
Advertisement

Tag: drawing

How can I draw lines into numpy arrays?

I would like to be able to draw lines into numpy arrays to get off-line features for on-line handwriting recognition. This means I don’t need the image at all, but I need for some positions in a numpy array who an image of a given size would look like. I would like to be able to specify an image size

draw a circle over image opencv

Im usign python and opencv to get a image from the webcam, and I want to know how to draw a circle over my image, just a simple green circle with transparent fill my code: Thanks in advance. Answer Use “thickness” parameter for only the border.

Positioning of classes in UML diagram

I’m creating a tool for displaying Python project as an UML diagram (+ displaying some code error detection using GUI). I scan some project using Pyreverse and I have all data I need for drawing UML diagram. The problem is positioning of the class boxes on the canvas. For a start, I decided to use already implemented force based algorithm

Advertisement