https://github.com/its-alex/opencv-playground
https://github.com/its-alex/opencv-playground
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/its-alex/opencv-playground
- Owner: Its-Alex
- License: mit
- Created: 2025-02-27T09:11:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-27T14:53:01.000Z (over 1 year ago)
- Last Synced: 2025-12-27T04:53:57.440Z (6 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Opencv python playground
This repository is used to perform some tests on opencv library.
## Requirements
- [mise](https://mise.jdx.dev/)
After installing dependencies, execute:
```sh
$ mise trust && mise install
```
## Getting started
Some scripts are available in [src](./src) to tests some features.
### VideoReader RTSP
You can open a RTSP stream using:
```sh
$ python src/open-rtsp-stream.py
```
To enable OpenCV debug you can use:
```sh
export OPENCV_LOG_LEVEL=DEBUG
export OPENCV_VIDEOIO_DEBUG=1
export OPENCV_VIDEOCAPTURE_DEBUG=1
export OPENCV_VIDEOWRITER_DEBUG=1
export OPENCV_FFMPEG_DEBUG=1
export OPENCV_FFMPEG_LOGLEVEL=56 # https://ffmpeg.org/ffmpeg.html#:~:text=including%20debugging%20information.-,%E2%80%98trace%2C%2056%E2%80%99,-For%20example%20to
```
## Licence
[MIT](./LICENSE)