Code Monkey home page Code Monkey logo

bounding-box-labeler-yolo's Introduction

Label_BoundingBox

A tool for labeling bounding boxes of training images. It is based on BBox-Label-Tool and supports multi-class labeling. Here is a demo:

demo

Requirement

  • Python (2 and 3 is all ok, 2 need a little change)
  • OpenCV (It isn't necessary, if you only use labeling function. OpenCV is only for getFrameFromVideo.py)
  • tkinter
  • PIL

Usage

for basic bbox-label-tool:

  • Put image in the folder which is under "Images"
  • Start label-tool with "python3 main.py"
  • Input "Image Dir" which is the name of your folder under "Images"
  • click "load" and you can label images now!
  • To create a new bounding box, left-click to select the first vertex. Moving the mouse to draw a rectangle, and left-click again to select the second vertex.
  • To cancel the bounding box while drawing, just press "<ESC>"
  • To delete a existing bounding box, select it from the listbox, and click 'Delete'.
  • To delete all existing bounding boxes in the image, simply click 'ClearAll'.
  • After finishing one image, click 'Next' to advance. Likewise, click 'Prev' to reverse. You can press "<Left>" and "<Right>" Or input the index and click 'Go' to navigate to an arbitrary image instead. The labeling result will be saved if and only if the 'Next' button is clicked.
  • label files are stored in "Labels" folder

for multi-class labeling:

  • Write down your classes in "class.txt"
  • Start label-tool and select class at the top-right corner. remember to click "ConfirmClass"
  • After clicking "ConfirmClass", you can label different classes with different colors.

for get Frame from Video:

It isn't user-friendly. If you want to use it, I recommend you to read source code carefully!

bounding-box-labeler-yolo's People

Contributors

danfromtelaviv avatar

Stargazers

 avatar Robin Cole avatar  avatar fanweiya avatar MAJ avatar Rizky Eka Vianto avatar Dave Greenwood avatar aura kanza avatar Dries Bultynck avatar Volker Hilsenstein avatar Mehdi Cherti avatar Abbas avatar  avatar  avatar  avatar

Watchers

James Cloos 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.