dynamic11 / konva-react-image-annotation

Created with CodeSandbox

Home Page:https://codesandbox.io/p/github/dynamic11/konva-react-image-annotation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🏷️ konva-react Image Annotation Tool

ℹ️ This project is a work in progress created using CodeSandbox, intended as a proof of concept.

The purpose of this project was to demonstrate the feasibility of implementing an image annotation tool using the HTML Canvas. We utilized the konva-react library to interact with the Canvas and incorporated components from MUI for the user interface.

⚙️ Tech used:

  • react
  • konva-react
  • MUI

✨ Key Features:

  • Draw rectangles to highlight areas of the image
  • Enable/desable drawing using toggle
  • Cancel area selection using esc key
  • Show popover when an area is highlighted
  • Toggle between tool types (incomplete)

🐞 Known bugs/feature requests

  • Tool selection does not work (only the Area option works)

  • The popover for the area in the canvas doesn't align because its absolute position in CSS is being miscalculated

  • Image/canvas don't resize correctly (responsiveness)

  • Hide or highlight areas on the canvas using the table

  • Group shapes in the table by type

  • 📸 Screenshots:

image image

About

Created with CodeSandbox

https://codesandbox.io/p/github/dynamic11/konva-react-image-annotation


Languages

Language:JavaScript 89.7%Language:HTML 9.9%Language:CSS 0.4%