第一步:安装homebrew
GitHub - Homebrew/brew at 4.3.16
第二步:苹果m1处理器下将homebrew添加到系统路径
1、终端下输入:
sudo vim .zprofile
2、随后输入用户密码进入文本,输入e进行编辑模式,输入i进入插入模式(做左下角会有INSERT),添加:
export PATH=/opt/homebrew/bin:$PATH
3、而后esc退出编辑模式,输入:wq退出并保存文本,终端下输入:
source .zprofile
第三步:mac系统中安装Tesseract OCR
1、在终端中输入:brew install tesseract
2、安装完后会显示其中有那些语言包
3、要安装中文或其他语言,在终端中输入:brew install tesseract-lang
4、安装完成后,输入brew link tesseract-lang
5、在zotero工具中的zotero ocr preferences中设置语言路径chi_sim
第四步:安装pdftoppm,在终端输入:brew install poppler
第五步:安装zotero ocr
- Download the XPI file of the latest release.
- In Zotero, go to Tools → Add-ons and drag the .xpi onto the Add-ons window.