You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We show how to create some funny mirror effects using OpenCV. The blog is based on fundamental concepts like camera projection, intrinsic and extrinsic
4
+
camera parameters and mesh-based image warping.
5
+
6
+
### Installing additional library
7
+
```shell
8
+
pip3 install vcam
9
+
```
10
+
11
+
### How to run the code
12
+
13
+
Command line usage for running the code
14
+
15
+
* Python
16
+
17
+
* Running on sample images:
18
+
19
+
```
20
+
python3 FunnyMirrorsImages.py
21
+
```
22
+
23
+
* Running on a video file:
24
+
25
+
```
26
+
python3 FunnyMirrorsVideo.py ./data/Video3.mp4 0
27
+
```
28
+
29
+
The syntax here is `python3 FunnyMirrorsVideo.py <VIDEO_FILE_PATH> <MODE_NUMBER>`. The `MODE_NUMBER` ranges from 0 to 7.
0 commit comments