Skip to content

Commit b38f7a2

Browse files
committed
Mention the colors of the different bounding box annotations
1 parent 1d7cb96 commit b38f7a2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ Handprint produces copies of the input images overlaid with the recognition resu
244244

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

251251
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:
252252
```sh

handprint/__main__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def main(add_creds = 'A', base_name = 'B', no_color = False, compare = False,
248248
249249
text -- display the text recognized in the image (default)
250250
bb -- display all bounding boxes returned by the service
251-
bb-word -- display only the bounding boxes for words
252-
bb-line -- display only the bounding boxes for lines
253-
bb-para -- display only the bounding boxes for paragraphs
251+
bb-word -- display only the bounding boxes for words (in red)
252+
bb-line -- display only the bounding boxes for lines (in blue)
253+
bb-para -- display only the bounding boxes for paragraphs (in green)
254254
255255
Separate multiple values with a comma. The option "bb" is a shorthand for the
256256
value "bb-word,bb-line,bb-para". As an example, the following command will

0 commit comments

Comments
 (0)