This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* An object to contain a database of expected types and their signature. | |
* This database can be used to check received data checking that it is of the type expected. | |
*/ | |
class Types { | |
/** | |
* constructor - Set arrays to be empty | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <string.h> | |
#include <assert.h> | |
//#include <math.h> | |
#include <cmath> | |
#include <memory> | |
#include <functional> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filepath = 'C:\\bf4 2013-12-07 02-22-08-62.avi'; | |
clc; | |
try | |
v_handle = VideoReader(filepath); | |
% video_frames = read(v_handle); | |
catch err | |
error('prog:input', 'Invalid filepath! Enter as ''C:\\filelocation\\file.avi'' '); | |
end | |
numFrames = v_handle.NumberOfFrames; |