The app currently builds on ssd-mobilenet
and YOLO
. The models have been trained on Pascal VOC 2012 with 20 classes
.
- Android Studio (3.1.2)
- Android SDK (API level 27)
- Android mobile (running at least 5.0 - Lollipop)
- Android NDK (v 16.1.4479499)
- CMake
To run the app through Android studio, you need to enable ADB debugging:
- Go to Mobile's Settings > About Phone
- Scroll down to
build number
and tap on it continuously for 8 times (You'll get a toatyou are now a developer
) - Go back to Settings > Developer Options (This would have been hidden previously)
- Scroll down to
ADB Debugging
and turn it on
To run the project in Android Studio:
- Import
Android App
folder in Android Studio - Plugin your Android mobile
- Click on the
Run App
button (Similar to Play button) - Click on your mobile device and click
Run
- Wait for the gradle build and the app will be installed in your mobile
App Names: TF - MobileNet
and Yolo Detection
NOTE:
- The app compiles against latest SDK:
27
- Min SDK Version required:
21
(since Tensorflow is supported for APIs >=21) - The app builds
libtensorflow_eyedentifier.so
- the JNI interface for Object Tracking - forx86
,armeabi-v7a
,arm64-v8a
andx86_64
usingcmake
*libtensorflow_inference.so
- JNI interface for Tensorflow - is downloaded as a dependency in gradle - Edit build.gradle to modify any of the above properties
MIT License
Copyright (c) 2018 Dinesh Prasanth M K
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.