简单的命令行实用程序,用于使用 Apple 的 Vision 框架执行 OCR

奥克里特

对输入图像运行 Vision 的 OCR 并输出每个图像的相应文件,或将识别的结果写入标准输出。txt

USAGE: ocrit [<image-paths> ...] [--output <output>] [--language <language> ...]

ARGUMENTS:
  <image-paths>           Path or list of paths for the images

OPTIONS:
  -o, --output <output>   Path to a directory where the txt files will be
                          written to, or - for standard output (default: -)
  -l, --language <language>
                          Language code to use for the recognition, can be
                          repeated to select multiple languages
  -h, --help              Show help information.

GitHub

查看 Github