Source code for examples/roc_example_track.c.
#include <stdio.h>
#include <stdlib.h>
#include "roc.h"
int main(int argc, char *argv[])
{
float fps;
if (argc != 2)
" $ roc-example-track path/to/video.mp4");
printf(
"Video Duration: %zu ms\n", video_metadata.
duration);
while (stream) {
printf("Stream processing speed (frames per second): %f\n", fps);
}
printf(
"Person %s seen %d time(s)\n", uuid_string.
data, person_event.
count);
}
}
}
}
return EXIT_SUCCESS;
}