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

https://github.com/cppmx/opencvexs

OpenCV Exercises
https://github.com/cppmx/opencvexs

Last synced: 3 months ago
JSON representation

OpenCV Exercises

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
```