Skip to content

Commit

Permalink
Mention the colors of the different bounding box annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Jun 29, 2021
1 parent 1d7cb96 commit b38f7a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ Handprint produces copies of the input images overlaid with the recognition resu

* `text`: display the text recognized in the image (default)
* `bb`: display all bounding boxes returned by the service
* `bb-word`: display the bounding boxes for words
* `bb-line`: display the bounding boxes for lines
* `bb-para`: display the bounding boxes for paragraphs
* `bb-word`: display the bounding boxes for words (in red)
* `bb-line`: display the bounding boxes for lines (in blue)
* `bb-para`: display the bounding boxes for paragraphs (in green)

Separate multiple values with a comma. The option `bb` is a shorthand for the value `bb-word,bb-line,bb-para`. As an example, the following command will show both the recognized text and the bounding boxes around words:
```sh
Expand Down
6 changes: 3 additions & 3 deletions handprint/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ def main(add_creds = 'A', base_name = 'B', no_color = False, compare = False,
text -- display the text recognized in the image (default)
bb -- display all bounding boxes returned by the service
bb-word -- display only the bounding boxes for words
bb-line -- display only the bounding boxes for lines
bb-para -- display only the bounding boxes for paragraphs
bb-word -- display only the bounding boxes for words (in red)
bb-line -- display only the bounding boxes for lines (in blue)
bb-para -- display only the bounding boxes for paragraphs (in green)
Separate multiple values with a comma. The option "bb" is a shorthand for the
value "bb-word,bb-line,bb-para". As an example, the following command will
Expand Down

0 comments on commit b38f7a2

Please sign in to comment.