Git Product home page Git Product logo

flask-image-annotator's Introduction

Flask Image Annotator

A simple image annotator made in Flask which outputs the annotations in CSV format.

Setup

  • Clone the repository using:
git clone https://github.com/techytushar/flask-image-annotator
  • Install Flask
pip3 install Flask

How to use

  • Run the app using python3 app.py
  • In your browser navigate to localhost:5000
  • Select the images you want to annotate and click submit
  • The image will be displayed on the next page
  • Drag on the image, on the part which you want to annotate
  • On the left write the name of the annotation and click enter
  • If you want to delete an annotation click "-" button beside the annotation
  • Click the next button to go to the next image
  • Annotate all the images
  • At last, download the zip file

Run using Docker

  • Build the Docker image using the Dockerfile
docker build -t <image-name-here> .
  • Run the Docker image
docker run -d -p 5000:5000 <image-name-here>
  • Naviage to localhost:5000 in your browser

Format of CSV file

  • image: Name of the image file
  • id: id number of the annotation
  • name: name of the annotation
  • xMin: top left of the annotation box
  • xMax: bottom right of the annotation box
  • yMin: top left of the annotation box
  • yMax: bottom right of the annotation box

flask-image-annotator's People

Contributors

techytushar avatar

Stargazers

Zeeshan Ahmad avatar

Watchers

Zeeshan Ahmad 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.