Ask Your Question
0

Resolution to 300 dpi

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

Roop gravatar image

hi!

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?

Thanks..

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

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

thdrksdfthmn gravatar image

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

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

Comments

can you share example code in python?

yozawiratama gravatar imageyozawiratama ( 2018-05-23 02:22:47 -0600 )edit

Question Tools

Stats

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

Seen: 12,495 times

Last updated: Nov 03 '14