Calculate area of polygon

Hey, is it possible to calculate the area of a complex polygon?

I found a tutorial that shows how you can do it for simple polygons, but i need to do it for complex polygons: Solar Roof Measurement with Computer Vision

thanks

Hi there, we have a tool called PolygonZone which can help you get the polygon coordinates on an image! Launch: Calculate Polygon Coordinates with PolygonZone

Can you tell us a bit more about your use case?

Hey. I have hundreds of photos i have taken of a species of plant. I need to estimate the size of the plant in each photo in terms of total area. So i need to draw a polygon around them and then i need the total area of the polygon. The polygons are all very irregularly shaped. I have a ruler in each photo so i can create a size reference.

Got it! There are a series of open source geometry packages you can use for these kind of calculations. If you need more complex analysis I’d recommend searching for polygon geometry and looking for a package in a language you want to use.

For example:
Javascript: area | Turf.js
Python: shapely.area — Shapely 2.0.7 documentation

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.