Adding New TransformsΒΆ
In order to add new Transforms to the builtin list, the following steps must be completed:
Create a new Transform, subclassed from
BaseTransform.- Set the
doc_filenameclass variable appropriately Default doc filename will be the
ClassName.html
- Set the
Create a new
.htmldoc insrc/opencv_pg/docs/source_docs/. Follow the formats of the other files in the folder.Add a new entry to the
_TRANS_WINDOWSdict insrc/opencv_pg/models/transform_windows.pywith the new transform. This will add it to the Transforms list in the GUI.