MCPcopy Index your code
hub / github.com/Cartucho/OpenLabeling

github.com/Cartucho/OpenLabeling @v1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3 ↗ · + Follow
25 symbols 60 edges 2 files 0 documented · 0% updated 4y agov1.3 · 2018-09-06★ 96112 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OpenLabeling - Open Source YOLO Bounding Box Tool

New GitHub stars

Bounding box labeler tool to generate the training data in the format YOLO v2 requires.

The idea is to use OpenCV so that later it uses SIFT and Tracking algorithms to make labeling easier.

I wanted this tool to give automatic suggestions for the labels! New Features Discussion

Table of contents

Quick start

To start using the YOLO Bounding Box Tool you need to download the latest release or clone the repo:

git clone https://github.com/Cartucho/OpenLabeling

Prerequisites

You need to install:

Run project

Step by step:

  1. Insert the images in the folder images/
  2. Insert the class list in the file class_list.txt
  3. Run the code: python run.py
  4. You can find the bounding box files in the folder bbox_txt/

GUI usage

Keyboard, press:

Key Description
h help
q quit
e edges
a/d previous/next image
s/w previous/next class

Mouse: - Use two separate left clicks to do each bounding box - Use the middle mouse to zoom in and out - Use double click to select a bounding box - Right click to quickly delete a bounding box

Darkflow support

Generating XML Files for Darkflow from .txt files generated by OpenLabeling

 USAGE: generate_xml.py [-h] [--format {yolo,voc}] [--bbox_txt BBOX_TXT]
                       [--img_dir IMG_DIR] [--class_list CLASS_LIST]
                       [--save_dir SAVE_DIR]

 Generate XML Files from .txt file

 optional arguments:
  -h, --help                show this help message and exit
  --format {yolo,voc}       Bounding box format | Deafult: yolo
  --bbox_txt BBOX_TXT       Path to bbox_txt dir generated by OpenLabeling | Deafult: bbox_txt/
  --img_dir IMG_DIR         Path to Images folder | Default: images/
  --class_list CLASS_LIST   Path to class_list.txt file | Default: class_list.txt
  --save_dir SAVE_DIR   Where to save XML Files. | Default: annotations_xml/

Authors

  • João Cartucho - Please give me your feedback: to.cartucho@gmail.com

    Feel free to contribute

    GitHub contributors

Core symbols most depended-on inside this repo

get_txt_path
called by 3
run.py
decrease_index
called by 2
run.py
increase_index
called by 2
run.py
draw_line
called by 2
run.py
set_selected_bbox
called by 2
run.py
delete_selected_bbox
called by 2
run.py
is_mouse_inside_points
called by 2
run.py
get_close_icon
called by 2
run.py

Shape

Function 25

Languages

Python100%

Modules by API surface

run.py23 symbols
generate_xml.py2 symbols

For agents

$ claude mcp add OpenLabeling \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact