Giter VIP home page Giter VIP logo

posedetect's Introduction

ML Kit Vision Quickstart Sample App

Introduction

This ML Kit Quickstart app demonstrates how to use and integrate various vision based ML Kit features into your app.

Feature List

Features that are included in this Quickstart app:

Getting Started

  • Run the sample code on your Android device or emulator
  • Try extending the code to add new features and functionality

How to use the app

This app supports three usage scenarios: Live Camera, Static Image, and CameraX enabled live camera.

Live Camera scenario

It uses the camera preview as input and contains these API workflows: Object detection & tracking, Face Detection, Text Recognition, Barcode Scanning, and Image Labeling. There's also a settings page that allows you to configure several options:

  • Camera
    • Preview Size - Specify the preview size of rear camera manually (Default size is chose appropriately based on screen size)
    • Enable live viewport - Prevent the live camera preview from being blocked by API rendering speed
  • Object detection / Custom Object Detection
    • Enable Multiple Objects -- Enable multiple objects to be detected at once.
    • Enable classification -- Enable coarse classification
  • Face Detection
    • Landmark Mode -- Toggle between showing no or all facial landmarks
    • Contour Mode -- Toggle between showing no or all contours
    • Classification Mode -- Toggle between showing no or all classifications (smiling, eyes open/closed)
    • Performance Mode -- Toggle between two operating modes (Fast or Accurate)
    • Face Tracking -- Enable or disable face tracking
    • Minimum Face Size -- Choose the proportion of the head width to the image width
  • AutoML Image Labeling
    • AutoML Remote Model Name -- Allows you to specify an AutoML VisionEdge model to remotely download from the Firebase Console
    • AutoML Model Choices -- Toggle between using the remote or local AutoML model.
  • Pose Detection
    • Performance Mode -- Allows you to switch between "Fast" and "Accurate" operation mode
    • Show In-Frame Likelihood -- Displays InFrameLikelihood confidence within the app

Static Image scenario

The static image scenario is identical to the live camera scenario, but instead relies on images fed into the app through the gallery.

CameraX Live Preview scenario

The CameraX live preview scenario is very similar to the native live camera scenario, but instead relies on CameraX live preview instead of the Camera2 live preview. Note: CameraX is only supported on API level 21+.

Support

License

Copyright 2020 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

posedetect's People

Contributors

ahmad97-bugs avatar blablablar avatar

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.