Unable to use OCR on mac

Asked by Chetan

when i run OCR when i get below error on mac machine
SikuliXeception: org.sikuli.script.Sikuliexception: OCR: libtesseract.dylib not in /usr/local/lib
how can i fix it?
sometime back i remember installaing tesseract but forgot the steps

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Chetan
Solved:
Last query:
Last reply:
Revision history for this message
Chetan (cshamdas) said (last edit ):
#1

adding the solution for other users
in case of arm m1 mac chip  you need to the below command in terminal
arch -x86_64 /usr/bin/env bash

Install macports https://www.macports.org/install.php
sudo port install tesseract@4.1.3
sudo post install tesseract-end