Ask Your Question

Resolution to 300 dpi

asked 2014-11-03 06:21:50 -0500

Roop gravatar image


Is there any method to set the Resolution of Mat type image to 300dpi in OpenCV-3.0 before passing it to Tesseract-OCR for further text recognition?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-03 06:53:34 -0500

thdrksdfthmn gravatar image

updated 2014-11-03 14:43:36 -0500

dpi (dots per inch) is a measurement of your pixel's size (used in displaying, or printing). I do not see any use in OCR. If you want to change resolution of your input image of the OCR, you should use resize.

edit flag offensive delete link more


can you share example code in python?

yozawiratama gravatar imageyozawiratama ( 2018-05-23 02:22:47 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-11-03 06:21:50 -0500

Seen: 8,057 times

Last updated: Nov 03 '14