|
1 | 1 | Metadata-Version: 2.1 |
2 | 2 | Name: pythonic-cv |
3 | | -Version: 1.1.4 |
| 3 | +Version: 1.1.5 |
4 | 4 | Summary: Performant pythonic wrapper of unnecessarily painful opencv functionality |
5 | 5 | Home-page: https://github.com/ES-Alexander/pythonic-cv |
6 | 6 | Author: ES-Alexander |
7 | 7 | Author-email: sandman.esalexander@gmail.com |
8 | 8 | License: UNKNOWN |
9 | 9 | Description: _________________________________ |
10 | | - Version: 1.1.4 |
| 10 | + Version: 1.1.5 |
11 | 11 | Author: ES Alexander |
12 | | - Release Date: 11/Oct/2020 |
| 12 | + Release Date: 17/Oct/2020 |
13 | 13 | _________________________________ |
14 | 14 |
|
15 | 15 | # About |
@@ -142,12 +142,35 @@ Description: _________________________________ |
142 | 142 | vid.headless_stream() |
143 | 143 | ``` |
144 | 144 |
|
145 | | - ### Advanced Example (something_fishy.py) |
146 | | - Copy the `names.txt` file to where you want to create your gallery (or create your |
147 | | - own `names.txt` with one name per line, of your friends and family for example), |
148 | | - and run `python3 -m pcv.something_fishy` to run the example. There are several |
149 | | - generally useful processing techniques included, so take a look through the code |
150 | | - and find the functionality that's most interesting to you to explore and modify. |
| 145 | + ### Advanced Examples |
| 146 | + Check the `pcv/examples` folder for some examples of full programs using this library. |
| 147 | + |
| 148 | + #### Something Fishy |
| 149 | + This example is a relatively basic augmented reality example, which creates a tank of |
| 150 | + fish that swim around on top of a video/webbcam feed. You can catch the fish (click and |
| 151 | + drag a 'net' over them with your mouse), or tickle them (move around in your webcam feed). |
| 152 | + There are several generally useful processing techniques included, so take a look |
| 153 | + through the code and find the functionality that's most interesting to you to explore |
| 154 | + and modify. |
| 155 | + |
| 156 | + To run the example use `python3 -m pcv.examples.something_fishy`, or optionally specify |
| 157 | + the path to a newline separated text file of names (of your friends and family for |
| 158 | + example), and run with `python3 -m pcv.examples.something_fishy path/to/names.txt`. |
| 159 | + |
| 160 | + #### Video Switcher |
| 161 | + This was made in response to a question from `u/guillerubio` on reddit, to show how to |
| 162 | + efficiently read multiple videos simultaneously while only displaying one, and switching |
| 163 | + between videos based on what's happening in a webcam feed. |
| 164 | + |
| 165 | + The current video is switched out when the camera is covered/uncovered. Switching is |
| 166 | + performed intelligently by only actually reading frames from a single 'active' video |
| 167 | + at a time. The `VideoSwitcher` class allows tracking along all the videos simultaneously |
| 168 | + based on how many frames have occurred since they were last active, as well as just |
| 169 | + resuming from where each one left off when it was last active. When a video ends it gets |
| 170 | + started again (in an infinite loop). |
| 171 | + |
| 172 | + To run the example use `python3 -m pcv.examples.cam_video_switch` while in a directory |
| 173 | + with the `.mp4` files you want to switch between. |
151 | 174 |
|
152 | 175 | Platform: UNKNOWN |
153 | 176 | Classifier: Programming Language :: Python :: 3 |
|
0 commit comments