Add OCR text to Notes...
attributes of images in Eagle.
USE AT YOUR OWN RISK! TAKE BACKUP OF LIBRARY BEFORE USE!
Image by Wikipedia
- Write OCR text into Note attributes, which is easy to search
- Skip writing OCR text if Note already exists
- OCR is provided by Cloud Vision API, which supports many languages
- Google Cloud Platform (GCP) credential for calling Cloud Vision API
- node (pnpm is preffered)
Set up GCP credential, then type
pnpm install
pnpm run ocr <Images.library path>
Then, Force Realod Library
in Eagle.
You can search images with OCR result.
- Approximately $1.5 per 1,000 images. If you want to filter some images out, modify code.
- Currently, there is no special deal with break lines. Removing BRs has pros/cons, so this topic is debatable.