Name | wow-ocr JSON |
Version |
0.0.3
JSON |
| download |
home_page | |
Summary | A packaged OCR model to read texts into WoW screenshots |
upload_time | 2023-06-04 15:06:56 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.9 |
license | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
ocr
wow
screenshot
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
WoW Screenshot OCR
==============
Deep learning OCR models to read text from WoW screenshots. Based on a detector that spots text frames, and a recognizer that reads text from detected frames.
- Chat
- Combat log
- Nameplates
- UI frames
- Map
Installation
-----
### ```pip install wow-ocr```
Usage
----
Models use pre trained weights, you don't have to train anything. [Try it on Colab](https://colab.research.google.com/drive/1w4YIS--7qSzdSrwKPcQfqO988PlrxuCM?usp=sharing)
```
import wow_ocr
# Init pipeline, detector and recognizer models with pre trained weights
pipeline = wow_ocr.pipeline.Pipeline()
# Screenshots example
images = [
wow_ocr.tools.read(url)
for url in [
"https://image_url.com/1.jpg",
"https://image_url.com/2.jpg",
]
]
# Results - Image to Text
prediction_groups = pipeline.recognize(images)
# # Each list of predictions in prediction_groups is a list of
# # (word, box) tuples.
```
![](p1.webp)
![](p2.webp)
Raw data
{
"_id": null,
"home_page": "",
"name": "wow-ocr",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "ocr,wow,screenshot",
"author": "",
"author_email": "Geo <geoffrey.menon38@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/38/a2/015e16048808c83398ab7fc63dd258ca0c2ba523ecf45ab38c068d06f59e/wow-ocr-0.0.3.tar.gz",
"platform": null,
"description": "WoW Screenshot OCR\n==============\n\nDeep learning OCR models to read text from WoW screenshots. Based on a detector that spots text frames, and a recognizer that reads text from detected frames.\n\n- Chat\n- Combat log\n- Nameplates\n- UI frames\n- Map\n\nInstallation\n-----\n\n### ```pip install wow-ocr```\n\n\nUsage\n----\n\nModels use pre trained weights, you don't have to train anything. [Try it on Colab](https://colab.research.google.com/drive/1w4YIS--7qSzdSrwKPcQfqO988PlrxuCM?usp=sharing)\n\n```\nimport wow_ocr\n\n# Init pipeline, detector and recognizer models with pre trained weights\npipeline = wow_ocr.pipeline.Pipeline()\n\n\n# Screenshots example\nimages = [\n wow_ocr.tools.read(url)\n for url in [\n \"https://image_url.com/1.jpg\",\n \"https://image_url.com/2.jpg\",\n ]\n]\n\n# Results - Image to Text\nprediction_groups = pipeline.recognize(images)\n# # Each list of predictions in prediction_groups is a list of\n# # (word, box) tuples.\n\n```\n\n![](p1.webp)\n![](p2.webp)\n",
"bugtrack_url": null,
"license": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "A packaged OCR model to read texts into WoW screenshots",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/geo-tp/wow-ocr"
},
"split_keywords": [
"ocr",
"wow",
"screenshot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f95a68b47da9808307e48504832e19c15fffe3cdd14b0f15cc01da5c8fb0438",
"md5": "26e37f48e95a186dc492880882f4713c",
"sha256": "d8a80fee942e7397104fe1e00e8c05039be6b2391bc45492b4aed395e6b7ec10"
},
"downloads": -1,
"filename": "wow_ocr-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26e37f48e95a186dc492880882f4713c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 22052,
"upload_time": "2023-06-04T15:06:53",
"upload_time_iso_8601": "2023-06-04T15:06:53.643979Z",
"url": "https://files.pythonhosted.org/packages/9f/95/a68b47da9808307e48504832e19c15fffe3cdd14b0f15cc01da5c8fb0438/wow_ocr-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "38a2015e16048808c83398ab7fc63dd258ca0c2ba523ecf45ab38c068d06f59e",
"md5": "2e2a42bc368b71fdaccbf083f8629dc6",
"sha256": "ef14cf09a348846970718f12e11567cd12a75797d1686422e3f27390375606e0"
},
"downloads": -1,
"filename": "wow-ocr-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "2e2a42bc368b71fdaccbf083f8629dc6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 21234,
"upload_time": "2023-06-04T15:06:56",
"upload_time_iso_8601": "2023-06-04T15:06:56.209139Z",
"url": "https://files.pythonhosted.org/packages/38/a2/015e16048808c83398ab7fc63dd258ca0c2ba523ecf45ab38c068d06f59e/wow-ocr-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-04 15:06:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "geo-tp",
"github_project": "wow-ocr",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "wow-ocr"
}