← Back

ofxPotrace

github.com/ofxyz/ofxPotrace · @ofxyz
OF 0.12 Graphics Utilities Machine Learning Algorithms 2D

Use Potrace(TM) tracing insoide OF - The addon includes a separate API for color-band masking and polygon contour extraction using OpenCV.

1 0 Last commit 2mo ago Created 5mo ago

README

ofxPotrace



openFrameworks addon for bitmap-to-vector tracing.

preview

License



GPL v2+ — see LICENSE. This addon always links vendored libpotrace (Peter Selinger, GPL). Binaries that use this addon must comply with the GPL.

Components



APIEngineUse
CurveTracelibpotrace (Bézier → polylines)Plot finder Potrace in ofxPlotFinders, example-regionFinder demo
RegionFinderOpenCV HSV/LabColor-band mask + polygon contours (separate API)

Vendoring libpotrace



Sources live in libs/potrace/. To refresh from upstream:

./scripts/sync-vendor-from-submodule.sh

or: python scripts/vendor_potrace.py

Get this addon

HTTPS
SSH