GUI for YOLO with Tkinter library
petulka8s opened this issue · 2 comments
Hi,
I am able to run YOLO and detect objects. I created GUI for users that calls main() function from darknet_images.py.
I run it from VS Code and it seems that everything works well.
Now, I want to pack solution to exe file. So the user only open exe application and will use YOLO detector through GUI. Since I am quite beginner, I am really not sure how. I tried pyinstaller, but there will be probably different approach. Should I use Makefile or CMakeLists similarly as creation of darknet.exe? Or is there easier way? I already checked that files and I am really not sure because of all dll files, additional librariries and code in C, how to solve this. Please do you have any advices?
Hi @petulka8s,
If you just want to make the program executable you can use pyinstaller as you said. Pyinstaller creates an exe file of the selected program and users don't need to install any modules, libraries, or even Python. So if you are a beginner and don't want to dig in so much pyinstaller is the easiest option as I know.
Example pyinstaller usage:
$ pyinstaller --onefile -w FileName.py
-w
stands for--windowed
and--noconsole
which you may want when you are developing a GUI program that doesn't needs a console in the background.- See
pyinstaller --help
for further details.