GithubHelp home page GithubHelp logo

drainingsun / ybat Goto Github PK

View Code? Open in Web Editor NEW
267.0 5.0 94.0 2.62 MB

Ybat - YOLO BBox Annotation Tool

License: MIT License

CSS 2.16% HTML 5.83% JavaScript 92.01%
yolo bbox annotator bounding-boxes yolo-9000 yolo-bbox-annotation yolo-format yolov2 annotation-tool

ybat's Introduction

Ybat - YOLO BBox Annotation Tool

Fast and efficient BBox annotation for your images in YOLO, and now, VOC/COCO formats!

INTRO

To see why and for what this was created, please read Ybat - YOLO BBox Annotation Tool

Sample

USAGE

  1. Download the zip.
  2. Extract it.
  3. Open ybat.html in your browser.
  4. Load images and classes and start bboxing!

CONFIGURATION

  1. Open ybat.js.
  2. Edit section named parameters.

COMPATIBILITY

All browsers that support ES6 should work. Tested with:

  • Chrome v65
  • Firefox v58
  • Safari v11
  • Opera v51

No idea about IE/Edge.

FEATURES

  • NEW! Basic Pascal VOC and COCO format support.
  • Works in your browser on any platform.
  • Complete YOLO format support.
  • No need for image upload - everything is done locally!
  • Zooming and panning images with guidelines for precise bboxing.
  • Fast navigation for quick bboxing.
  • Auto save in memory in case of accidental refreshes and crashes.
  • Ability to crop your bboxes and save the resulting images.
  • Information on both image and current bbox.

CAVEATS

  • Loading many and or big images might take a while. This is because tool needs to figure out image dimensions.
  • Cropping many items might crash your browser. This and above will be fixed at some point.

CONTRIBUTING

Go nuts! Just don't forget to follow eslint guidelines. Credit will be given where it's due.

ybat's People

Contributors

drainingsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ybat's Issues

I can't bounding box

When I use your tool. But I turn on boobs.html. I can't Bounding box . I don't know why

I have F12 but no error ???

You can fix this problem for me ???

Thanks you for contributing and reading

bboxes shifted position on their own

Hello @drainingsun
First of all thank you for this glorious tool ^^
So i was using Boobs and having no issues whatsoever but a couple of days ago i annotated some images,saved them as YOLO format and closed the tool,a couple of hours later i realized i forgot to annotate an object and re-opened all the images and their annotation files just to realize some bounding boxes on an image,espacially the small ones shifted their position on the horizontal axis a bit,they weren't in their original position,note that i wasn't able to reproduce this issue it happened only once but as you might guess this can be a real pain if one is annotating a large dataset and constantly going back to check if the previous annotations are correct =/ what may be the cause of this? Any help is greatly appreciated.

DELECT key is not working

The delete key on my keyboard is malfunctioning and i can not use the function,please tell me how to use it

Unsure if VOC XML annotations are correctly handled for multiple objects of the same class

Hey there, I want to thank you for making this.

I annotated a set of images using boobs. My images include multiple appearances of the same object (in my case cars).

Here is a BOOBS-generated VOC file:

<object>
   <name>car</name>
   <pose>Unspecified</pose>
   <truncated>0</truncated>
   <occluded>0</occluded>
   <difficult>0</difficult>
   <bndbox>
   <xmin>2656</xmin>
   <ymin>607</ymin>
   <xmax>3530</xmax>
   <ymax>1879</ymax>
   </bndbox>
   <bndbox>
   <xmin>1655</xmin>
   <ymin>939</ymin>
   <xmax>2451</xmax>
   <ymax>2106</ymax>
   </bndbox>
   <bndbox>
   <xmin>665</xmin>
   <ymin>1188</ymin>
   <xmax>1506</xmax>
   <ymax>2422</ymax>
   </bndbox>
</object>

So each object gets it's own bndbox.

Is this the right VOC annoation? I thought that each object should be wrapped in it's own "object" tag. For example:

<object>
   <name>car</name>
   <pose>Unspecified</pose>
   <truncated>0</truncated>
   <occluded>0</occluded>
   <difficult>0</difficult>
   <bndbox>
   <xmin>2656</xmin>
   <ymin>607</ymin>
   <xmax>3530</xmax>
   <ymax>1879</ymax>
   </bndbox>
</object>
<object>
   <name>car</name>
   <pose>Unspecified</pose>
   <truncated>0</truncated>
   <occluded>0</occluded>
   <difficult>0</difficult>
   <bndbox>
   <xmin>1655</xmin>
   <ymin>939</ymin>
   <xmax>2451</xmax>
   <ymax>2106</ymax>
   </bndbox>
</object>
<object>
   <name>car</name>
   <pose>Unspecified</pose>
   <truncated>0</truncated>
   <occluded>0</occluded>
   <difficult>0</difficult>
   <bndbox>
   <xmin>665</xmin>
   <ymin>1188</ymin>
   <xmax>1506</xmax>
   <ymax>2422</ymax>
</bndbox>
</object>
</annotation>`

Can you add feature customize label

now the examble flow is:

select Car object --> delete bbox label --> add new Toyota bbox label

We expect

select Car object --> edit to Toyota class object

Source code for canvas.min.js

Can you share the source code (non-minified) for canvas.min.js, or where you got it from if you did not write it? Thanks!

SAVE COCO stores malformed json

so i tried saving a coco.json file for my dataset after i had done the annotations using ybat. I found this particular export option a bit problematic
The segmentation key needs a value with two concat arrays as shown below
"annotations":[ { "segmentation":[[ 1, 4, 1, 151, 235, 151, 235, 4 ]], . . . . }
But ybat creates this with only one array whereas it should have been
"segmentation" : [[ <some data>]]
and not this
"segmentation" : [<some data>]
see this picture to have a better understanding at what is problematic with save coco button.
https://ibb.co/wRFVYFs

Images are rotated and annotations are saved as rotations

I'm capturing data and annotating it . Here is an example image

image

However, when I actually upload it in the tool:
image

The image is rotated 90 degrees. The problem is that this causes the actual annotations to be incorrect unless I now manually rotate the image as well. Is there a way I can rotate the image inside of boobs (or not have it rotate at all?). Alternatively, the annotations could just be rotated as well. Thanks!

B-boxes recovery after PC power faliure

@drainingsun My PC shuts down because of Power Faliure.. after restarting the bboxes donot recover when i restore my browser,, serious shock... i was about to finish my work.......... i labeled 1000 images.. Help me please .......if u can recover my hard work

Class names are undefined

Loaded class names are 'undefined' in saved txt files, although class names were successfully loaded. I get the bounding box positions but labeled as undefined

convert text file to xml

Hye. before this, im doing text file format image lebeling for yolo object detection. And now, im using faster rcnn for object detection. But, I want to use the same dataset (from my previous yolo dataset) The problem is, my google colab notebook, does not support for text file tensorflow. so, i need to convert to xml. Is it your previous tutorial from the YT can fix my problem?

thank you so much

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.