First time here? Check out the FAQ!

Ask Your Question
-1

OCR in openCv - how to locate letters

asked Jan 23 '15

Peter55555 gravatar image

I want to write some kind of OCR in openCV (C++). It's not an OCR for normally text. I have letters in random places on the white background (with small noises).

Before recognizing letters I'd like to find them.

How to do that the best? I'd like to get them as matched rectangle area or vectors of Points with found letter.

Preview: (hide)

Comments

1

Hello, I have a school project and I want you to solve it for me ... no thanks. I also got the idea that you were the one mailing me. Please show some initiative. Reading the FAQ can help, because googling for OCR and OpenCV leaves you with hundreds of guides!

StevenPuttemans gravatar imageStevenPuttemans (Jan 23 '15)edit

No, I don't want you to solve it for me. I asked only for name of class/function. Name of method. Not pasting code. I've found the most popular (the most linked) tutorial by Damiles. It hasn't got this step. I'm beginner I ask only what class/function I should learn. Is it too much for this forum?

Peter55555 gravatar imagePeter55555 (Jan 23 '15)edit
2

Well then:

  • threshold - normal / otsu / adaptive
  • findcontours
  • isolate every single contour
StevenPuttemans gravatar imageStevenPuttemans (Jan 23 '15)edit

1 answer

Sort by » oldest newest most voted
1

answered Jan 23 '15

Peter55555 gravatar image

Thanks a lot.

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Jan 23 '15

Seen: 394 times

Last updated: Jan 23 '15