semvec/pypi-packages huggingface dataset:
roimarker 0.2.1
A rectangle-ROI annotator using matplotlib
Requires Python: >=3.0

# Roimarker

Annotates region of interest (ROI) using matplotlib
and Python.

- Draw rectangular ROIs with your mouse
- Quickly change to the next image by pressing *N*
- Adjust brightness/contrast with keys *Z*,*X*,*C*,*V*
- Undo with *Ctrl+Z*

## Installing

```
pip install roimarker
```

## Usage

### A) Standalone tool

```
python -m roimarker DIRECTORY
```

Here, replace DIRECTORY with the folder containing all the
image files to be annotated.

When finished, a *markings.json* file
is created to the current working directory
with the following structure:

```python
{fn1: [ROI_1, ROI_2, ROI_3, ..], fn2: [ROI_1, ...], ...}

where
	ROI_i = [x,y,w,h]
```

### B) In your programs

```python
import matplotlib.pyplot as plt
from roimarker import Marker

# Create matplotlib figure and ax
fig, ax = plt.subplots()

# List of images to annotate
image_fns = ['image1.tif', 'image2.tif', 'image3.tif']

marker = Marker(fig, ax, image_fns, 'markings.json')
marker.run()
```
python-recording-tool 0.1.2
Simple recording tool
Requires Python: >=3.10,<4.0

# Usage

Example usage with the CU55 from e-con systems:

```bash
record --vendor_id=0x2560 --product_id=0xc155 --fps=30 --width=2592 --height=1944 --time_in_seconds=5 --folder_name=mitch1
```