Code Monkey home page Code Monkey logo

mlkit-gdg-devfest's Introduction

MLKit Sample App

This is an App made for Showcasing base apis for ML Kit. Its an Android app to understand the ready to use APIs of ML Kit. We can also detect faces and label images without internet using on-Device APIs. This app uses an API provided by https://firebase.google.com/docs/reference/android/com/google/firebase/ml/vision/package-summary. It is made with the intention of understanding how to use the ML Kit base apis in a simplified manner. It is an updated fork from https://github.com/the-dagger/MLKitAndroid

Features

  • Image Labelling using onDevice APIs
  • Image Labelling using onCloud APIs
  • Face Detection using onDevice APIs
  • Landmark Recognition using onCloud APIs

Screenshots


Image Labelling using onDevice API



Landmark Detection using Cloud Vision API




Face Detection using onDevice API




Demo Video


Steps to run the app

The app uses the onDevice and Cloud Vision API for image labelling and landmark identification. You must clone this repo and add it in Firebase Console (https://console.firebase.google.com) .

In Firebase upgrade from Spark Plan to Blaze.This is because the cloud recognition API is only available on paid plans. Blaze is a pay as you go plan

Enable the Cloud Vision Api (https://console.cloud.google.com/apis/library/vision.googleapis.com?q=vision&project=wherecaniwatch-dcfe6) for this Firebase project over in the Google API Console. The Cloud Apis are free for first 1000 requests in a month .

  1. Afer adding the project in Firebase Console , download the 'google-services.json' file.
  2. Paste this file in the app directory
  3. Build this project and Run
  4. Libraries

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.