Object Detection on Android using TensorFlow Lite

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's going on guys in this video we're gonna be doing object detection using tensor flow light and we're gonna be doing it on Android but of course you could do this on an iPhone or a Raspberry Pi or pretty much mobile devices you can see I've been detected as a person right now but will be detecting other objects as well and I'll give you guys a look right now and look at that we can pretty much detect many different objects with different certainties and yeah this is gonna be our tutorial for today so let's get to it alright so for this tutorial you're gonna need Android studio so go ahead and download and install that and we're also going to need tensorflow like examples so you can go ahead to the github page and you can just download the zip or you can just do a git clone followed by the URL that I'll leave on the description below now like I explained earlier we will be doing the Android example so let me go ahead and browse here to tensorflow light examples object detection and here you can see they have three different options Android iOS and the Raspberry Pi and inside each one of these folders you'll find the directions for the specific example so the one you've seen in the beginning of this video is this one right here so were you to want to do this on an iPhone of course you'd have to follow the iOS version and so on for the Raspberry Pi so these are the exact instructions we're gonna be following now let's get to them alright once you've finished downloading the zip file or cloning the kit you want to go ahead and extract that to a specific location whatever you like and here we have it these are all the files you can see if I go to light examples an object code section I have all the examples right there now let's go ahead and open the Android folder in Android studio alright so before opening the project you want to go to SDK manager and you're gonna want to install some of these you can see I have version 6 all the way through 10 already installed so make sure you install a few of these at least six and above would be appropriate and after you install those might take a few minutes you can hit OK and we are ready to open the Android example project so you can just go open and then you have to find a specific location and there we go examples like object detection Android and you just hit OK and that should open up your project all right now at this point you might as well want to connect your Android device to your computer using a USB cable once you connect your Android device you're gonna see that it pops up here on the top of Android studio as you open the project you might see a few different tasks running here towards the bottom synchronizing the dreidels and different operations and you will probably have to wait that out before you can actually run the application then once you finally get all the green checkmarks that means you are good to go and now you have two options we can just go ahead and hit the play button here up top and that will run our project in your Android device there you go you can see we started the app and I have it now running here on my Android device and you can see we've detected a cup a bottle a TV we can now integrate this functionality into a different project of our liking which is amazing to see how technology has evolved and were able to do this for mobile devices at this point another option you have is you can actually build this little project into an apk so you can install this app on your phone and run it whenever you'd like so you can go build build apk and just like that it's gonna build the apk for you and then you can hit the locate and there we go you can just copy this and install it on your Android device and you can then run this app so that's gonna be your short video for today guys a basic getting started video with tensorflow Lite and I'm excited to do some more fun stuff with this
Info
Channel: CodeOnBy
Views: 29,315
Rating: undefined out of 5
Keywords: Android, TensorFlow, Lite, object, detection, tutorial, how to, education, tensorflow lite, google, android studio, sdk, how, to, samsung, camera
Id: HLvD3XtQokY
Channel Id: undefined
Length: 5min 13sec (313 seconds)
Published: Sat Feb 08 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.