PolygonZone lets you draw arbitrary polygons on an image and retrieve the coordinates of the points you have drawn.
This application makes it easy to retrieve coordinates for Regions of Interest in computer vision applications.
PolygonZone accompanies Roboflow Supervision, a Python library with a range of utilities that are useful in computer vision projects.
Please note that PolygonZone is not an annotation tool. It is a tool for retrieving coordinates of polygons that you have drawn on an image.
This application is designed for desktop use.
demo.mov
To use PolygonZone, open up the PolygonZone web application. Then:
- Upload an image onto which you want to draw a polygon.
- Click on the points where you want to draw the polygon.
- Click on the intial point or press "Enter" to save a polygon.
- Continue to draw as many polygons as you need.
- Copy the NumPy array or JSON object that contains the coordinates of the polygons you have drawn.
- You can zoom in and out of an image using the mouse wheel or a laptop track pad.
- You can undo the last point pressing Ctrl/Cmd+Z
- You can discard the last unsaved polygon pressing Esc
We welcome contributions to the PolygonZone project. Please see the Contributing Guidelines for more information on how you can help to improve this project.