Segment Anything Model in Python| SAM | A to Z | Segment Anything Model (SAM)

preview_player
Показать описание
#computervision #opencv #artificialintelligence #deeplearning #machinelearning
Segment anything model explanation with example. Here you will get details code for extract any segmented part of image using SAM model. Image Segmentation, Image masking, Object Detection.

SAM Github link for instalation:

SAM weights download link:
Рекомендации по теме
Комментарии
Автор

Sir, Would you mind giiving me this solution of this porblem . when I want to run your code in terms of solar panel image then it is creating this problem like "SupervisionWarnings: green is deprecated: `Color.green()` is deprecated and will be removed in `supervision-0.22.0`. Use `Color.GREEN` instead.
SupervisionWarnings: annotate is deprecated: `BoxAnnotator` is deprecated and will be removed in `supervision-0.22.0`. Use `BoundingBoxAnnotator` and `LabelAnnotator` instead" . Original code of your is "import supervision as sv
import numpy as np

mask_annotator = sv.MaskAnnotator()
box_annotator =



annotated_image = box_annotator.annotate(scene=image_bgr.copy(), detections=detections, skip_label=True)
annotated_image = mask_annotator.annotate(scene=annotated_image.copy(), detections=detections)

sv.plot_images_grid(
images=[image_bgr, annotaed_image],
grid_size=(1, 2),
titles=['Original_image', 'Annotated_image'],
)"

AhmedOmayar
Автор

do you freelance ? i need to segment solar panels from UAV images. If yes, can you share your email id ?

shamukshi