textdetect_widget 0.1.1 copy "textdetect_widget: ^0.1.1" to clipboard
textdetect_widget: ^0.1.1 copied to clipboard

outdated

A flutter plugin to integrate the Google MLKit for iOS and Android. Live Camera Text Detection is available on current version.

textdetect_widget #

A flutter plugin to integrate the Google MLKit for iOS and Android. Live Camera Text Detection is available on current version.

USAGE #

TextdetectWidget is a live camera detection widget which detects companies from camera frame.

TextdetectWidget(
   onTextDetectWidgetCreated: _onTextDetectCreated,
   companies: companies,
)))

And then add detection handler like below.

void _onTextDetectCreated(TextdetectController controller) {
    textdetectController = controller;
    controller.setHandler(_handelTextDetect);
}
Future<dynamic> _handelTextDetect(MethodCall call) async {
    switch(call.method) {
      case "detect":
        debugPrint(call.arguments);
        setState(() {

        });
    }
    return 0;
}

#

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin to integrate the Google MLKit for iOS and Android. Live Camera Text Detection is available on current version.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on textdetect_widget