Hi, I’m trying to find the corners of a polygon segmentation, as in this image.
How can I find the four corners?
Thanks!
Hi, I’m trying to find the corners of a polygon segmentation, as in this image.
How can I find the four corners?
Thanks!
It depends on the model you’ve trained, and how it returns detection results.
But, generally, you’ll just be looking at the (minimum x, minimum y) and (maximum x, maximum y) values for the points in the segmentation results that are returned.
The x values align with image-width in pixels, and y-values align with image-height in pixels.
Here’s what the instance segmentation prediction response looks like when using Roboflow Deploy or Inference.