Merged
Conversation
e81e312 to
665beb3
Compare
79f351b to
1610363
Compare
988bb68 to
3ac4340
Compare
d209fc3 to
9c02d39
Compare
Contributor
Author
|
@dmatveev Have a look, please |
TolyaTalamanov
commented
Mar 29, 2021
dmatveev
approved these changes
Mar 29, 2021
Comment on lines
+20
to
+22
| using Impl = std::function<cv::GRunArgs(const cv::GArgs&, | ||
| const cv::GTypesInfo&, | ||
| const cv::GTypesInfo&)>; |
Contributor
There was a problem hiding this comment.
Is it required here or can it be part of GPythonKernel?
Contributor
Author
There was a problem hiding this comment.
I thought about it, but it's used in GPythonFunctor as well, so let it be, if it isn't a big deal
| std::string tag; | ||
| if (!pyopencv_to(PyTuple_GetItem(pair, 1), tag, ArgInfo("tag", false))) | ||
| { | ||
| PyErr_SetString(PyExc_TypeError, "Failed to obtain kernel tag. Must be string"); |
Contributor
Author
There was a problem hiding this comment.
tag must be string
|
|
||
| comp = cv.GComputation(g_in, g_out) | ||
|
|
||
| pkg = cv.gapi_wip_kernels((custom_mean, 'org.opencv.core.math.mean')) |
Contributor
There was a problem hiding this comment.
can it be cv.gapi.wip_kernels instead?
Contributor
There was a problem hiding this comment.
...don't spend much time here if it is not
Contributor
Author
There was a problem hiding this comment.
No, it can't, all custom function placed in cv2 package, I believe we work it out in future
b9ee785 to
abca930
Compare
abca930 to
79d4a38
Compare
Contributor
Author
|
@alalek Can it be merged ? |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.
Build configuration