How to Use the ImageTagger Tool for Collaborative Image Labeling

Sep 4, 2021 | Data Science

Are you part of the RoboCup community and in need of a reliable image data labeling tool? Look no further! ImageTagger is designed to facilitate collaborative labeling of images, enabling teams to benefit from previously labeled data while contributing their own.

Table of Contents

ImageTagger Overview

This collaborative online tool helps teams label their image data effectively. For RoboCup participants, it’s best to use the instance provided by the Hamburg Bit-Bots (https://imagetagger.bit-bots.de). This shared platform allows you to utilize existing labeled images and upload your contributions.

Features

  • Team creation
  • Image sets management
  • Bounding box, polygon, line, and point labeling
  • Image set download options
  • Export format creation
  • Label export
  • Image preloading for labeling and verification
  • Label verification
  • Upload of existing labels
  • Tools exchange among users

Planned Features

  • Collections of filtered images from multiple image sets
  • Image metadata support (e.g., robot pose, camera parameters)

Reference

To dive deeper into the specifics of the ImageTagger, refer to this paper: ImageTagger: An Open Source Online Platform for Collaborative Image Labeling.

Installing and Running ImageTagger

Set up ImageTagger locally, in a Docker container, or on Kubernetes. Let’s take a closer look at each approach.

Locally

Setting up ImageTagger locally requires a few steps:

  1. Install the Latest Release: Ensure you have Pipenv installed. Checkout the latest release tag:
  2. git checkout v…
    cd imagetagger
    pipenv sync
  3. Setup PostgreSQL: Install and configure a PostgreSQL server following your OS guide. Create a user and a database for ImageTagger:
  4. CREATE USER imagetagger PASSWORD imagetagger;
    CREATE DATABASE imagetagger WITH OWNER imagetagger;
  5. Select Configuration: For production deployment, set the environment variable:
  6. export DJANGO_CONFIGURATION=Prod
  7. Initialize the Database:
  8. .manage.py migrate
  9. Create a User: Run:
  10. .manage.py createsuperuser
  11. Run the Server:
  12. .manage.py runserver

In-Docker

  1. Checkout Latest Release:
  2. git checkout v…
  3. Build the Container Image:
  4. docker build -t imagetagger .
  5. Run the Container:
  6. docker run -it -p 8000:80 --name imagetagger imagetagger

On Kubernetes

  1. Follow the steps for In-Docker to build the container image.
  2. Apply Kubernetes Configuration:
  3. kustomize build . > k8s.yml
    kubectl apply -f k8s.yml

Configuration

ImageTagger is configured using environment variables, allowing customization according to deployment needs. It’s crucial to define specific variables for production, ensuring secure operation.

Used Dependencies

The tool relies on several libraries, including:

Troubleshooting Steps

If you run into issues while setting up or using ImageTagger, consider the following troubleshooting tips:

  • Ensure PostgreSQL is correctly installed and that the database user and permissions are set properly.
  • If you’re experiencing connectivity issues, double-check the environmental variables for database connection.
  • For Docker users, verify that your containers are running and configured correctly.
  • If the application isn’t displaying, ensure that the necessary ports are exposed and not blocked by a firewall.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Final Thoughts

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox