Skip to content

Instantly share code, notes, and snippets.

@breenie
Last active January 16, 2019 11:41
Show Gist options
  • Select an option

  • Save breenie/0809434b1b0f2d63b278c815a91fdfbd to your computer and use it in GitHub Desktop.

Select an option

Save breenie/0809434b1b0f2d63b278c815a91fdfbd to your computer and use it in GitHub Desktop.
DeepLens notes on MacOS

DeepLens on MacOS

Useful/condescending items

Add your ssh identity to the device:

$ ssh-copy-id -i ~/.ssh/id_rsa.pub aws_cam@${DEVICE_IP}

Live stream over SSH

Prerequestites

$ brew install mplayer
$ brew install mplayer-osx-extended

View the stream

Get the device IP from either the web console or some magic scriptlet I intend to write.

$ ssh aws_cam@${DEVICE_IP} cat /opt/awscam/out/ch1_out.h264 | mplayer -xy 800 -geometry 50%:50% -demuxer lavf -cache 8092 -

This will spawn a window 800px wide slap bang in the centre of your display.

Credits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment