Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI for YOLO with Tkinter library #2616

Open
petulka8s opened this issue Jul 17, 2023 · 2 comments
Open

GUI for YOLO with Tkinter library #2616

petulka8s opened this issue Jul 17, 2023 · 2 comments

Comments

@petulka8s
Copy link

petulka8s commented Jul 17, 2023

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?

tkinter

@Alperencode
Copy link
Contributor

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.

@AlexandrLarionov
Copy link

Good day, I’m a beginner in similar task and I wand to contact with you to ask something about your program files. Can you please write me on email - [email protected] or Telegram @alexmetx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants