1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #27443 from ritamelo06:gapi-feature

feat: G-API: Custom stream sources in Python (#27276)
This commit is contained in:
Alexander Smorkalov
2025-10-21 12:59:06 +03:00
committed by GitHub
5 changed files with 272 additions and 0 deletions
@@ -0,0 +1,17 @@
#include <opencv2/gapi/pysrc/python_stream_source.hpp>
#include <opencv2/gapi/streaming/source.hpp>
#include <opencv2/core/utils/logger.hpp>
#include <opencv2/core.hpp>
namespace cv {
namespace gapi {
namespace wip {
cv::Ptr<cv::gapi::wip::IStreamSource> make_py_src(const cv::Ptr<cv::gapi::wip::IStreamSource>& src)
{
return src;
}
} // namespace wip
} // namespace gapi
} // namespace cv