An open API service indexing awesome lists of open source software.

https://github.com/skalskip/cvtools

Useful Computer Vision utils.
https://github.com/skalskip/cvtools

computer-vision

Last synced: 3 months ago
JSON representation

Useful Computer Vision utils.

Awesome Lists containing this project

README

        

🛠️ cvtools

## 🚀 Installation

```console
# clone project repository
git clone [email protected]:SkalskiP/cvtools.git
# navigate to project root directory
cd cvtools
# create python virtual environment and activate it (optional)
virtualenv venv
source venv/bin/activate
# install project
pip install --upgrade pip
pip install -e ".[test]"
```

## 📜 Scripts

### `cvtools.scripts.record`

Allows you to capture webcam stream and save frames as separate images in specified directory.

| **argument** | **mandatory** | **type** | **description** |
|:-----------------------:|:-------------:|:--------:|:------------------------------------------------------|
| `device-id` | ✓ | `int` | specifies device id of webcam you would like to use |
| `frame_interval` | ✗ | `int` | defines frequency of saving frames |
| `target_directory_path` | ✓ | `str` | specifies target directory where frames will be saved |