-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
dot delimiters for Python after namespaces #14730
Copy link
Copy link
Closed
Milestone
Description
Current python bindings are generated with constructors for classes with '_' symbol after namespaces. It might be nice to have more convenient '.' delimiters as well (just aliases). In example, for now we have
net = cv.dnn_Net()But there is no
net = cv.dnn.Net()Note: we need to keep dnn_Net for compatibility.
We need it for GSoC's data augmentation module because for now we designed with @FadyEssam basic transformations in the cv::augment namespace and the only way to manage transformations is:
t = cv.augment_FlipVertical() # but cv.augment.FlipVertical() looks betterReactions are currently unavailable