Skip to content

oldvis/image-taxonomy-labeler

Repository files navigation

Commitizen friendly

OldVis Image Taxonomy Labeler

A web-based system for taxonomy labeling and comparison of old visualization images.

You can find a live demo here for taxonomy labeling. The functions related to the server are disabled in the live demo. To use the full-fledged version, please follow the instructions in How to Use.

This repository is structured as:

  • ./client-label: The interface for taxonomy labeling.
  • ./client-compare: The interface for taxonomy comparison.
  • ./scripts: The scripts for one-time data preprocessing.
  • ./server: The server shared by ./client-label and ./client-compare for serving image resource and computation services.

Warning

The following instructions for setting up the interfaces assume the annotated dataset is oldvis/dataset. If you want to use the interfaces to annotate other images datasets, you will need to

  1. ensure the image metadata matches the structure of visualizations.json and replace the metadata at ./client-compare/src/assets/visualizations.json and ./client-label/src/assets/visualizations.json
  2. store the images at ./server/static/images/
  3. setup the cache files (with ./scripts/setup_cache.py)

How to Use the Taxonomy Labeling Interface

  1. Setup the server resources and launch the server (see details at ./server/README.md).
  2. Launch the taxonomy labeling interface (see details at ./client-label/README.md).

How to Use the Taxonomy Comparison Interface

  1. Setup the server resources and launch the server (see details at ./server/README.md).
  2. Launch the taxonomy comparison interface (see details at ./client-compare/README.md).