Skip to content

Web Sample Application

The Sample Application (also abbreviated as "SampleApp") is a reference project for implementing an application based on the BiosenseSignal SDK.

Dependencies

  • Install Visual Studio Code or other IDE which is suitable for web development.
  • Install Node.js version >= 14 for building the project.
  • Install Package manager (npm or yarn) - If you installed Node.js, npm is already set up.

Building the Sample Application

The following instructions are relevant for Web sample application.

  1. Unzip BiosenseSignal_Web_Sample_X.X.X.zip.
  2. Open Visual Studio Code.
  3. Select File->Open.
  4. Choose the unzipped folder BiosenseSignal_Web_Sample_X.X.X.
  5. Click on Open.
  6. Open the terminal and change directory to the extracted sample-app directory.
  7. Run yarn install or npm install.
  8. Run yarn start or npm start and wait for the building process to finish.
  9. The SampleApp is now served from local server. Open your browser and enter the address that appears in the console - The app should open.

Note

When opening the app from a mobile device browser, your PC (Local server) and mobile device must be connected to the same WIFI.

Measuring Vital Signs

  • Position your face in the center of the camera preview.
  • Click the Start button.
  • Pulse Rate vital sign values (this is an example of an "instantaneous" value) should be received after approximately 11 seconds.
  • After the measurement ends (either by tapping on the Stop button or at the end of the defined measurement duration), Pulse Rate (PR), Respiration Rate (RR), Stress Level (SL), SDNN and Blood Pressure (BP) results will be shown (this is an example of a "final" result).
  • The final results may be invalid if there was insufficient measuring time.
  • Also see the following relevant pages:
        - Best practices on how to take a measurement
        - SDK Accuracy Targets
        - Indicators Technical Information
        - SDK Alerts