cython-bbox


Namecython-bbox JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/samson-wang/cython_bbox.git
SummaryStandalone cython_bbox
upload_time2023-11-16 09:03:48
maintainer
docs_urlNone
authorSamson Wang
requires_python
license
keywords cython_bbox
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
import numpy as np

gt = np.random.random((5, 4))
dt = np.random.random((10, 4))

overlaps = bbox_overlaps(
        np.ascontiguousarray(dt, dtype=np.float),
        np.ascontiguousarray(gt, dtype=np.float)
    )

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/samson-wang/cython_bbox.git",
    "name": "cython-bbox",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "cython_bbox",
    "author": "Samson Wang",
    "author_email": "samson.c.wang@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/21/8f/fcf24b032c7d501a995e9c8420ac5e601d8fd883dd045522b63b7869cabd/cython_bbox-0.1.5.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\nimport numpy as np\n\ngt = np.random.random((5, 4))\ndt = np.random.random((10, 4))\n\noverlaps = bbox_overlaps(\n        np.ascontiguousarray(dt, dtype=np.float),\n        np.ascontiguousarray(gt, dtype=np.float)\n    )\n\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Standalone cython_bbox",
    "version": "0.1.5",
    "project_urls": {
        "Homepage": "https://github.com/samson-wang/cython_bbox.git"
    },
    "split_keywords": [
        "cython_bbox"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "218ffcf24b032c7d501a995e9c8420ac5e601d8fd883dd045522b63b7869cabd",
                "md5": "9c7e0f96cafdee79297743c80049045b",
                "sha256": "c73a513e4f668db483e703701707c6d289de61322f8083635111cf8ee3e969a2"
            },
            "downloads": -1,
            "filename": "cython_bbox-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "9c7e0f96cafdee79297743c80049045b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4388,
            "upload_time": "2023-11-16T09:03:48",
            "upload_time_iso_8601": "2023-11-16T09:03:48.490495Z",
            "url": "https://files.pythonhosted.org/packages/21/8f/fcf24b032c7d501a995e9c8420ac5e601d8fd883dd045522b63b7869cabd/cython_bbox-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-16 09:03:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "samson-wang",
    "github_project": "cython_bbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cython-bbox"
}
        
Elapsed time: 0.37621s