Ask Your Question

ell's profile - activity

2020-09-14 13:58:55 -0600 received badge  Notable Question (source)
2019-01-14 08:38:38 -0600 received badge  Popular Question (source)
2015-11-20 03:13:59 -0600 received badge  Enthusiast
2015-11-19 04:16:41 -0600 commented answer extract numbers and bound rectangle on each number

hello turkman, sorry fo late response

the first example it tooks ok, as your sample code, I added 2 other exalple where the horizontal line(thin) actually hits the number and the results damaged the number

2015-11-15 23:27:58 -0600 asked a question to open file .tif 1bit with imread cause access violation

I try to read .tif file 1bit (black&white) with imread :

  1. FF = "D:\Scan\num-03-1.tif";
    image = imread(FF,0); // Read the file
    and got :
    Unhandled exception at 0x0f76ac87 in CV.exe: 0xC0000005: Access violation writing location 0x0042e428.
    tried all parameter possibilities.

  2. if I save the file as .png 1bit :
    FF = "D:\Scan\num-03-1.png";
    the imread , read ok !

  3. if I save the file as .tif 8bit (grayscale):
    FF = "D:\Scan\num-03-8.tif";
    the imread , read ok !

so the question is :
can imread open 1bit .tif files ?

C:\fakepath\num-03-1.tiff

2015-06-28 16:41:50 -0600 commented answer How to extract tables from an image?

Hi theodore, I opened new question: extract numbers and bound rectangle on each number

2015-06-28 16:22:29 -0600 received badge  Editor (source)
2015-06-28 16:21:02 -0600 asked a question extract numbers and bound rectangle on each number

image description

how to extract the numbers in the image above, please note, the number are "touching" the black area. so the numbers will not be damaged for ocr. and how to bound each number (and each "/") with rectangle

another possible line, hitting numbers:

image description

image description

and some more morphologic touching adjacent numbers or letters, follow the "/" touching the "2" :
how to split it correctly ?

image description

2015-06-28 13:23:08 -0600 commented answer How to extract tables from an image?

I tested the the music notes,follow your example I done it with EMGU.CV and it works ok, even I did not understand exactly what is the meaning of each step. I'll try same steps on my letters and open a thread about

2015-06-28 04:08:48 -0600 commented answer How to extract tables from an image?

nice solution for removing lines. in many forms, there is a problem, that the letters touches the horizontal lines how to remove the horizontal lines, but preserve the letters as origin, un-damaged ?

if the letters will be damaged, it will cause OCR engines to fail