<p align="center">
<p align="center"><img width="238" height="135" src="https://pysimplegui.net/images/logos/psglogofull.svg"><p>
<h2 align="center">psgyolo</h2>
<h2 align="center">A PySimpleGUI Application</h2>
</p>
PySimpleGUI openCV YOLO Deep Learning GUI
<p align="center"><img width="418" height="244" src="screenshot.jpg"><p>
<p align="center"><img width="280" height="254" src="screenshot2.gif"><p>
## 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):
```bash
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):
```bash
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/PySimpleGUI/psgyolo",
"name": "psgyolo",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "psgyolo PySimpleGUI AI YOLO artificial intelligence",
"author": "PySimpleSoft Inc.",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/29/a0/ca739214cd9a1b2088e3aec1cfd44a1b79d34d3ba66ad8b6b221b33e2776/psgyolo-5.0.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\r\n <p align=\"center\"><img width=\"238\" height=\"135\" src=\"https://pysimplegui.net/images/logos/psglogofull.svg\"><p>\r\n\r\n <h2 align=\"center\">psgyolo</h2>\r\n <h2 align=\"center\">A PySimpleGUI Application</h2>\r\n</p>\r\n\r\nPySimpleGUI openCV YOLO Deep Learning GUI\r\n\r\n<p align=\"center\"><img width=\"418\" height=\"244\" src=\"screenshot.jpg\"><p>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<p align=\"center\"><img width=\"280\" height=\"254\" src=\"screenshot2.gif\"><p>\r\n\r\n\r\n## Features\r\n\r\n* Shows how to create an AI object identification GUI application\r\n* Identifies objects as per YOLO library\r\n* Teaches going from a command line OpenCV application to an entirely window-based\r\n* Use as a starting point for other AI projects that are command line projects\r\n## Installation\r\n\r\n### Using PIP with PyPI\r\n\r\nThe latest official release of PySimpleGUI products can be found on PyPI. To pip install the demo applications from PyPI, use this command\r\n\r\n#### If you use the command `python` on your computer to invoke Python (Windows):\r\n\r\n`python -m pip install --upgrade psgyolo`\r\n\r\n#### If you use the command `python3` on your computer to invoke Python (Linux, Mac):\r\n\r\n`python3 -m pip install --upgrade psgyolo`\r\n\r\n### Using PIP with GitHub\r\n\r\nYou 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:\r\n\r\n#### If you use the command `python` on your computer to invoke Python (Windows):\r\n\r\n```bash\r\npython -m pip install --upgrade https://github.com/PySimpleGUI/psgyolo/zipball/main\r\n```\r\n\r\n#### If you use the command `python3` on your computer to invoke Python (Linux, Mac):\r\n\r\n```bash\r\npython3 -m pip install --upgrade https://github.com/PySimpleGUI/psgyolo/zipball/main\r\n```\r\n\r\n## Usage\r\n\r\nOnce installed, launch psgyolo by typing the following in your command line:\r\n\r\n`psgyolo`\r\n\r\n## Running the Demos\r\n \r\nYou will need to pip install openCV and PySimpleGUI\r\n```\r\npip install opencv-python\r\npip install pysimplegui\r\n```\r\n\r\nRun any of the .py files in the top level directory:\r\n```\r\nyolo.py - single image processing\r\nyolo_video.py Video display\r\nyolo_video_with_webcam.py - webcam or file source. Option to write to hard drive\r\n```\r\nAnd you'll need the training data. It's 242 MB and too large for GitHub:\r\nhttps://www.dropbox.com/s/uf00d4ov6fmw0he/yolov3.weights?dl=1\r\n\r\n## Learn More\r\n\r\nThis code has an article associated with it that will step you through the code (minus GUI part).\r\n\r\nhttps://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/\r\n\r\n\r\n## Acknowledgements\r\nThis software is provided by Dr. Adrian Rosebrock of the pyimagesearch organization.\r\nhttps://www.pyimagesearch.com\r\n\r\n## License & Copyright\r\n\r\nCopyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.\r\n\r\nThis is a free-to-use \"Utility\" and is licensed under the\r\nPySimpleGUI License Agreement, a copy of which is included in the\r\nlicense.txt file and also available at https://pysimplegui.com/eula.\r\n\r\nPlease see Section 1.2 of the license regarding the use of this Utility,\r\nand see https://pysimplegui.com/faq for any questions.\r\n\r\n\r\n## Contributing\r\n\r\nWe are happy to receive issues describing bug reports and feature\r\nrequests! If your bug report relates to a security vulnerability,\r\nplease do not file a public issue, and please instead reach out to us\r\nat issues@PySimpleGUI.com.\r\n\r\nWe do not accept (and do not wish to receive) contributions of\r\nuser-created or third-party code, including patches, pull requests, or\r\ncode snippets incorporated into submitted issues. Please do not send\r\nus any such code! Bug reports and feature requests should not include\r\nany source code.\r\n\r\nIf you nonetheless submit any user-created or third-party code to us,\r\n(1) you assign to us all rights and title in or relating to the code;\r\nand (2) to the extent any such assignment is not fully effective, you\r\nhereby grant to us a royalty-free, perpetual, irrevocable, worldwide,\r\nunlimited, sublicensable, transferrable license under all intellectual\r\nproperty rights embodied therein or relating thereto, to exploit the\r\ncode in any manner we choose, including to incorporate the code into\r\nPySimpleGUI and to redistribute it under any terms at our discretion.\r\n",
"bugtrack_url": null,
"license": "Free To Use But Restricted",
"summary": "Using PySimpleGUI with OpenCV to perform object detection using YOLO AI algorithm",
"version": "5.0.0",
"project_urls": {
"Homepage": "https://github.com/PySimpleGUI/psgyolo"
},
"split_keywords": [
"psgyolo",
"pysimplegui",
"ai",
"yolo",
"artificial",
"intelligence"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b0f860eca76d8d0a6b9b3bdd4944d5082c4c35b963ee55ccc7eef1f5c63e0318",
"md5": "68a5c6d8856e0c8d71d5cf7574dffab4",
"sha256": "5b596a220a61015b3d57c23bb08e133e694e385396b4f1f045503c72ef7d7c51"
},
"downloads": -1,
"filename": "psgyolo-5.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "68a5c6d8856e0c8d71d5cf7574dffab4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4918685,
"upload_time": "2024-02-26T11:29:20",
"upload_time_iso_8601": "2024-02-26T11:29:20.885730Z",
"url": "https://files.pythonhosted.org/packages/b0/f8/60eca76d8d0a6b9b3bdd4944d5082c4c35b963ee55ccc7eef1f5c63e0318/psgyolo-5.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "29a0ca739214cd9a1b2088e3aec1cfd44a1b79d34d3ba66ad8b6b221b33e2776",
"md5": "13097af9ab91a5092b2112d614513919",
"sha256": "1081c62a4262f12c0ddd097997819bb9b742becc536810cad80accb5cd5a678c"
},
"downloads": -1,
"filename": "psgyolo-5.0.0.tar.gz",
"has_sig": false,
"md5_digest": "13097af9ab91a5092b2112d614513919",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4920248,
"upload_time": "2024-02-26T11:29:28",
"upload_time_iso_8601": "2024-02-26T11:29:28.668830Z",
"url": "https://files.pythonhosted.org/packages/29/a0/ca739214cd9a1b2088e3aec1cfd44a1b79d34d3ba66ad8b6b221b33e2776/psgyolo-5.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-26 11:29:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PySimpleGUI",
"github_project": "psgyolo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "psgyolo"
}