# cython_bbox
COPIED FROM THE ORIGINAL [cython-bbox](https://github.com/samson-wang/cython_bbox)
Credits:
* samson-wang
* Yyuk-Liao
* a-j-paul
* Philip Fu (cython_bbox_fix)
Modifications have been made from the original code to update for new numpy versions
---
The original README is repeated below
---
cython_bbox is widely used in object detection tasks. To my best knowledge, it was first implemented in [Faster-RCNN](https://github.com/rbgirshick/py-faster-rcnn). Since then, almost all object detection projects use the source code directly.
In order to use it in standalone code snippets or small projects, I make it a pypi module. The `cython_bbox.pyx` is totally borrowed from [Faster-RCNN](https://github.com/rbgirshick/py-faster-rcnn). Thanks [RBG](http://www.rossgirshick.info/)!
## install
```
pip install cython_bbox
```
## usage
```
from cython_bbox import bbox_overlaps
overlaps = bbox_overlaps(
np.ascontiguousarray(dt, dtype=np.float32),
np.ascontiguousarray(gt, dtype=np.float32)
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/sr99622/cython_bbox_og",
"name": "cython-bbox-og",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cython_bbox_og",
"author": "",
"author_email": "",
"download_url": "",
"platform": null,
"description": "# cython_bbox\r\n\r\nCOPIED FROM THE ORIGINAL [cython-bbox](https://github.com/samson-wang/cython_bbox)\r\n\r\nCredits:\r\n\r\n* samson-wang\r\n* Yyuk-Liao\r\n* a-j-paul\r\n* Philip Fu (cython_bbox_fix)\r\n\r\nModifications have been made from the original code to update for new numpy versions\r\n\r\n---\r\nThe original README is repeated below\r\n\r\n---\r\n\r\ncython_bbox is widely used in object detection tasks. To my best knowledge, it was first implemented in [Faster-RCNN](https://github.com/rbgirshick/py-faster-rcnn). Since then, almost all object detection projects use the source code directly.\r\n\r\nIn order to use it in standalone code snippets or small projects, I make it a pypi module. The `cython_bbox.pyx` is totally borrowed from [Faster-RCNN](https://github.com/rbgirshick/py-faster-rcnn). Thanks [RBG](http://www.rossgirshick.info/)!\r\n\r\n## install\r\n\r\n```\r\npip install cython_bbox\r\n```\r\n\r\n## usage\r\n\r\n\r\n```\r\nfrom cython_bbox import bbox_overlaps\r\noverlaps = bbox_overlaps(\r\n np.ascontiguousarray(dt, dtype=np.float32),\r\n np.ascontiguousarray(gt, dtype=np.float32)\r\n )\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Standalone cython_bbox",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/sr99622/cython_bbox_og"
},
"split_keywords": [
"cython_bbox_og"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2040a6b25ab0b55311347d03910f6dd9412708c9fff481da77be4e7ac67dd74d",
"md5": "2d1e8eaf61da8e03f36d8d68bc5afa82",
"sha256": "f3691f3a62d198a73490cee7baab3184d8c277559cab51d249ce924f86381bdb"
},
"downloads": -1,
"filename": "cython_bbox_og-1.0.0-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "2d1e8eaf61da8e03f36d8d68bc5afa82",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 23885,
"upload_time": "2023-05-26T03:44:33",
"upload_time_iso_8601": "2023-05-26T03:44:33.287995Z",
"url": "https://files.pythonhosted.org/packages/20/40/a6b25ab0b55311347d03910f6dd9412708c9fff481da77be4e7ac67dd74d/cython_bbox_og-1.0.0-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c1ece55f113e00d3b6954853f5e930ccc5b066306ba5d87ec190ed2724b3af57",
"md5": "122f174d2ad24e0662ae245b6dba24eb",
"sha256": "40e5fc77659747ed4decb1a7db9b0b7e5862a9f14a1e7b365daf00a3ed77022e"
},
"downloads": -1,
"filename": "cython_bbox_og-1.0.0-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "122f174d2ad24e0662ae245b6dba24eb",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 24039,
"upload_time": "2023-05-26T03:44:35",
"upload_time_iso_8601": "2023-05-26T03:44:35.521728Z",
"url": "https://files.pythonhosted.org/packages/c1/ec/e55f113e00d3b6954853f5e930ccc5b066306ba5d87ec190ed2724b3af57/cython_bbox_og-1.0.0-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "81a18b12fe6a53e642509f927de204a8a6223e703a97ece8c1644ee2614b759b",
"md5": "eff4979adc0289e5b9a75437e492755a",
"sha256": "4b007f8cbf392b414cfd43cda3667756d30a3c8acba75efeda262cf3df4710a4"
},
"downloads": -1,
"filename": "cython_bbox_og-1.0.0-cp38-cp38-win_amd64.whl",
"has_sig": false,
"md5_digest": "eff4979adc0289e5b9a75437e492755a",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": null,
"size": 23932,
"upload_time": "2023-05-26T03:44:37",
"upload_time_iso_8601": "2023-05-26T03:44:37.608444Z",
"url": "https://files.pythonhosted.org/packages/81/a1/8b12fe6a53e642509f927de204a8a6223e703a97ece8c1644ee2614b759b/cython_bbox_og-1.0.0-cp38-cp38-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd92d3bd41e0b210b633632cde39264c50628685b05dd27bfd878507e95b28ea",
"md5": "e677b91b4c917e6227af9c5254f11404",
"sha256": "5cb5f785c723ab67f7b30342ffbdd51c7435cc481e327d8c469e7f3b82075d56"
},
"downloads": -1,
"filename": "cython_bbox_og-1.0.0-cp39-cp39-win_amd64.whl",
"has_sig": false,
"md5_digest": "e677b91b4c917e6227af9c5254f11404",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": null,
"size": 23876,
"upload_time": "2023-05-26T03:44:39",
"upload_time_iso_8601": "2023-05-26T03:44:39.656582Z",
"url": "https://files.pythonhosted.org/packages/fd/92/d3bd41e0b210b633632cde39264c50628685b05dd27bfd878507e95b28ea/cython_bbox_og-1.0.0-cp39-cp39-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-26 03:44:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sr99622",
"github_project": "cython_bbox_og",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cython-bbox-og"
}