https://github.com/cppmx/opencvexs
OpenCV Exercises
https://github.com/cppmx/opencvexs
Last synced: 3 months ago
JSON representation
OpenCV Exercises
- Host: GitHub
- URL: https://github.com/cppmx/opencvexs
- Owner: cppmx
- Created: 2019-10-18T16:19:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-18T17:07:12.000Z (over 6 years ago)
- Last Synced: 2025-01-17T19:55:19.590Z (about 1 year ago)
- Language: Python
- Size: 1.05 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenCV Exercises
This exercises are based on this tutorial: https://pythonprogramming.net/loading-images-python-opencv-tutorial/
## Prerequisites
You need to install miniconda and create a virtual environment as follow:
```bash
> conda create -n opencv python=3.7
```
Make sure to install the requirements on your virtual environment:
```bash
> conda activate opencv
> pip3 install matplotlib numpy opencv-python
```
## Usage
To execute the exercises you can use the play bash script as follow:
### Run
To run an exercise
```bash
> ./play run 01_simple
```
### Modify
If you need to modify the excercise code you can do it as follow:
```bash
> ./play modify 01_simple
```
### New
To add a new exercise
```bash
> ./play new exercise_name
```