Skip to main content

cython_bbox

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

Metadata

Release files for cython-bbox 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cython-bbox 0.1.5
File Size Uploaded Provenance Actions
cython_bbox-0.1.5.tar.gz 4.4 kB Without provenance Details for cython_bbox-0.1.5.tar.gz

Release files / cython_bbox-0.1.5.tar.gz

Download URL cython_bbox-0.1.5.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c73a513e4f668db483e703701707c6d289de61322f8083635111cf8ee3e969a2
BLAKE2b-256 checksum
How to use checksums
218ffcf24b032c7d501a995e9c8420ac5e601d8fd883dd045522b63b7869cabd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for cython-bbox 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page