factful / ocr_testing

Scripts and results from our OCR roundup, available on Source
https://source.opennews.org/articles/so-many-ocr-options/
150 stars 46 forks source link

Clarify Calamari instructions #16

Closed amandabee closed 5 years ago

amandabee commented 5 years ago

The Calamari setup instructions end with:

"calamari-predict should now be available on the commandline"

Am I correct that once that is running you would actually invoke Calamari with lib/ocr.rb calamari {filename} ? If so, we should say that explicitly.

knowtheory commented 5 years ago

Yep, that's correct, i noted that as the way that you'll know that the software was installed correctly.

Happy to either elide that bit, or provide instructions on the command in question. Do you have a preference for which way to go?

amandabee commented 5 years ago

If lib/ocr.rb calamari {filename} is the right way to run Calamari I can fix it.

knowtheory commented 5 years ago

Yep, that's correct.

amandabee commented 5 years ago

Based on the model farther up in the document I used ruby ./lib/ocr.rb calamari {filename} and not lib/ocr.rb ... as proposed here.