-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Expose missing imgproc operations to G-API python #22736
Copy link
Copy link
Open
Description
Descripe the feature and motivation
All imgproc G-API operations can be found there: https://github.com/opencv/opencv/blob/4.x/modules/gapi/include/opencv2/gapi/imgproc.hpp
Most of them already have prefix GAPI_EXPORTS_W that means they're exposed to python, but a few of them still not.
The main obstacle is signature of that functions is complex from python parser/generator perspective.
Need to invent how composite types such as GArray<GArray<Point>> can be handled by parser/gen automatically without hand-written implementation
Missing operations:
GArray<GArray<Point>> findContours(...)- 2 overloadsstd::tuple<GArray<GArray<Point>>,GArray<Vec4i>> findContoursH(...)- 2 overloadsGOpaque<Vec4f> fitLine2D(...)- 4 overloadsGOpaque<Vec6f> fitLine3D(...)- 4 overloadsGMatP NV12toRGBp(...)GMatP NV12toBGRp(...)GMatP resizeP(...)
Additional context
No response
Reactions are currently unavailable