Skip to content

Commit 73cc61c

Browse files
committed
Merge branch 'master' of github.com:tobybreckon/python-examples-ip
2 parents 15867b4 + b9073a0 commit 73cc61c

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

TESTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ python3 ./save_video.py -c 0
139139

140140
## Test #4 - test video read function:
141141

142-
(for MS Windows download video from [here](http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4) and save as video.avi in directory python-examples-ip-master)
142+
(for MS Windows download video from [here](https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi) and save as video.avi in directory python-examples-ip-master)
143143

144144
```
145145
.. (as per test 1 for steps 1 + 2)
146-
wget http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4
147-
mv big_buck_bunny.mp4 video.avi
146+
wget https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi
147+
mv big_buck_bunny_720p_surround.avi video.avi
148148
python3 ./capture_video.py
149149
```
150150

capture_video.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,7 @@
4747

4848
# define video capture object
4949

50-
try:
51-
# to use a non-buffered camera stream (via a separate thread)
52-
53-
import camera_stream
54-
cap = camera_stream.CameraVideoStream(use_tapi=False)
55-
56-
except BaseException:
57-
# if not then just use OpenCV default
58-
59-
print("INFO: camera_stream class not found - camera input may be buffered")
60-
cap = cv2.VideoCapture()
50+
cap = cv2.VideoCapture()
6151

6252
# define display window name
6353

0 commit comments

Comments
 (0)