Giter Site home page Giter Site logo

bbox_with_angle-label-tool's Introduction

BBox_with_angle-Label-Tool

A simple tool for labeling object bounding boxes in images, implemented with Python Tkinter.

Data Organization

LabelTool
|
|--main.py # source code for the tool
|
|--Images/ # direcotry containing the images to be labeled
|
|--Labels/ # direcotry for the labeling results

Dependency

  • python 2.7
  • PIL-1.1.7.win32-py2.7

Startup

$ python main.py

Usages

  • Input a [dir path] in Image/, and click 'Load'. The images will be loaded.
  • To create a new bounding box, follow three steps:
    1. First, left-click to select the first vertex. Moving the mouse to draw a rectangle.
    2. Second, left-click again to select the second vertex. Moving the mouse to rotate the rectangle.
    3. Last, left-click again to fix the rectangle.
  • To cancel the bounding box while drawing, just press Esc.
  • To delete a existing bounding box, select it from the listbox, and click 'Delete' or press Del.
  • To delete all existing bounding boxes in the image, simply click 'ClearAll'.
  • After finishing one image, click 'Next' or press PgDn to advance.
  • Likewise, click 'Prev' or press PgUp to reverse.
  • Or, input the index and click 'Go' to navigate to an arbitrary image.
  • The labeling result will be saved if and only if the 'Next' button is clicked.

BBoxToolGIF

Demo Video

Label Format

  • BBox_num:number of bounding box
  • xc:rectangle center x
  • yc:rectangle center y
  • w:width of the rectangle
  • h:height of the rectangle
  • theta:angle of the rectangle
BBox_num
xc yc w h theta
.
.
.

Reference

This original Tool is forked from puzzledqs/BBox-Label-Tool

bbox_with_angle-label-tool's People

Contributors

euler16 avatar puzzledqs avatar yenyuhsuan avatar

Watchers

 avatar

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.