Giter Site home page Giter Site logo

thelifeofgame / indoor-segmentation-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wonderit/indoor-segmentation-android

0.0 1.0 0.0 42.85 MB

Indoor Semantic Segmentation Android using Deeplabv3 MobileNetV2 trained with ADE20K dataset

Python 0.74% Shell 1.51% CMake 0.44% C++ 66.69% C 0.91% Java 29.70%

indoor-segmentation-android's Introduction

Tensorflow Android Deeplabv3 with MobileNetV2 as a Backbone.

This app is for indoor semantic image segmentation for Android devices.

Description

The demo app is based on Tensorflow android sample app with bazel build.

Tensorflow Android Sample App.

Inference is done using the TensorFlow Android Inference Interface, which may be built separately if you want a standalone library to drop into your existing application. Object tracking and efficient YUV -> RGB conversion are handled by libtensorflow_demo.so.

A device running Android 5.0 (API 21) or higher is required to run the demo due to the use of the camera2 API, although the native libraries themselves can run on API >= 14 devices.

Current samples:

Other samples are deleted.

SegmentationActivity extends CameraActivity.

This Activity is based on DetectorActivity of previous TF Sample App.

Prebuilt Components:

If you just want the fastest path to trying the demo, you may download the nightly build here. Expand the "View" and then the "out" folders under "Last Successful Artifacts" to find tensorflow_demo.apk and libtensorflow_demo.so file.

libtensorflow_inference.so should be re-compiled due to the tf.slice operation compatibility error of nightly-android build.

libtensorflow_inference.so is already compiled in the library folder.

See libs/armeabi-v7a for more details.

Libraries for arm64-v8a device added. libs/arm64-v8a

Running the Demo

Once the app is installed it can be started via the "TF Segmentation" which have the orange TensorFlow logo as their icon.

While running the activities, pressing the volume keys on your device will toggle debug visualizations on/off, rendering additional info to the screen that may be useful for development purposes.

Demo GIF

  • crop size : 129 x 129 :

  • crop size : 257 x 257 :

indoor-segmentation-android's People

Contributors

wonderit avatar

Watchers

James Cloos 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.