MaximoDouglas / image-labeling-app

The Android side of the Image Labelling System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Labeling System - Android

  1. Labeling images
  2. Simplified architecture
  3. Setting up the Android side - without Android Studio
  4. Setting up the Android side - with Android Studio
  5. Setting up the API side - go to the API repository

This is the Android app side of a project created to facilitate the data acquisition and the data labelling steps for supervised computer vision tasks.

You just need to create an image Domain (e.g. animal) and its Classes (e.g. Dog, Cat and Duck) to start the labeling.

Labeling images

  1. In the first screen, create a new domain by tapping in the plus button. Let's call it "animals". This will lead you to Classes creation screen.
  1. Create new classes, let's call them "cat" and "dog".
  1. Tap on "dog". This will lead the user to the labeling screen. Tap on the search field and type the search term "puppy" to find images for the dog class and hit the search icon. Now you just need to "Confirm" or "Discard" images.
  1. When you think that it's enough for this search term, you can edit it and continue labeling for this class or go back and select another class to label.

Simplified architecture

Image Labeling system simple diagram

Setting up the Android side - without Android Studio

  1. Install both Java 8 and the Android SDK (save the SDK location)
  2. Inside the project root folder create a file named local.properties with the content as described bellow:
sdk.dir=<your sdk location>
RAPID_API_KEY="<your rapid API key>"
IMAGE_LABELING_BASE_URL="http://<your API server IP>:<port>/"
  1. To get and API Key, go to this Rapid API page
  2. To get the IMAGE_LABELING_BASE_URL please refer to the API documentation
  3. With all of this set up, you just need to run: bash ./gradlew assembleDebug
  4. The result APK can be found at: ./app/build/outputs/apk/local/debug/app-local-debug.apk

Setting up the Android side - with Android Studio

  1. If you already run Android projects, you can just clone the project and create (if it was not already created) a file named local.properties with the following content:
  sdk.dir=<your sdk location>
  RAPID_API_KEY="<your rapid API key>"
  IMAGE_LABELING_BASE_URL="http://<your API server IP>:<port>/"
  1. To get and API Key, go to this Rapid API page
  2. To get the IMAGE_LABELING_BASE_URL please refer to the API documentation
  3. With everything set up, you just need to run both the API and this project to start labeling.

About

The Android side of the Image Labelling System


Languages

Language:Kotlin 100.0%