Skip to content

Commit

Permalink
add clarification to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shannon authored and Shannon committed Jan 23, 2018
1 parent 251de07 commit 04eb7a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion OCR API call example.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ def main(input_file):
Google documentation, and includes options for other non-OCR Vision API requests.
Args:
input_file: a file object, containing lines of input to convert.
input_file: a file object, containing lines of input to convert.
Format: (pathToImage/imageName.ext) (detection type):(maximum detections)
Example: GM_settings_screen.png 5:10
(here, 5 refers to text annotation - OCR)
'''
request_list = []
input_data = open(input_file).readlines()
Expand Down

0 comments on commit 04eb7a1

Please sign in to comment.