psgyolo
A PySimpleGUI Application
PySimpleGUI openCV YOLO Deep Learning GUI
Features
- Shows how to create an AI object identification GUI application
- Identifies objects as per YOLO library
- Teaches going from a command line OpenCV application to an entirely window-based
- Use as a starting point for other AI projects that are command line projects
Installation
Using PIP with PyPI
The latest official release of PySimpleGUI products can be found on PyPI. To pip install the demo applications from PyPI, use this command
If you use the command python on your computer to invoke Python (Windows):
python -m pip install --upgrade psgyolo
If you use the command python3 on your computer to invoke Python (Linux, Mac):
python3 -m pip install --upgrade psgyolo
Using PIP with GitHub
You can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account. The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:
If you use the command python on your computer to invoke Python (Windows):
python -m pip install --upgrade https://github.com/PySimpleGUI/psgyolo/zipball/main
If you use the command python3 on your computer to invoke Python (Linux, Mac):
python3 -m pip install --upgrade https://github.com/PySimpleGUI/psgyolo/zipball/main
Usage
Once installed, launch psgyolo by typing the following in your command line:
psgyolo
Running the Demos
You will need to pip install openCV and PySimpleGUI
pip install opencv-python
pip install pysimplegui
Run any of the .py files in the top level directory:
yolo.py - single image processing
yolo_video.py Video display
yolo_video_with_webcam.py - webcam or file source. Option to write to hard drive
And you'll need the training data. It's 242 MB and too large for GitHub: https://www.dropbox.com/s/uf00d4ov6fmw0he/yolov3.weights?dl=1
Learn More
This code has an article associated with it that will step you through the code (minus GUI part).
https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/
Acknowledgements
This software is provided by Dr. Adrian Rosebrock of the pyimagesearch organization. https://www.pyimagesearch.com
License & Copyright
Copyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.
This is a free-to-use "Utility" and is licensed under the PySimpleGUI License Agreement, a copy of which is included in the license.txt file and also available at https://pysimplegui.com/eula.
Please see Section 1.2 of the license regarding the use of this Utility, and see https://pysimplegui.com/faq for any questions.
Contributing
We are happy to receive issues describing bug reports and feature requests! If your bug report relates to a security vulnerability, please do not file a public issue, and please instead reach out to us at issues@PySimpleGUI.com.
We do not accept (and do not wish to receive) contributions of user-created or third-party code, including patches, pull requests, or code snippets incorporated into submitted issues. Please do not send us any such code! Bug reports and feature requests should not include any source code.
If you nonetheless submit any user-created or third-party code to us, (1) you assign to us all rights and title in or relating to the code; and (2) to the extent any such assignment is not fully effective, you hereby grant to us a royalty-free, perpetual, irrevocable, worldwide, unlimited, sublicensable, transferrable license under all intellectual property rights embodied therein or relating thereto, to exploit the code in any manner we choose, including to incorporate the code into PySimpleGUI and to redistribute it under any terms at our discretion.
Metadata
Release files for psgyolo 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| psgyolo-5.0.0.tar.gz | 4.9 MB | Without provenance | Details for psgyolo-5.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psgyolo-5.0.0-py3-none-any.whl | Python 3 | none | any | Details for psgyolo-5.0.0-py3-none-any.whl |
Total release size: 9.8 MB
Release files / psgyolo-5.0.0.tar.gz
| Download URL | psgyolo-5.0.0.tar.gz |
|---|---|
| Size | 4.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1081c62a4262f12c0ddd097997819bb9b742becc536810cad80accb5cd5a678c
|
|
BLAKE2b-256 checksum How to use checksums |
29a0ca739214cd9a1b2088e3aec1cfd44a1b79d34d3ba66ad8b6b221b33e2776
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.11
|
Release files / psgyolo-5.0.0-py3-none-any.whl
| Download URL | psgyolo-5.0.0-py3-none-any.whl |
|---|---|
| Size | 4.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b596a220a61015b3d57c23bb08e133e694e385396b4f1f045503c72ef7d7c51
|
|
BLAKE2b-256 checksum How to use checksums |
b0f860eca76d8d0a6b9b3bdd4944d5082c4c35b963ee55ccc7eef1f5c63e0318
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.11
|
Security for psgyolo 5.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.