Polygon Drawing on Image
Or paste an image from the clipboard (Ctrl+V/Cmd+V anywhere on the page).
This site is pure locally, no image is uploaded
Draw polygon with mouse:
Click on the image to add vertices. When done, click the "Finish Polygon" button.
Or enter polygon coordinates (format: x1,y1,x2,y2,...):
How to Use this Tool
This tool allows you to draw and define polygons on an image. Polygons are used to identify and locate objects within an image. It's commonly used in computer vision tasks like image annotation.
Important: This tool operates entirely within your web browser. No images are uploaded to any server, and no data is stored. All processing happens locally on your computer, ensuring your images and the polygon data remain private and secure.
Here's how to use it:
- Load an Image: You can either upload an image file using the "Choose File" button, paste an image URL into the text field, or paste an image directly from your clipboard (Ctrl+V / Cmd+V).
-
Draw a Polygon (with mouse):
- Click on the image to add vertices.
- When done, click the "Finish Polygon" button.
- A red polygon will appear, representing your polygon.
-
Draw a Polygon (with coordinates):
- Enter the coordinates of the vertices of the polygon in the text area provided. Use the format:
x1,y1,x2,y2,...
. Coordinates can be absolute pixel values or relative values (normalized to the range \[0, 1]). - Click the "Draw Polygon" button.
- Enter the coordinates of the vertices of the polygon in the text area provided. Use the format:
- View Coordinates: The tool will display the polygon's coordinates (x1, y1, x2, y2, ...), both in absolute pixel values and relative values (normalized to the image's width and height).
- Clear Polygons: Use the "Clear Polygons" button to remove all drawn polygons from the image.