/GoogleOCR

A simple ruby script to use Google Vision API

Primary LanguageRubyOtherNOASSERTION

Simple Google OCR

Bootstrap

To use the script, please clone or download this repository and run

$ ./bootstrap.sh

if bootstrap.sh is not executable, try $ sh bootstrap.sh instead.

You need to add your api key in .env

Usage

Detect text in image file

$ ruby main.rb test.png

Check if text include specific keyword

$ ruby main.rb test.png keyword

License

Beer-Ware License