M
M
Mars362021-02-21 15:32:06
OpenCV
Mars36, 2021-02-21 15:32:06

How to get outlines from image using opencv python and write them in STEP format?

With the help of opencv and matplotlib, I get the contours of the image and draw them on the image itself, information on how to do this in Google was filled up. Ideally, I would like to create a STEP file and bring them there for reading later in some kind of CAD. But how can I isolate these contours at least in order to work with them separately (at least to be able to write them to a text or binary file for a start)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2021-02-22
@Iv_and_S

using Step for 2D contours is overkill for me.
maybe you should use dxf, this format is open and many CADs support it.
try to google something like "matplotlib figures to dxf"
and maybe use for example this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question