#!/bin/bash INPUT_IMAGE=$1 raw_text=$(tesseract $INPUT_IMAGE stdout) echo $raw_text echo "" echo +++real raw+++ echo "" tesseract $INPUT_IMAGE stdout