The repository provides code for running inference with the SegmentAnything Model (SAM), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Hello,I am trying to train the YOLOv8-SEG model using SA-1b. Yolov8 requires a Polygon type like x1, y1, x2, y2 ············
I use mask = mask_utils.decode(annotation["segmentation"])
How to convert a mask to a polygon type? Using cv2.findContours will result in excessive data
Hello,I am trying to train the YOLOv8-SEG model using SA-1b. Yolov8 requires a Polygon type like x1, y1, x2, y2 ············ I use
mask = mask_utils.decode(annotation["segmentation"])
How to convert a mask to a polygon type? Using cv2.findContours will result in excessive data