I\'m trying to build id scanner by using webcam alongside with Tesseract.js. Capturing image, cropping important part and sending it to ocr function is working. Trouble comes fo