This commit is contained in:
Francesco Gatti
2019-04-19 16:33:35 +02:00
6 changed files with 374 additions and 26 deletions
+4
View File
@@ -88,7 +88,11 @@ int main(int argc, char *argv[]) {
cap >> frame;
if(!frame.data) {
usleep(1000000);
cap.open(input);
printf("cap reinitialize\n");
continue;
}
// this will be resized to the net format