Skip to content

This is a simple web-based image annotation tool that allows users to upload an image, draw lines on it, and export the annotations in JSON format. It also provides options to adjust brightness and contrast of the image while annotating.

Notifications You must be signed in to change notification settings

Dhanush-S-Gowda/distance-annotation-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Image Annotation Tool

This is a simple web-based image annotation tool that allows users to upload an image, draw lines on it, and export the annotations in JSON format. It also provides options to adjust brightness and contrast of the image while annotating.

Features

  • Upload and display images.
  • Draw lines on the canvas to annotate the image.
  • Change line color.
  • Dynamic line preview while drawing.
  • Adjust the brightness and contrast of the image.
  • Enable/disable eraser mode to remove lines.
  • Export annotations as JSON with the line coordinates, line length and color information.

Live Preview

You can try out a live version of the tool here.

Usage

  1. Upload Image: Click on the file input to upload an image. The image will be displayed on the canvas.
  2. Draw Lines: Click and drag to draw lines on the image. The line will be displayed dynamically as you draw.
  3. Change Line Color: Use the color picker to change the line color before drawing.
  4. Adjust Brightness/Contrast: Use the brightness and contrast buttons to adjust the image display while drawing.
  5. Eraser Mode: Toggle eraser mode to click on lines and remove them from the canvas.
  6. Export Annotations: Click on Export as JSON to download a JSON file containing line annotations with their coordinates, length and colors.

Contributors

This project was created using AI (GPT) and contributions from:

Dhanush S Gowda
Dhanush S Gowda
R Keerthana Prasad
R Keerthana Prasad

About

This is a simple web-based image annotation tool that allows users to upload an image, draw lines on it, and export the annotations in JSON format. It also provides options to adjust brightness and contrast of the image while annotating.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published