/AURA

This repository contains all the codes and documentation necessary to develop the AURA(Connecting Audio and Radio Sensing Systems to Improve Care at Home) system.

Primary LanguageJavaScriptMIT LicenseMIT

AURA

This repository contains all the codes and documentation necessary to develop the AURA(Connecting Audio and Radio Sensing Systems to Improve Care at Home) system.

Real Time Data Collection and Classification:

Step 1 (Downloading Codes):

  • Download the folder "JetsonRealTime"
  • Move it to the Jetson Nano Computer in any location.

Step 2 (Installing libraries)

Step 3 (Executing the codes):

  • Go to the "JetsonRealTime" directory and open 2 terminals inside it.
  • In one of the terminal, run the following: "python3 run_model.py"
  • Wait for a couple of seconds until you see "Model Loaded" and then two floating point numbers. Do not try to do anything in the jetson nano until you see "Model Loaded" followed by these 2 numbers.
  • Then in the other terminal, run this command "python3 realtime.py"

Additional Information:

  • In line 128 of run_model.py, the model path is saved in a variable. We may need to change this if we have a better version of the model.
  • In line 15, 16 of run_model.py and line 9, 10 of realtime.py, we have two variables called "total_capture" and "capture_per". After each "capture_per" number of WiFi CSI files, the code will send the classification results to the server. After the "total_capture" number of files, the whole system will restart. We can change these values as we want. Note that, each file contains data of around 4 seconds.
  • We need an additional WiFi dongle for downloading the libraries and the codes.
  • In line 54 of realtime.py, we can change the "id=debug1" portion of the url to include any id that we want our data to store. But I suggest to use debug1 first for checking whether everything is working or not.