Skip to content

esla/Multilabelfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilabelfy - Flask App

This repository hosts the Multilabelfy Flask application, a simple tool for enhancing the label quality of single-label datasets that are arguably multi-label. The app is specifically designed to streamline the annotation process for computer vision datasets, providing an intuitive web interface for annotators/researchers to efficiently review and refine image labels.

Multilabelfy Interface

USE CASE: ImageNetV2 Label Enhancement

Multilabelfy was used in the re-annotation process of ImageNetV2. The figure below illustrates the framework used for enhancing the label quality of ImageNetV2, leveraging human-machine interactions for dataset quality enhancement.

ImageNetV2 Label Enhancement

Links to Resources

Resource Description
ImageNetV2 Dataset The ImageNetV2 version used is the "imagenetv2-matched-frequency"
Refined ImageNetV2 Labels The JSON file of the refined labels according to the paper cited below.
Multilabelfy Demo Webpage A demo web app to show the features of MultiLabelfy. The demo does not show the refined labels since any user can alter the labels. It is strictly for illustrative purpose.

For more details on how this framework was applied to ImageNetV2 and to cite the work, please refer to the following paper:

Citation

@InProceedings{10.1007/978-3-031-53827-8_27,
  author    = "Anzaku, Esla Timothy and Hong, Hyesoo and Park, Jin-Woo and Yang, Wonjun and Kim, Kangmin and Won, JongBum and Herath, Deshika Vinoshani Kumari and Van Messem, Arnout and De Neve, Wesley",
  editor    = "Choi, Bong Jun and Singh, Dhananjay and Tiwary, Uma Shanker and Chung, Wan-Young",
  title     = "Leveraging Human-Machine Interactions for Computer Vision Dataset Quality Enhancement",
  booktitle = "Intelligent Human Computer Interaction",
  year      = "2024",
  publisher = "Springer Nature Switzerland",
  address   = "Cham",
  pages     = "295--309",
  isbn      = "978-3-031-53827-8"
}

Key Features

  • Light-weight.
  • Efficient Annotation: Supports multi-label annotation with a user-friendly interface.
  • Automated Label Proposals: Integrates machine-generated label suggestions for rapid annotation.
  • Click-to-view: Allows the view of images in full resolution after clicking on them.
  • Easy Navigation: Supports easy navigation between images using the arrow keys.
  • Displays Example Images: This allows annotators quickly decide whether the proposed labels are valid or not.
  • Auto Save: Automatically saves the annotations to a JSON file after a checkbox or navigation arrow is clicked.

Setup

  1. Clone the repository.
  2. Ensure that the variables in the config.py file are set according to your paths and dataset.
  3. Ensure that all required files are available in the right directories.
  4. Run the Flask app to launch the web interface and start annotating.

How to Run

# Install dependencies
pip install -r requirements.txt

# Run the Flask app
python run.py

About

Multilabelfy: A straightforward framework designed to enhance datasets that are inherently multi-label but have been represented as single-label.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors