DevashishPrasad / CascadeTabNet

This repository contains the code and implementation details of the CascadeTabNet paper "CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documents"
MIT License
1.46k stars 422 forks source link

ValueError: too many values to unpack (expected 2) in Table Structure Recognition/Functions/blessFunc.py #87

Open hero710690 opened 3 years ago

hero710690 commented 3 years ago

Hi,

I found that the code might has a little mistake in line 21, so I just modified the code to_, contours, hierarchy = cv2.findContours(dilation, cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_N).

If I did wrong, just let me know, thanks.