Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Need short information how to add custom functions #4

Open
spidgorny opened this issue Oct 24, 2019 · 2 comments
Open

Need short information how to add custom functions #4

spidgorny opened this issue Oct 24, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@spidgorny
Copy link

I understand that there are too many OpenCV functions to implement them by one person. Let's do it together. Could you please explain how to add a new OpenCV function to the plugin?

Is this enough to add another

case "getVersionString":
        result.success(org.opencv.core.Core.getVersionString());
        break;

and implement the corresponding Flutter code like this?

Future<String> get versionString async {
  return await _channel.invokeMethod('getVersionString') as String;
}

Anything else? How do we actually load the image and pass the data in parameters so that OpenCV can understand it?

I hope everybody will be able to implement the functions they need and submit PR for you to review and merge.

I'm particularly interested in

@spidgorny spidgorny added the enhancement New feature or request label Oct 24, 2019
@markfili
Copy link

@spidgorny Was anything done with the above mentioned suggestion? I'm also interested in everything mentioned

@markfili
Copy link

although I respect every effort to help the community by publishing libraries like this, I would like to suggest that we focus our efforts on another, more elaborate attempt to expose OpenCV APIs to Flutter: https://github.com/AdityaMulgundkar/flutter_opencv. No hard feelings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants