(tesspy_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ ls fox_1.png fox_2.png temp_img.jpg tesseract_ocr_image.py (tesspy_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ conda env list # conda environments: # base /home/jo/anaconda3 algor_env /home/jo/anaconda3/envs/algor_env easyocr_env /home/jo/anaconda3/envs/easyocr_env networking_env /home/jo/anaconda3/envs/networking_env scrape_env /home/jo/anaconda3/envs/scrape_env tesseract_env /home/jo/anaconda3/envs/tesseract_env tessocr_env /home/jo/anaconda3/envs/tessocr_env tesspy_env * /home/jo/anaconda3/envs/tesspy_env trekhleb_env /home/jo/anaconda3/envs/trekhleb_env (tesspy_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ conda activate tessocr_env (tessocr_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ python3 tesseract_ocr_image.py The quick brown fox jumps over the lazy dog. Traceback (most recent call last): File "tesseract_ocr_image.py", line 34, in cv2.imshow("Actual Image",image_to_ocr) cv2.error: OpenCV(4.5.3) /tmp/pip-req-build-f51eratu/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' (tessocr_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ conda activate tesspy_env (tesspy_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ python3 tesseract_ocr_image.py The quick brown fox jumps over the lazy dog. qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/jo/anaconda3/envs/tesspy_env/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: xcb. Aborted (core dumped) (tesspy_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ conda activate tesseract_env (tesseract_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$ python3 tesseract_ocr_image.py The quick brown fox jumps over the lazy dog. qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/jo/anaconda3/envs/tesseract_env/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: xcb. Aborted (core dumped) (tesseract_env) jo@white:Chapter 7 Tesseract Image OCR Implementation$