mirror of
https://github.com/opencv/opencv.git
synced 2026-10-07 04:02:36 +03:00
Merge pull request #20271 from TolyaTalamanov:at/extend-python-bindings
G-API: Extend python bindings * Extend G-API bindings * Wrap timestamp, seqNo, seq_id * Wrap copy * Wrap parseSSD, parseYolo * Rewrap cv.gapi.networks * Add test for metabackend in pytnon * Remove int64 pyopencv_to
This commit is contained in:
1 parent
ee39081b11
commit
fb7ef76e74
13 files changed
+240
-144
No files matched your search
@@ -15,6 +15,10 @@ cv::gapi::GNetPackage::GNetPackage(std::initializer_list<GNetParam> ii)
|
||||
: networks(ii) {
|
||||
}
|
||||
|
||||
cv::gapi::GNetPackage::GNetPackage(std::vector<GNetParam> nets)
|
||||
: networks(nets) {
|
||||
}
|
||||
|
||||
std::vector<cv::gapi::GBackend> cv::gapi::GNetPackage::backends() const {
|
||||
std::unordered_set<cv::gapi::GBackend> unique_set;
|
||||
for (const auto &nn : networks) unique_set.insert(nn.backend);
|
||||
|
||||
Reference in new issue
Block a user