playing with functions for OCR on cv backend