Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Isolate digits/characters, get bounding boxes

I am trying to do OCR on some digits. I am able to build up a list with image moments from each character and achieve pretty decent results. However, I am currently isolating each digits almost manually right know, because I am not able to get a bounding box around each digit.

I am using the Java API for openCV, and I was hoping someone could point me in the right direction of how I could isolate the digits, and calculate image moments for each digits.

My image currently looks like this: image description

Isolate digits/characters, get bounding boxes

I am trying to do OCR on some digits. I am able to build up a list with image moments from for each character and achieve pretty decent results. However, I am currently isolating each digits almost manually right know, because I am not able to get a bounding box around each digit.

I am using the Java API for openCV, and I was hoping someone could point me in the right direction of how I could isolate the digits, and calculate image moments for each digits.

My image currently looks like this: image description

click to hide/show revision 3
retagged

updated 2014-03-11 08:33:21 -0500

berak gravatar image

Isolate digits/characters, get bounding boxes

I am trying to do OCR on some digits. I am able to build up a list with image moments for each character and achieve pretty decent results. However, I am currently isolating each digits almost manually right know, because I am not able to get a bounding box around each digit.

I am using the Java API for openCV, and I was hoping someone could point me in the right direction of how I could isolate the digits, and calculate image moments for each digits.

My image currently looks like this: image description

Isolate digits/characters, get bounding boxes

I am trying to do OCR on some digits. I am able to build up a list with image moments for each character and achieve pretty decent results. However, I am currently isolating each digits almost manually right know, because I am not able to get a bounding box around each digit.

I am using the Java API for openCV, and I was hoping someone could point me in the right direction of how I could isolate the digits, and calculate image moments for each digits.

My image currently looks like this: image description