Skip to main content

Standalone cython_bbox

Project description

cython_bbox

COPIED FROM THE ORIGINAL 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. 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. Thanks RBG!

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)
    )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cython_bbox_og-1.0.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distributions

cython_bbox_og-1.0.0-cp311-cp311-win_amd64.whl (24.0 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

cython_bbox_og-1.0.0-cp310-cp310-win_amd64.whl (23.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

cython_bbox_og-1.0.0-cp39-cp39-win_amd64.whl (23.9 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

cython_bbox_og-1.0.0-cp38-cp38-win_amd64.whl (23.9 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page