Getting started with image classification
Key Takeaways
This video introduces Computer Vision and image classification using TensorFlow's ML Kit, demonstrating how to build an app on Android and iOS that can recognize the contents of images.
Full Transcript
[Music] the concept of having a computer recognize the contents of an image and not just see the data making up the image is called computer vision it comes in many flavors with the most common being image classification or labeling where the primary content of the picture is determined or there's object detection where common objects in the image are found and boxes highlighting where they're found in the image are provided in this learning path we're going to take a look at image classification where you give a computer an image and it will tell you what it thinks that image contains before you get down to coding let's explore how this works from a machine learning perspective a neural network generally looks something like this you have a number of layers and every neural network will have an input layer an output layer and a number of hidden layers i won't go into detail on how these work in this video but if you check out the machine learning foundation's free course on youtube you'll see how to build models with all of these layers as well as things like convolutional neural networks to perform feature extraction and this allows you to build very smart image classifiers but the important thing for us to consider for now is the architecture of a neural network's output layer for example in this simple diagram the output layer has two neurons and this means it can be used to recognize only two classes of image for example a dog or a cat and when you feed an image into the neural network the output will give you the probabilities of each of these classes thus if you're using a neural network model in your apps you'll have a black box that you feed in an image and you'll get numbers out of it and it's up to you to parse through these numbers to determine what the image is in this learning path you'll start with ml kit which gives you a built-in image labeler that recognizes over 600 classes of image giving you probabilities for each so for example if you feed it with a picture of a cat it might return high probabilities for cat pet animal but low ones for basketball car or truck or as we see when we'll go through the code lab if you give it a picture of a flower it might give you a classification of plants and petal but not a specific type of flower like a daisy and that's something that you're going to see how to do later in this series you'll learn how to create a simple app that recognizes over 600 types of image and let's take a quick look at what that looks like on both android and ios so here's the app running in android studio i can click the label image button and i'll get a bunch of labels back like petal flower or plants now this works by getting the picture as a bitmap and then creating a labeler object and an input image to it from my bitmap it will then process the image with the labeler and when it's done i'll get a set of labels back and these contain the confidence values now that's the output from the neurons with probability that we showed earlier on and we can just show these in our app if we wanted to on ios it's very similar here's the app running in xcode and when i click classify i'll get back a set of labels and confidence values for each label and the code works in pretty much the same way i get a labeler object i process my image using that labeler object and then i'll process the labels that come back from it and then i can just iterate through them get the confidence values and write those to the screen and you can see the results in the view here okay now that you've seen this in action it's time to get coding in the next code lab you'll see how to build this app on both android and ios happy coding [Music] you
Original Description
In this video you’ll get an introduction to Computer Vision, and learn how to build an app on Android and iOS that can recognize the contents of images. You’ll start with a general model that can recognize several hundreds of contents, but is very general. So, for example, if you show it a picture of a flower, it will recognize it’s a flower, but not tell you what type of flower it is! Later you’ll see how to create a custom model to overcome this barrier...
On-Device Machine Learning → http://g.co/on-device-ml
Subscribe to TensorFlow → https://goo.gle/TensorFlow
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from TensorFlow · TensorFlow · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
The TensorFlow YouTube Channel is Here!
TensorFlow
Answering Your TF Questions #AskTensorFlow
TensorFlow
Chatting With the TensorFlow Community (TensorFlow Meets)
TensorFlow
All About TensorFlow Code (Coding TensorFlow)
TensorFlow
TensorFlow: an ML platform for solving impactful and challenging problems
TensorFlow
Keynote (TensorFlow Dev Summit 2018)
TensorFlow
tf.data: Fast, flexible, and easy-to-use input pipelines (TensorFlow Dev Summit 2018)
TensorFlow
Eager Execution (TensorFlow Dev Summit 2018)
TensorFlow
Machine Learning in JavaScript (TensorFlow Dev Summit 2018)
TensorFlow
Training Performance: A user’s guide to converge faster (TensorFlow Dev Summit 2018)
TensorFlow
The Practitioner's Guide with TF High Level APIs (TensorFlow Dev Summit 2018)
TensorFlow
Distributed TensorFlow (TensorFlow Dev Summit 2018)
TensorFlow
Debugging TensorFlow with TensorBoard plugins (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Lite (TensorFlow Dev Summit 2018)
TensorFlow
Searching Over Ideas (TensorFlow Dev Summit 2018)
TensorFlow
Reconstructing Fusion Plasmas (TensorFlow Dev Summit 2018)
TensorFlow
Nucleus: TensorFlow toolkit for Genomics (TensorFlow Dev Summit 2018)
TensorFlow
Open Source Collaboration (TensorFlow Dev Summit 2018)
TensorFlow
Swift for TensorFlow - TFiwS (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Hub (TensorFlow Dev Summit 2018)
TensorFlow
Applied AI at The Coca-Cola Company (TensorFlow Dev Summit 2018)
TensorFlow
Real-World Robot Learning (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Extended (TFX) (TensorFlow Dev Summit 2018)
TensorFlow
Project Magenta (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Dev Summit 2018 - Livestream
TensorFlow
Introducing TensorFlow Lite (Coding TensorFlow)
TensorFlow
TensorFlow Dev Summit 2018 Highlights
TensorFlow
Jeff Dean, Head of AI at Google discusses the impact of ML (TensorFlow Meets)
TensorFlow
TensorFlow Mobile vs. TF Lite and More! #AskTensorFlow
TensorFlow
Using TensorFlow to enable research & production across many fields (TensorFlow Meets)
TensorFlow
Teaching TensorFlow for Deep Learning at Stanford University (TensorFlow Meets)
TensorFlow
TensorFlow Lite for Android (Coding TensorFlow)
TensorFlow
Using the tf.data API to build input pipelines (TensorFlow Meets)
TensorFlow
Training Models in the Cloud & the Benefits of AI Toolkits #AskTensorFlow
TensorFlow
Execute operations immediately with TensorFlow's Eager Execution (TensorFlow Meets)
TensorFlow
TensorFlow Lite for iOS (Coding TensorFlow)
TensorFlow
Get started with TensorFlow's High-Level APIs (Google I/O '18)
TensorFlow
TensorFlow for JavaScript (Google I/O '18)
TensorFlow
TensorFlow in production: TF Extended, TF Hub, and TF Serving (Google I/O '18)
TensorFlow
Get started with TensorFlow's High-Level APIs in 5 mins | Google I/O 2018
TensorFlow
TensorFlow and deep reinforcement learning, without a PhD (Google I/O '18)
TensorFlow
TensorFlow Lite for mobile developers (Google I/O '18)
TensorFlow
Advances in machine learning and TensorFlow (Google I/O '18)
TensorFlow
Distributed TensorFlow training (Google I/O '18)
TensorFlow
Classification using neural networks & ML regression models #AskTensorFlow
TensorFlow
TensorFlow and Keras in R - Josh Gordon meets with J.J. Allaire (TensorFlow Meets)
TensorFlow
Focus on your experiment with TensorFlow Estimators (TensorFlow Meets)
TensorFlow
How to get started with AI/ML, retraining models, & more! #AskTensorFlow
TensorFlow
TensorFlow - the deep learning solution for mobile platforms (TensorFlow Meets)
TensorFlow
MiniGo: TensorFlow Meets Andrew Jackson (TensorFlow Meets)
TensorFlow
The growth of TensorFlow with added support for JS & Swift (TensorFlow Meets)
TensorFlow
At the intersection of TensorFlow & nuclear physics (TensorFlow Meets)
TensorFlow
NVidia TensorRT: high-performance deep learning inference accelerator (TensorFlow Meets)
TensorFlow
Try TensorFlow.js in your browser (Coding TensorFlow)
TensorFlow
TensorFlow Hub: reusing machine learning modules (TensorFlow Meets)
TensorFlow
How to use TensorFlow in PyCharm (TensorFlow Tip of the Week)
TensorFlow
Training models faster with TensorFlow Hub (TensorFlow Meets)
TensorFlow
Prepare your dataset for machine learning (Coding TensorFlow)
TensorFlow
Using ML to predict insulin use for Type 1 Diabetes (TensorFlow Meets)
TensorFlow
TFX: an end-to-end machine learning platform for TensorFlow (TensorFlow Meets)
TensorFlow
More on: CV Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
When the Camera Becomes an Exam Proctor: Building an AI-Powered Exam Monitoring System with…
Medium · Python
When the Camera Becomes an Exam Proctor: Building an AI-Powered Exam Monitoring System with…
Medium · Deep Learning
When the Camera Becomes an Exam Proctor: Building an AI-Powered Exam Monitoring System with…
Medium · Cybersecurity
Your Face Is About to Become Your Phone Number
Dev.to AI
🎓
Tutor Explanation
DeepCamp AI