summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a1249b)
raw | patch | inline | side by side (parent: 1a1249b)
author | Yuan Zhao <yuanzhao@ti.com> | |
Tue, 11 Dec 2018 14:59:22 +0000 (08:59 -0600) | ||
committer | Yuan Zhao <yuanzhao@ti.com> | |
Tue, 11 Dec 2018 14:59:22 +0000 (08:59 -0600) |
- MCT-1101
examples/classification/main.cpp | patch | blob | history |
index b907cd537a47b39aa58d27681dd4529f28422de8..22316063f8300be3475dedad51265d6581e9be30 100644 (file)
} else {
if(live_input == -1) {
//Rewind!
- cap.release();
- cap.open(std::string(video_clip));
+ cap.set(CAP_PROP_POS_FRAMES, 0);
}
}