Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ML Kit

Pratik Parmar
September 13, 2018

ML Kit

ML Kit brings Google’s machine learning expertise to mobile developers in a powerful and easy-to-use package. This comes very handy when you want to use Machine Learning in your mobile apps but don't wanna deal with complex math and coding part.

Source: https://youtu.be/Z-dqGRSsaBs

Pratik Parmar

September 13, 2018
Tweet

More Decks by Pratik Parmar

Other Decks in Technology

Transcript

  1. Custom model support Simplify use of custom ML model Dynamic

    model downloads Model conversion and compression Provides an API layer
  2. camera.dart import 'package:firebase_ml_vision/firebase_ml_vision.dart'; FirebaseVisionImage visionImage = FirebaseVisionImage.fromFilePath(path); TextDetector detector =

    FirebaseVision.instance.getTextDetector(); List<TextBlock> blocks = await detector.detectInImage(visionImage); TextBlock largestBlock = blocks.first; for (TextBlock block in blocks) { if (rectangleArea(block.boundingBox) > rectangleArea(largestBlock.boundingBox)) { largestBlock = block; }