Skip to content

Instantly share code, notes, and snippets.

@jrecursive
Created May 4, 2014 19:51
Show Gist options
  • Select an option

  • Save jrecursive/4f3d296b218509c88cdb to your computer and use it in GitHub Desktop.

Select an option

Save jrecursive/4f3d296b218509c88cdb to your computer and use it in GitHub Desktop.
create circuit mv;
use mv;
create channel mjm;
create device mjpeg-channel as channeler {"channel":"mjm"};
create device mjpeg-5 as mjpeg-reader {"url":"http://155.41.145.37/mjpg/video.mjpg"};
create wire wire-7 from mjpeg-5.images to mjpeg-channel.data;
create device keypoints-1 as motion-vectors {};
create wire wire-5 from mjpeg-5.images to keypoints-1.image;
alter circuit mv set {"refresh-hz":5.0};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment