huichen5796 / 2022-studienarbeit-hui-chen

a tool for detecting tables in image and analysing complex header
3 stars 0 forks source link

Bug bei cv2.imshow() #43

Closed huichen5796 closed 2 years ago

huichen5796 commented 2 years ago

cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1274: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'

huichen5796 commented 2 years ago

Nach pip intall easyocr gibt es auch Bugs bei numpy

huichen5796 commented 2 years ago

Use matplotlib to display images instead of opencv's cv2.imshow() `plt.imshow(img, cmap = 'gray')

plt.show()`