ocrad

OCR program that converts scanned images to text

brewmacoslinux
Try with needOr install directly
Source

About

Optical character recognition (OCR) program

Commands

ocrad

Examples

Convert a scanned image to text$ ocrad image.png -o output.txt
Perform OCR on an image and display output to stdout$ ocrad document.jpg
OCR with specific layout recognition$ ocrad -l 2 scan.png