|
Img2Num Python Bindings (Internal Developer Docs) dev
API Documentation
|
The Img2Num Python Bindings provide a Python interface to the core Img2Num image processing library via pybind11 (also see their docs). These bindings wrap the underlying C++ functionality, exposing image processing operations such as filtering, clustering, thresholding, and SVG conversion to Python code.
All functions operate on numpy.ndarray buffers and return new image data, making them easy to integrate into Python-based image processing pipelines.
The Python bindings expose the following core capabilities:
The Python bindings are built using CMake from the project root:
Install the bindings to your system:
The compiled img2num module will be available for import in Python:
packages/py/img2num/api.py.example-apps/console-py.Browse the detailed function and class documentation: