Giter Club home page Giter Club logo

documentannotation's Introduction

Document Annotation

Set-up the directory:

$ docker-compose up --build

Make sure that http://localhost:annotation.html is accessible from the browser.

Set-up annotation:

Move to the html directory in the repo.

Add the images of the pages to be annotated in the images/images folder.

Add the names of all these images in file_paths.txt.

Run sort_file_names.py to sort the file names. The sorted image names are stored in sorted_file_paths.txt.

Run docker-compose run annotations python3 htdocs/server.py --filename coordinates.txt to save the annotations. The file name can be used to denote what is being annotated - tables, figures, etc.

Go to http://localhost:8000/coordinates.txt and you should see the first image for annotation.

Annotation:

Mark the annotation areas on the page using your mouse, you should be able to see the selected coordinates at the right bottom of the page.

Click 'N' to save these bounding boxes and move to the next page.

Click 'P' to reset the bounding boxes for the current image and start marking for the page again.

documentannotation's People

Contributors

hodeig avatar payalbajaj 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.