I am trying to parse some pdf files in order to extract some key information.There is number of tables in each pdf that contains a part of these information. So I tried to use camelot to extract tables and I got good results but I want to extract the title of each table because I want to do a mapping for each table with its title. So I tried to get the coordinates of each table using tables[i]._bbox
and then add some margin to these coordinates to detect the area of the title of the table(it can be on the top, on the left or on the bottom of the table) as shown in the images : title of table on the left
Can anyone tell me how to get the coordinates of the red area containing the title of table from pdf based on the table coordinates using python?