GithubHelp home page GithubHelp logo

raillabel's Introduction

[[TOC]]

Installation

Use case 1 - You want to use RailLabel with GUI to mark scenes:

You are a student or a member of the team, and you want to help to extend our dataset by tagging images with the help of a GUI.

  1. Python interpreter:
    If you are experienced you can also install your packages via pip. But on Windows there is no QT version of OpenCV available and the function is limited. Linux works just fine with pip. If you are inexperienced just follow the instructions.
    • Install Miniconda (sufficient and small) or Anaconda: Instructions
  2. Clone this GIT-repository
  3. Create, activate and install required packages into environment:
    • Open Terminal and chane directory to the repository root
    • conda env update --file environment.yml --prune
    • Activate conda environment: conda activate RailLabel
  4. Launch the tool python rail_label/__man__.py -d <path to dataset>

Use case 2 - You want to integrate RailLabel as a package

You are a student or team member, and you are building a neural network or classical image processing algorithm, and you need labels according to the YOLO scheme or segmentation masks. This project should be integrated as a module in your project so that you can generate your labels from the dataset.

  1. TBD

Install as python package on Linux(recommended)

You may install this package system-wide, user-wide or in a virtual environment. 0. If necessary, create and activate the environment. Minimum python version is 3.9.

Expectations for the data structure

In order to work together efficiently, it is highly recommended to use the proposed data structure as a working directory for the label tool:

junk-root
├── annotations
│   ├── scene_000000.json
│   ├── scene_000001.json
│   ├── scene_.......json
│   └── scene_.....n.json
├── camera
│   └── camera.yaml
└── images
    ├── scene_000000.png
    ├── scene_000001.png
    ├── scene_.......png
    └── scene_.....n.png
  • [mandatory] junk-root is the root directory to point RailLabel to
  • [mandatory] camera/camera.yaml contains the camera extrinsic
  • [mandatory] images contains the images to mark on
  • [generated] annotations contains information generated by RailLabel

Application

Track tab Switch Tab
  1. General:
    • Check all tags which describe conditions on the scene. This independent of the current mode. YouTube-Video
    • Scenes are saved by clicking ether Previous, Next or Exit
    • Name of the scene is shown in the GUI
    • Files are iterated in alphabetical order
  2. Mark Rails
    • Mark Rails YouTube-Video:
      • Select the Scene you want to work on by clicking Next or Previous
      • Select the Tab Track to get into the Switch-mode
      • Select the attributes of the new rail (radio buttons)
      • Click New Track to create one
      • Select the track in the list
      • Focus the Image window and aim at te first mark and press F
      • Make as many marks as you need until you are satisfied with the result.
    • Correct Rail Mark YouTube-Video:
      • Select the track in the list
      • Focus the Image window and aim roughly at the mark you want to correct
      • Press R to remove the mark
      • Aim and press F to set the corrected mark
    • Delete Track YouTube-Video
      • Select the track in the list
      • Push the Del Track button
  3. Mark Switches
    • Mark switches: YouTube-Video
      • Select the Scene you want to work on by clicking Next or Previous
      • Select the Tab Switch to get into the Switch-mode
      • Select the attributes of the new switch (radio buttons)
      • Click New switch to create one
      • Select the switch in the list
      • Focus the Image window and aim at te first mark and press F
      • Aim at the second point and press F
    • Correct Mark / Delete Switches: YouTube-Video
      • Select the switch in the list
      • Focus the Image window and aim roughly at the mark you want to correct
      • Press R to remove the mark
      • Aim and press F to set the corrected mark
      • Press Delete Switch to remove an entire switch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.