Skip to content

feasibility of commands.txt generation from OpenCV API? #10

@drzraf

Description

@drzraf

I wished someone already did this ten years ago (or would explain why its dumb in the first place).
For me it seems quite consistent and predictable (although mapping enum/constant/indirection may be painful) and could bring hundreds of handy OpenCV operations into the UI world in a matter of minutes.

Eg: https://docs.opencv.org/4.x/d6/d6e/group__imgproc__draw.html#ga0a165a3ca093fd488ac709fdf10c05b2

type name,
InputOutputArray img,
Point pt1
Point pt2
const Scalar & color
 int thickness = 1
int line_type = 8
int shift = 0
double tipLength = 0.1

Doxygen can generate XML
... which could later be merged with (unavoidable manual customisations), in order to (re)generate commands.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions