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.
- Host: GitHub
- URL: https://github.com/skalskip/cvtools
- Owner: SkalskiP
- License: mit
- Created: 2021-10-13T17:53:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-14T17:25:46.000Z (over 3 years ago)
- Last Synced: 2025-03-25T21:51:01.520Z (3 months ago)
- Topics: computer-vision
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |