Applies matrix effect to camera with OpenCV using Python
There are many parameters that you can play with in parameters.py. Here is an example with different parameters:
You need OpenCV and Pillow to run the program. To install all dependencies run:
pip install -r requirements.txtTo direct camera to the program, use camToMatrix.py.
python3 camToMatrix.py
To direct image to the program, use imageToMatrix.py
python3 imageToMatrix.py input_image.jpg output_image.jpg
To direct video to the program, use videoToMatrix.py
python3 videoToMatrix.py input_video.mp4 output_video_name
Warning: Output video does not work on some machines.
Play with parameters in parameters.py file. Read comments for more information.
Feel free to use this project in your projects, comment or contribute.

