PythonLabZalan: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
[[Optical character recognition]] | [[Optical character recognition]] | ||
[[File:Screen Shot 2018-03-24 at 15.57.10.png|thumb|Input 1]] | |||
[[File:Screen Shot 2018-03-24 at 15.56.58.png|thumb|Output 1]] | |||
Tesseract (with languages you will be using) | Tesseract (with languages you will be using) | ||
* Mac <code>brew install tesseract --all-languages</code> | * Mac <code>brew install tesseract --all-languages</code> | ||
Line 14: | Line 15: | ||
imagemagick | imagemagick | ||
* Mac <code>brew install imagemagick</code> | * Mac <code>brew install imagemagick</code> | ||
how to do it???? | |||
== Python3 == | == Python3 == |
Revision as of 15:59, 24 March 2018
Terminal
Firstly I looked into basic command line functions File:Commands terminal.pdf and their operations for creating a solid base for Python3.
Optical character recognition + Tesseract
Secondarily I experimented in Terminal how to translate PDF or JPG to .txt files with tesseract and imagemagick (convert).
Tesseract (with languages you will be using)
- Mac
brew install tesseract --all-languages
imagemagick
- Mac
brew install imagemagick
how to do it????