# cython_bbox
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/samson-wang/cython_bbox.git",
"name": "cython-bbox-fix",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cython_bbox_fix",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/aa/a2/5fbc934c98375233572f8172f879e481d421796b3152ec5912a75ba908f5/cython_bbox_fix-2023.4.21.tar.gz",
"platform": null,
"description": "# cython_bbox\n\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.\n\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/)!\n\n## install\n\n```\npip install cython_bbox\n```\n\n## usage\n\n\n```\nfrom cython_bbox import bbox_overlaps\noverlaps = bbox_overlaps(\n np.ascontiguousarray(dt, dtype=np.float32),\n np.ascontiguousarray(gt, dtype=np.float32)\n )\n\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Standalone cython_bbox",
"version": "2023.4.21",
"split_keywords": [
"cython_bbox_fix"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "017befceaee2d24b1e64c48a8c28256003300ab0e5d0a97a2b4a84d581a9f860",
"md5": "65f01d56ac0a2aeebe05145e695dee15",
"sha256": "fccdb73e43435154e5fe0912b2377e9e1b8e3c88073e1121665119483bd0c004"
},
"downloads": -1,
"filename": "cython_bbox_fix-2023.4.21-cp39-cp39-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "65f01d56ac0a2aeebe05145e695dee15",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": null,
"size": 18754,
"upload_time": "2023-04-20T23:28:23",
"upload_time_iso_8601": "2023-04-20T23:28:23.977581Z",
"url": "https://files.pythonhosted.org/packages/01/7b/efceaee2d24b1e64c48a8c28256003300ab0e5d0a97a2b4a84d581a9f860/cython_bbox_fix-2023.4.21-cp39-cp39-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aaa25fbc934c98375233572f8172f879e481d421796b3152ec5912a75ba908f5",
"md5": "353052eea1c08cbbd00fa877c5de85fb",
"sha256": "fe485c83f1a65482381f3099943a583988b726de9f250735f5f4c52008c05ed8"
},
"downloads": -1,
"filename": "cython_bbox_fix-2023.4.21.tar.gz",
"has_sig": false,
"md5_digest": "353052eea1c08cbbd00fa877c5de85fb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4318,
"upload_time": "2023-04-20T23:28:28",
"upload_time_iso_8601": "2023-04-20T23:28:28.035737Z",
"url": "https://files.pythonhosted.org/packages/aa/a2/5fbc934c98375233572f8172f879e481d421796b3152ec5912a75ba908f5/cython_bbox_fix-2023.4.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-20 23:28:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "samson-wang",
"github_project": "cython_bbox.git",
"lcname": "cython-bbox-fix"
}