We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968422d commit 4b99bb5Copy full SHA for 4b99bb5
src/pytesseract.py
@@ -160,7 +160,7 @@ def run_tesseract(input_filename,
160
161
cmd_args += shlex.split(config)
162
163
- if extension != 'box':
+ if extension not in ('box', 'osd'):
164
cmd_args.append(extension)
165
166
try:
@@ -335,7 +335,7 @@ def image_to_data(image,
335
336
337
def image_to_osd(image,
338
- lang=None,
+ lang='osd',
339
config='',
340
nice=0,
341
output_type=Output.STRING):
0 commit comments