I am using OpenCV (cv2) to crop a table header into individual cells. I then get the coordinates for each cell to insert them into a workbook using pandas. This process works fine for normal headers, but it’s not working for headers like the one in the attached image.
enter image description here
Can anyone suggest how to modify my approach to handle headers with merged cells or unconventional layouts like the one shown?