Label Data with Segment Anything Model (SAM) in Roboflow

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 53

  • @changtimwu
    @changtimwu Před rokem +2

    Wow you guys are so fast. Let’s see how long after other labeling tools would add this feature especially those pricey ones.

  • @Blooper1980
    @Blooper1980 Před rokem +3

    Good job on implimenting this so quickly. Other applications would have taken weeks.

    • @Roboflow
      @Roboflow  Před rokem +1

      💪🏼

    • @865we
      @865we Před rokem

      ​@@Roboflow excited sir 🙏

  • @lorenzoleongutierrez7927

    thanks for sharing !

  • @ughhritra
    @ughhritra Před měsícem

    Is it possible to try out this tool in custom images for testing sam? is it available publically? I'm working on a project that uses SAM and want to test it on some sample images.

  • @itayhilel2168
    @itayhilel2168 Před rokem +2

    I don't understand why you don't have a button for "convert all bbox"

    • @Roboflow
      @Roboflow  Před rokem +3

      It was not there when I recorded but it is there now 💜 That was my feedback to. You can convert all with one click.

    • @yannsieyadjeu
      @yannsieyadjeu Před rokem +1

      @@Roboflow Hey fam. Where is the button "convert all"?

    • @Roboflow
      @Roboflow  Před rokem

      @@yannsieyadjeu good question. Take a look at this tweet: twitter.com/braddwyer/status/1646953843790434314?s=46&t=PmKZyPs_J7tyW5sS8kHeLg top right corner of editor.

    • @drasafasforis
      @drasafasforis Před 6 měsíci

      @@Roboflow Do we have the ability to change all images in a dataset from bboxes to SAM without going through each image manually?

  • @shohrehkia8432
    @shohrehkia8432 Před 9 měsíci

    Thanks for the time you invested to let us know about this cool Model. but one question, I have material pieces in size of 1 to 4 mm, mix of plastics and copper, wood, glass and etc. is it possible with SAM label them also or its just masking? I need to label them and create different classes for them.

  • @fahadmajeed5630
    @fahadmajeed5630 Před rokem +2

    Hi, can we do medical images or x-ray images segmentation using smart polygon..??
    Because if we talk about histopathology images than we have to segment very very tiny areas in one single image.
    Can we do that kind of segmentation using roboflow..??

    • @Roboflow
      @Roboflow  Před rokem

      Hi 👋🏻! It’s Peter from the video. I didn’t show any X-ray example because I didn’t wanted that video to be super long. But sure! I think that automated X-ray image segmentation is possible. Feel free to take a try and annotate some images. You can create account for free and that feature is also free for now.

  • @winighfinw-ig3mt
    @winighfinw-ig3mt Před rokem +1

    Nice 👍
    But why don't you add Grounding DINO directly as button so you can annotate images with boxes using text prompt

    • @Roboflow
      @Roboflow  Před rokem +3

      I’m dropping Google Colab with that next week. And who knows? If that goes well maybe we will add full auto annotation to Roboflow editor 🔥

  • @isabellalee6213
    @isabellalee6213 Před rokem

    I'm on my a free trail and keen to have a go, and my labeling toolbar only has [Drag tool] and [Comment] options, which is different from what you have shown in the video. Is that becase the [Smart polygon] can only being accessed to paid version?

  • @SweetShotGaming
    @SweetShotGaming Před rokem +1

    This is awesome! Will there be an implementation in the future to have an auto labeling feature? For example in this case, not even needing to click on the cracks, but the auto labeler knowing to automatically segment the cracks in the image.

    • @Roboflow
      @Roboflow  Před rokem +2

      Full zero shot annotation? We are experimenting with it… we will crate Google Colab and video tutorial on Tuesday. As for feature in the editor I guess it all depends if it will work good enough. Stay tuned.

  • @AmartyaMandal-ml9uq
    @AmartyaMandal-ml9uq Před rokem +1

    Thanks for integration! I couldn't use the semantic masks generation for my dataset and use SAM. Is it not under the free trial?

    • @Roboflow
      @Roboflow  Před rokem

      Hi, it is Peter from the video! I know that SAM was accessible for free in RF for some time. I'm honestly not sure if that is still the case. Please let me ask around and come back to you.

  • @user-qq5bq9nr9e
    @user-qq5bq9nr9e Před rokem +1

    Is it possible to set threshold values for area coverage of similar objects in an image and segment them as same class but with different colored masks depending on their size?

    • @Roboflow
      @Roboflow  Před rokem +1

      It is but not through UI. You would need to create Python script to do that and interact with Roboflow through the API

  • @patrickwasp
    @patrickwasp Před rokem +4

    It would be awesome to convert all bounding boxes to polygons without having to right click each object

    • @Roboflow
      @Roboflow  Před rokem +2

      Hi 👋🏻 It is Peter from the video. That functionality is the right now :) That was one of my recommendations to dev team after making that vid too… and now it is there. You can run conversion with one click :)

  • @EmphaticTrain
    @EmphaticTrain Před rokem +1

    Any help is appreciated. I downloaded my custom dataset, 1's where I highlighted my object of interest, and zeros everywhere else, but my labeled images are completely black. No regions of images that are white? Is there a tutorial on how to successfully download a custom dataset?

    • @EmphaticTrain
      @EmphaticTrain Před rokem +2

      ah I figured it out. For anyone who gets stuck. when you download your custom data set all your objects of interest will be labeled as one (that's if you're just doing one class); therefore, in order to view your labels you need to open up the labeled image using matplotlib. To actually see it you do this:
      import matplotlib.pyplot as plt
      import cv2
      path_to_label_img = " "
      image = cv2.imread(path_to_label_img)
      plt.imshow(image[ : , : , 0])

    • @Roboflow
      @Roboflow  Před rokem +1

      Glad you figured it out… I was super busy with latest video. And haven’t noticed that question.

  • @aminmemar416
    @aminmemar416 Před rokem +1

    Can i upload shapely polygon wkt as annotation to roboflow?

    • @Roboflow
      @Roboflow  Před rokem

      Unfortunately not :/

    • @aminmemar416
      @aminmemar416 Před rokem +1

      @@Roboflow oh that’s 😞. Coco did support interior either what should i do?

    • @Roboflow
      @Roboflow  Před rokem

      @@aminmemar416 if you can convert it to COCO it would unlock roboflow upload for you

    • @aminmemar416
      @aminmemar416 Před rokem +1

      @@Roboflow it is not supports holes either. I want to segment walls and exclude pictures and windows

    • @Roboflow
      @Roboflow  Před rokem

      @@aminmemar416 SAM does not support holes unfortunately:/

  • @user-sr3ci2lr9w
    @user-sr3ci2lr9w Před rokem +1

    Is it possible to use SAM to actually detect and count specific objects? (for example, fruits on a tree)

    • @Roboflow
      @Roboflow  Před rokem +1

      If you just want to do detection and count I'd go with your regular object detector like YOLOv8 for example.

  • @chinnagadilinga5742
    @chinnagadilinga5742 Před rokem +1

    Hi Sir I'm Beginner in I saw your Computer vision video's its fully combined and merged can you please update one by one video order that time we can understand easily thank you.

    • @Roboflow
      @Roboflow  Před rokem

      Hi, it is Peter from the video? Do you mean videos related to zero-shot annotations?

  • @yannsieyadjeu
    @yannsieyadjeu Před rokem +1

    Can I use SAM for object detection with YOLOv8?

    • @Roboflow
      @Roboflow  Před rokem

      SAM is a segmentation model. What you can do is use YOLOv8 for object detection and than convert those boxes into segmentations with SAM.

    • @yulei7199
      @yulei7199 Před rokem

      @@Roboflow If the performance of SAM on COCO detection is validated (for example, use masks and CLIP model to get the class label in COCO categories), perhaps YOLOv8 is not needed at all?

    • @Roboflow
      @Roboflow  Před rokem

      @@yulei7199 depends on what you want to do. In some cases YOLO is not needed. In some cases when speed is primary objective it is better to run YOLO segmentation without SAM.

  • @body1024
    @body1024 Před rokem +1

    Amazing new upgrade
    please i am having problem to upload my trained yolov8x instance segmentation mode to roboflow using api
    it works for object detection models but not for instance segmentation

    • @Roboflow
      @Roboflow  Před rokem

      Thanks! Are you using our notebook?

  • @michaelringer5644
    @michaelringer5644 Před rokem

    Is a 2s lag after selecting an object with sam in the roboflow editor still normal?

  • @snehitvaddi
    @snehitvaddi Před rokem +1

    Hello Team! I am working something where I need to find size of the object in centimeters/mm. I remember Peter made a similar implementation one of the video but I missed the link of that. I have been scratching my head since past 30 mins. Could you please share the link of that video..🙏🏽🙏🏽

    • @Roboflow
      @Roboflow  Před rokem +1

      Sure! Here it is: czcams.com/video/_Zr1pOi7Chw/video.html starts at 8:04. We will most likely have a dedicated vid for that use case, but that won’t happen in near future so this is all we have.

    • @snehitvaddi
      @snehitvaddi Před rokem +1

      @@Roboflow Suuuperb!
      Thank you.🤝

    • @Roboflow
      @Roboflow  Před rokem

      @@snehitvaddi my pleasure ;)

  • @dinanmutamaddin400
    @dinanmutamaddin400 Před rokem +1

    can SAM do segmentation mask annotation to bounding box or can roboflow add this feature ( like convert all bbox to polygon ) ? please share the collab code or other reference
    because I have dataset annotated with segmentation and I want convert to bounding box for research with some model , thank you.

    • @Roboflow
      @Roboflow  Před rokem

      If you save the segmentation dataset in COCO format you will get boxes for free and can use it both in object detection and image segmentation scenarios.

    • @dinanmutamaddin400
      @dinanmutamaddin400 Před rokem

      @@Roboflow thank you, but why not add features convert ALL smart polygon to bonding box in annotating mode ? 😅 because maybe we can look it for review the annotations again hehe...

  • @user-qq5bq9nr9e
    @user-qq5bq9nr9e Před rokem

    Is it possible to set threshold values for area coverage of similar objects in an image and segment them as same class but with different colored masks depending on their size?