Ask Your Question
2

How to detect numbers in a picture if use opencv

asked 2018-08-31 05:29:51 -0500

andylanzhiyong gravatar image

Hello,I'm trying to detect numbers in a picture. I cut a row of image as follows:image description first,I calculated the height of the most characters,then the numbers's height are lower .And the numbers's width is smaller than height.But sometimes,the numbers are together.This is my trouble. Who can help me? Thank you very much in advance!

edit retag flag offensive close merge delete

Comments

Take a look at machine learning - extracting digits from an image is the "Hello World" for machine learniing. That means is actually "pretty easy"

Take a look here https://www.tensorflow.org/tutorials/

Cnn (convolutionary neuronal networks) is the way to go for this kind of problems. It has a steep learning curve but is worth the effort it as it solves these kind of problem best.

You can also run these models on top of open cv if u want to.

holger gravatar imageholger ( 2018-08-31 06:16:02 -0500 )edit

have a look at east

jsxyhelu gravatar imagejsxyhelu ( 2018-08-31 08:58:19 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2018-08-31 07:29:00 -0500

Have a look here: a complete and up to date list of techniques for extracting text from images!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-08-31 05:29:51 -0500

Seen: 57 times

Last updated: Aug 31 '18