semvec/pypi-packages huggingface dataset:
detection-utils 1.0.0
Common functionality for object detection
License: MIT
Requires Python: >=3.6

detection-utils provides utilities that are common across many object detection projects.
This includes things like:

- Box overlap computation (IoU)
- Precision and recall calculations
- Computing targets for training a detector given a set of ground-truth objects and anchor boxes
- Non-maximum suppression
- Coordinate transformation utilities
- Focal loss

All the functions here are well-tested to ensure proper functionality and are used in real projects, so are
intended to be enterprise-grade. This repository is meant to ensure that modifications and improvements that
are implemented in one object detection project migrate to other projects as appropriate, to reduce code
 duplication, and to enable a quicker start to working on object detection.
mpl-interact 0.0.1
A library encompassing smart interactions missing in matplotlib
License: MIT
Requires Python: >=3.6, <4


# mpl-interact

A library encompassing smart interactions missing in matplotlib

## Usage

The following code enables interactors for GCF:

* zoom by mouse wheel scrolling
* drag by mouse left button
* reset by mouse any button double click

```python
import numpy as np
from matplotlib import pyplot as plt
from mpl_interact import interact

x = np.linspace(0, 2*np.pi, 100)
ys = np.sin(x)
yc = np.cos(x)

plt.plot(x, ys, 'o-', x, yc, 'o-')

interact()

plt.show()
```