Machine-Learning-in-Android-P
Machine-Learning-in-Android-P
Development
4 Careers at Tokopedia
Machine Learning Deployment
Overview
Generic Machine Learning Workflow
Evaluation of
Accuracy/Performance
Evaluation
with ops team
On-Device Inference Cloud-based Inference
Inference
source
ML Kit
- Available in Android and iOS
- On-device inference
- Powerful yet easy to use Vision and Natural Language APIs
- Powered by Google's best-in-class ML models and offered at no cost
- Google product
Key ML Development Areas
IMAGE
PREDICTION OUTPUT
VIDEO
Face Detection
Application:
- Perform tasks like embellishing selfies
and portraits
- Generating avatars from a user's photo
- Applications like video chat or games
that respond to the player's
expressions
Pose Detection
- Detect the pose of a subject's body in real time from
a continuous video or static image
- Full body tracking The model returns 33 key skeletal
landmark points, including the positions of the hands
and feet
- InFrameLikelihood score For each landmark, a
measure that indicates the probability that the
landmark is within the image frame. The score has a
range of 0.0 to 1.0, where 1.0 indicates high
confidence
- Z Coordinate for depth analysis This value can help
determine whether parts of the users body are in
front or behind the users' hips
Case: KYC
- Know Your Customer, ID Verification
- Typical flow: KTP & Selfie
- Many problems with false positive case
- Can we improve using Machine Learning?
- Liveness: Action Video
source
- Face Detection: Face feature probability
distribution
- Face Comparison
Case: Category Recommendation
Custom Models
Vision Text
To opt-in:
Edit build.gradle
Install-time download:
Edit AndroidManifest.xml
Custom Model: Bundled vs Hosted
- There are two ways to integrate a custom model. You can bundle the
model by putting it inside your app’s asset folder, or you can dynamically
download it from Firebase
Custom Model
1. Copy the model file (usually ending in .tflite or .lite) to your app's assets/ folder
2. Then, add the following to your app's build.gradle
Custom Model
Explore more
- ML Kit : https://developers.google.com/ml-kit/guides
- ML Kit Samples: https://github.com/googlesamples/mlkit
- Tensorflow Lite : https://www.tensorflow.org/lite
- Tensorflow Lite Samples:
https://github.com/tensorflow/examples/tree/master/lite/examples
- Tensorflow Lite Model Maker: https://www.tensorflow.org/lite/guide/model_maker
Careers at Tokopedia
3 DNA of Tokopedia - our culture, our belief
Working @ Tokopedia
1 My Career
2 Environment
3 Perks
4 Data office
Careers @ Tokopedia
individual managerial
Fellow VP
Architect Manager
Principal Lead
Sr. Staff
Staff
Data Office
Business
Data Scientist Data Engineer Data Analyst
Intelligence
5 3 DNA
https://www.tokopedia.com/careers/
video
Thank You
Contact me [email protected], @fajarnuha