• Stars
    star
    304
  • Rank 136,430 (Top 3 %)
  • Language
    Java
  • Created almost 9 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

β˜• Fast-RCNN and Scene Recognition using Caffe

Android-Object-Detection

Build Status

Requirements

  • Android 4.0+ support

  • ARMv7 and x86 based devices

  • Get the Caffe model and push it to Phone SDCard. For object detection, network(*.prototxt) should use ROILayer, you can refer to Fast-RCNN. For scene recognition(object recognition), it can use any caffe network and weight with memory input layer.

  • Build with Gradle. You can use Android studio to build

Feature

Demo

Usage

  • Download and push the neccessary file to your phone. There should be model and weight in /sdcard/fastrcnn and /sdcard/vision_scene.

$ ./setup.sh

  • Build and run the application using gradlew or you can open AndroidStudio to import this project

$ ./gradlew assembleDebug

$ adb install -r ./app/build/outputs/apk

Besides, you can change deep learning's model, weight, etc in VisionClassifierCreator.java

public class VisionClassifierCreator {
    private final static String SCENE_MODEL_PATH = "..";
    private final static String SCENE_WIEGHTS_PATH = "..";
    private final static String SCENE_MEAN_FILE = "..";
    private final static String SCENE_SYNSET_FILE = "..";

    private final static String DETECT_MODEL_PATH = "..";
    private final static String DETECT_WIEGHTS_PATH = "..";
    private final static String DETECT_MEAN_FILE = "..";
    private final static String DETECT_SYNSET_FILE = "..";
 }

Contribution

  • Send pull request
  • Buy Me a Coffee at ko-fi.com

License

    Copyright (C) 2015-2016 TzuTaLin

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

awesome-visual-slam

πŸ“š The list of vision-based SLAM / Visual Odometry open source, blogs, and papers
2,200
star
2

dlib-android

πŸ‰ Port dlib to Android
C++
862
star
3

dlib-android-app

πŸ‰ Android app to demo dlib-android(https://github.com/tzutalin/dlib-android). Use the prebuilt shared-lib built from dlib-android
Java
675
star
4

ImageNet_Utils

⏬ Utils to help download images by id, crop bounding box, label images, etc.
Python
626
star
5

OpenCV-RgbdOdometry

β›„ OpenCV RGBD-Odometry (Visual Odometry based RGB-D images)
C++
113
star
6

adb-event-record

adb-event-record is a tool to record sensor's events like touch event and so on using the ADB (Android Debug Bridge).
Python
97
star
7

build-opencv-for-android

An interactive script to download and build OpenCV and OpenCV contrib for Android
Shell
74
star
8

ros_caffe

β˜• Integrate Caffe model into ROS
C++
71
star
9

miniglog

Portable glog for cross-platforms: Windows, Linux, Android, and iOS
C++
44
star
10

Boost.Compute-Android

Boost.Compute library for Android. A C++ Computing Library for OpenCL https://github.com/boostorg/compute
C
23
star
11

caffe_test

β˜• Include Caffe to predict in C++
C++
17
star
12

example-grpc

Demonstrate the some of features of gRPC
Java
14
star
13

DriveRecorder

It's an Android application which is able to record the video when driving.
12
star
14

ros_sample_image_transport

ROS Receive and publish different topics about image
C++
11
star
15

minizip

Minizip for Unix/Linux and mobile devices
C
9
star
16

ReadPCMData

Read auido raw data from android phone
7
star
17

docker

Dockerfile's for building
Shell
6
star
18

Android-ConfigIO

A small and encapsulation library for creating, accessing, and modifying Key-Value configuration file in XML / JSON format
Java
4
star
19

android-ndk-downloader

[Drepeciated]⏬ A script to download android NDK
Python
4
star
20

task-scheduler

task-scheduler is an in-process scheduler to arrange and run the task periodically according to YAML config file
Python
3
star
21

tzutalin

1
star