How to extract different table data from scanned pdf