Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensors - retrieve, stream, and save #13

Open
6 tasks
CaydenPierce opened this issue Nov 4, 2021 · 0 comments
Open
6 tasks

Sensors - retrieve, stream, and save #13

CaydenPierce opened this issue Nov 4, 2021 · 0 comments

Comments

@CaydenPierce
Copy link
Contributor

We want to collect data from a number of sensors on the ASG and ASP and save them in a database.

Some sensors are sparse in time and can be saved directly to the database (e.g. GPS). Others are time series signals and must be saved to files that are referenced by the database (e.g. video).

Sensors

Audio: pull from microphone, encode audio on ASG, stream to ASP, save locally (how to save - in file chunks?)
Video: get from ASG camera in background (AndroidHiddenCamera), stream to ASP, save in files chunks
Accelerometer, Compass, Gyroscope, Ambient Light Sensor: ASG stream to ASP and save, ASP pull its own and save (head and body senors of user)
GPS: pull from android phone - no point in getting from ASG

Video

  • find and implement better, encrypted video streaming from ASG to ASP
  • save in file chunks (e.g. 30 second blocks) and save reference to each chunk with metadata in database

The state-of-the-art appears to be WebRTC:

Keep in mind that Vuzix Blade and other Android smart glasses we are using now are old Android (Vuzix Blade == 5.1) so we may be limited in libraries we can use on the ASG side.

Audio

  • stream encrypted raw data (or encoded with AAC or similiar) from ASG to ASP
  • save in file chunks (e.g. 30 second blocks) and save reference to each chunk with metadata in database

Other

  • get GPS every n seconds on ASP, save to database
  • Accelerometer, Magnetometer, Gyroscope - get on ASG, stream to ASP, save to chunked files, and reference in database. Also pull on ASP, save to chunked files, and reference in database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant