amannirala13 / HAAR-Cascade-Trainer-Linux

🖼️ This is a HAAR Cascade Classifier training GUI application for Linux. This application make it really easy to train classifiers for object detection and tracking using opencv by providing a Graphical user interface to set parameters and perform necessary steps.
https://amannirala13.github.io/HAAR-Cascade-Creator-OpenCV/
MIT License
32 stars 8 forks source link

Unable to run HAAR-Cascade-Trainer-GUI on Ubuntu 20.04 #8

Open ganezz opened 2 years ago

ganezz commented 2 years ago

Hi Team,

I was trying to Run HAAR Cascade GUI Trainer 1.0 on my Ubuntu 20.04, I have followed the Requirement you mentioned.

When I was trying to run the app/main.py getting an error.

Starting... git version 2.25.1 sh: 1: opencv_createsamples: not found Environment ready! No protocol specified No protocol specified Traceback (most recent call last): File "main.py", line 187, in main_window = tk.Tk() File "/usr/lib/python3.8/tkinter/init.py", line 2270, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: couldn't connect to display ":0"

can you please help me, to run the Trainer application?.

ImAli0 commented 2 years ago

I am having the same issue.