I am working on non gridded table detection and extraction. I have tried few algorithms for detection ,but am not able to detect the table perfectly.Please give me some suggestions.
If you still haven't, you can take a look on "A Survey on Table Recognition".
You can try Tesseract OCR by Google, maybe it has something specific for table detection.
If your problem is in the detection, you can do something similar to recursive XY-Cuts.
Or you can train your favourite classifiers to discriminate among text, photos, and tables.
Once you find a table, I think that simple OCR will perform good. Or you can rely on horizontal and vertical projections (just like XY-Cuts does) to find divions among cells.
Again, there are probably already many approaches and many methods. Avoid reinventing the wheel.