Learn more about image pre-processing for OCR and try out opencv.js