FastSAM draw bounding boxes with label and segment with label #198
Unanswered
drakshayanidesai
asked this question in
Q&A
Replies: 3 comments
-
Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @drakshayanidesai 👋🏻! Let's start by converting this issue into thread in our QA discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@drakshayanidesai, the Colab you are using is processing only one box at a time. So it doesn't matter how many boxes you annotate, it will only pick one. You would probably need to change that part of code: box = widget.bboxes[0] if widget.bboxes else default_box
box = [
box['x'],
box['y'],
box['x'] + box['width'],
box['y'] + box['height']
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Description
Hi Roboflow
I was trying with Fast SAM. How to label the boxes and detect them with labels after drawing boxes on
the image after executing the snippiest( as shown in the attachment).
IS_COLAB = True
if IS_COLAB:
from google.colab import outputRoboFastSAM.docx
from jupyter_bbox_widget import BBoxWidget
widget = BBoxWidget()
widget.image = encode_image(IMAGE_PATH)
widget
RoboFastSAM.docx
Use case
No response
Additional
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions