Skip to content

Instantly share code, notes, and snippets.

@benrules2
Created October 14, 2021 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benrules2/cb88357a95b5971c9a9ff8eee9414c4a to your computer and use it in GitHub Desktop.
Save benrules2/cb88357a95b5971c9a9ff8eee9414c4a to your computer and use it in GitHub Desktop.
UBC Animal Welfare Project Brief

UBC Animal Welfare Project - Using nest cameras to collect behavioural animal data

Currently, we are running ~ 10 nest cameras simultaneously to collect continuous behavioural data on cats in shelters. As Nest will not allow us to download our stored continuous video streams, we are pulling our data from the home.nest.com website by 1) making “clips” of individual hours to download and/or 2) creating time-lapse of 12-hour chunks to be later behaviourally coded. Both solutions involve a team member working full-time to pulling data manually from the website and having access to the continuous data would remove this need.

Modify this code so it dumps many videos to many video files, instead of just one to one (we have 10-12 nest cameras running @ once) Simplify the auth process so it can be started more easily without copy pasting from cookies in the browser networking inspection tabs. It is tricky to snoop through the cookies and find the data we need to get authenticated. Launch this as a service so it is running 24/7 and restarts if it crashes

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