Skip to content

Commit

Permalink
revert tools doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Jun 4, 2024
1 parent 52a2885 commit 2af87a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ def extract_frames(
def ocr(image: np.ndarray) -> List[Dict[str, Any]]:
"""'ocr' extracts text from an image. It returns a list of detected text, bounding
boxes with normalized coordinates, and confidence scores. The results are sorted
from top-left to bottom right. Each element in the returned list represents a
contiguous text region. Text on separate lines is considered separate regions and
would be returned as separate elements.
from top-left to bottom right.
Parameters:
image (np.ndarray): The image to extract text from.
Expand Down

0 comments on commit 2af87a3

Please sign in to comment.