Coder Social home page Coder Social logo

simple_image_annotator's Introduction

Simple Image Annotator

Description

All image annotators I found either didn't work or had some overhead in the setup. So, I tried to make this one simple to run and simple to use. action

Install

  • Install Flask
$ pip install Flask

Getting started

  • cd into this directory after cloning the repo
  • start the app
$ python app.py /images/directory
  • you can also specify the file you would like the annotations output to (out.csv is the default)
$ python app.py /images/directory --out test.csv

Output

  • in keeping with simplicity, the output is to a csv file with the following fields
    • id - id of the bounding box within the image
    • name - name of the bounding box within the image
    • image - image the bounding box is associated with
    • xMin - min x value of the bounding box
    • xMax - max x value of the bounding box
    • yMin - min y value of the bounding box
    • yMax - max y value of the bounding box

HOWTOs

  • draw a bounding box
    • click on the image in the location of the first corner of the bounding box you would like to add
    • click again for the second corner and the box will be drawn
  • add a label for a box
    • for the box you would like to give a label, find its id (noted in the top left corner of the box)
    • find the label with the corresponding number
    • enter the name you want in the input field
    • press enter
  • move to next image
    • click the blue arrow button at the bottom of the page (depending on the size of the image you may have to scroll down)
  • remove label click the red button on the label you would like to remove
  • check generated data
    • at the top level of the directory where the program was run, there should be a file called out.csv that contains the generate data

simple_image_annotator's People

Contributors

sgp715 avatar tomplarge avatar

Watchers

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