/image_to_cad

Scripts to convert a photo into a cad skeleton

Primary LanguagePythonMIT LicenseMIT

Photo to cad

Goals

Scripts to convert a photo to format a cad could use.

Resources

Find resources here. Put them in the resources dir.

How to run

It is recommended to use a venv

Installation

pip install -r requirements.txt

Running

run (if an image file is not provided the xPhys.ppm file in the resources will be picked)

python convert.py <image_file>

press any key to continue after image loading, press escape to exit after the drawing is done.