textdetect_widget 0.0.7
textdetect_widget: ^0.0.7

Flutter Android iOS

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
70
pub points
8%
popularity

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

Homepage

Uploader

thai.ng@shareclarity.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on textdetect_widget