opencv/modules/python/src2
Vadim Levin 119d8b3aca
Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port
4.x: submodule or a class scope for exported classes

* feature: submodule or a class scope for exported classes

All classes are registered in the scope that corresponds to C++
namespace or exported class.

Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`

For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type

* refactor: remove redundant GAPI aliases

* fix: use explicit string literals in CVPY_TYPE macro

* fix: add handling for class aliases
2022-02-25 01:17:43 +03:00
..
cv2_convert.cpp
cv2_convert.hpp
cv2_highgui.cpp
cv2_highgui.hpp
cv2_numpy.cpp
cv2_numpy.hpp
cv2_util.cpp
cv2_util.hpp
cv2.cpp Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port 2022-02-25 01:17:43 +03:00
cv2.hpp
gen2.py Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port 2022-02-25 01:17:43 +03:00
hdr_parser.py
pycompat.hpp Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port 2022-02-25 01:17:43 +03:00