I'm wondering whether there is a way to set dpi to 600 using imwrite. I'm trying to write text to an image which I will later need to OCR.
I'm also wondering if there's a particular image format that is best for OCR - disk space and processing time are not a primary constraints (yet). I'm using python 3.4 and opencv2 - would be very appreciative if anyone has any tips for how to increase the dpi.