You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute 'tesseract --list-langs' I do see 'osd' on my mac.
I see Docsplit::DEPENDENCIES[:tesseract] is true and Docsplit::DEPENDENCIES[:osd] is false
Tracked it down to these 33-37 lines in 'lib/docsplit.rb'
if DEPENDENCIES[:tesseract]
# osd will be listed in tesseract --listlangs
val = %x[ #{'tesseract --list-langs'} 2>&1 >/dev/null ]
DEPENDENCIES[:osd] = true if val =~ /\bosd\b/
end
Not sure why the '> /dev/null' is there but that would make 'val' assignment be empty and cause DEPENDENCIES[:osd] = false
The text was updated successfully, but these errors were encountered:
When I execute 'tesseract --list-langs' I do see 'osd' on my mac.
I see Docsplit::DEPENDENCIES[:tesseract] is true and Docsplit::DEPENDENCIES[:osd] is false
Tracked it down to these 33-37 lines in 'lib/docsplit.rb'
if DEPENDENCIES[:tesseract]
# osd will be listed in tesseract --listlangs
val = %x[ #{'tesseract --list-langs'} 2>&1 >/dev/null ]
DEPENDENCIES[:osd] = true if val =~ /\bosd\b/
end
Not sure why the '> /dev/null' is there but that would make 'val' assignment be empty and cause DEPENDENCIES[:osd] = false
The text was updated successfully, but these errors were encountered: