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

Need short information how to add custom functions #4

Open
@spidgorny

Description

@spidgorny

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions