semvec/pypi-packages huggingface dataset:
pyROI 0.3.0
pyROI — A simple roi selector built by python-opencv

# opencv-roi
pyROI — A simple roi selector built by python-opencv


# Installation

- from pypi
```console
> pip install pyROI
```

- from github
```console
> pip install -U git+https://github.com/lycantrope/pyROI
```
# Usage

```python
import pyROI

img_path = "luna.jpg"
img = cv2.imread(img_path)

# Support rect, circle, polygon, ellipse
rect_roi = pyROI.select(src = img, selector_type =  "rect")
print(rect_roi)

# generate mask
mask = rect_roi.mask
```
mtgbinderspine 0.1.3
A tool to generate printable labels for binders of Magic: The Gathering cards
Requires Python: >=3.8,<4.0

# MTG Binder Spine Generator

Generates an image that can be printed and inserted into the spine of a binder.

## Installation

`pip install mtgbinderspine`

## Usage

Run `mtgbinderspine --help` for usage information.

## Examples

Generate an image with spines for Throne of Eldraine and Kaladesh:

`mtgbinderspine eld kld`

Generate a spine for a 2" binder:

`mtgbinderspine -w 2 m13`

Generate a spine with multiple icons and a custom image:

`poetry run mtgbinderspine ddn ddk ddg ddd dde ddc dd1 ddl --custom-text "Duel Decks"`

## Images

![bfz_ktk_chk](docs/images/bfz_ktk_chk.png)

![duel_decks](docs/images/duel_decks.png)