How to get different blocks from the borders in image using OpenCV
I am using OpenCV with C++.
I have the following image
I want to replicate the cell structure in this image into an excel sheet.I have managed to OCR the texts but not getting exactly how we can replicate the structure to excel.
I was thinking of cropping out the blocks and so I tried few techniques like using HoughLinesP()
for seperating each cell but its just not working and also tried line pattern matching with minMaxLoc()
but that's also not giving a good result.
I am not looking to totally replicate the exact cells in the image but to atleast acheive to replicate the simpler cells .
Is there any reliable technique to do this in OpenCV ?
please have a look in these threads: 1, 2, and 3
@theodore - Very helpful links !!! :)