Skip to content

Instantly share code, notes, and snippets.

@pliablepixels
Created August 29, 2016 18:49
Show Gist options
  • Save pliablepixels/4760b3df1b10325c7c9c65742979be20 to your computer and use it in GitHub Desktop.
Save pliablepixels/4760b3df1b10325c7c9c65742979be20 to your computer and use it in GitHub Desktop.
class nvrCameras
{
public:
NetworkAVInput *cam;
Detector *motion; // keeping two detectors as they can run in parallel
Detector *face;
Recorder *event; // will either store video or images
RateLimiter *rate; // will modify rate of output
LocalFileOutput *fileOut; // will store images to disk, and we'll feed in rate as its input, not cam
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment