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

https://github.com/kentlouisetonino/sw-image-video-reader

A sample Python program that read and resize image and video.
https://github.com/kentlouisetonino/sw-image-video-reader

bash makefile opencv-contrib-python python3 venv-python

Last synced: 2 months ago
JSON representation

A sample Python program that read and resize image and video.

Awesome Lists containing this project

README

        

## Description

> - A sample Python program that read and resize an image and video.




## Setup

> - Setup a virtual environment.

```sh
python3 -m venv venv
```

> - Activate the virtual environment.

```sh
source venv/bin/activate
```

> Install the packages.

```bash
pip3 install -r requirements.txt
```
> Run the programs.

```bash
# Run the re_scale.py program.
make re-scale

# Run the read_image.py program.
make read-image

# Run the read_video.py program.
make read-video
```