Skip to content

Commit

Permalink
revert back to original doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Aug 21, 2024
1 parent 7867169 commit d4b5b26
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,9 @@ def florence2_image_caption(image: np.ndarray, detail_caption: bool = True) -> s


def florence2_object_detection(prompt: str, image: np.ndarray) -> List[Dict[str, Any]]:
"""'florence2_object_detection' that can detect and count multiple objects given a
text prompt such as category names or referring expressions. The categories in text
prompt are separated by commas. It returns a list of bounding boxes with normalized
coordinates, label names and associated probability scores set to 1.0
"""'florencev2_object_detection' is a tool that can detect objects given a text
prompt such as a phrase or class names separated by commas. It returns a list of
detected objects as labels and their location as bounding boxes with score of 1.0.
Parameters:
prompt (str): The prompt to ground to the image.
Expand Down

0 comments on commit d4b5b26

Please sign in to comment.