Appearance
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.
- Unzip
BiosenseSignal_Web_Sample_X.X.X.zip. - Open Visual Studio Code.
- Select File->Open.
- Choose the unzipped folder
BiosenseSignal_Web_Sample_X.X.X. - Click on Open.
- Open the terminal and change directory to the extracted sample-app directory.
- Run
yarn installornpm install. - Run
yarn startornpm startand wait for the building process to finish. - 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 8 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.
- For a list of supported indicators and their required measurement durations, see the Indicators Technical Information page.
- Also see the following relevant pages:
- Best practices on how to take a measurement
- SDK Accuracy Targets
- SDK Alerts