Introducing vitallens.js

05/03/2025

A JavaScript client for the VitalLens API in both browser and Node.js

Introducing vitallens.js - A JavaScript client for the VitalLens API

We are pleased to announce the public release of vitallens.js, a JavaScript client for the VitalLens API. This library extends our remote vital sign estimation capabilities to both browser and Node.js environments, offering a comprehensive solution for developers building health and wellness applications.

In addition to the new JavaScript client, our well-established Python client remains available, ensuring that you can choose the platform that best suits your project needs.

vitallens.js Public Release
vitallens.js in action – Powering vital sign estimation right in your browser

Key Features

Cross-Platform Compatibility:
vitallens.js is designed to function seamlessly in browser environments as well as in Node.js applications, allowing flexible deployment options.

Flexible Input Support:
Whether processing video files or live webcam streams, the library accommodates multiple input types through an event-driven API.

Multiple Estimation Methods:
The library supports the full-featured vitallens method for detailed heart rate and respiratory rate estimation (which requires an API key), alongside legacy methods such as g, chrom, and pos that are available for unlimited use without an API key.

Fast Face Detection and ROI Configuration:
Utilize built-in face detection and the option to specify a global region of interest (ROI) for more efficient and controlled processing.

Pre-Built Web Component Widgets:
For rapid integration, ready-made widgets are provided. These include a unified widget supporting both file and webcam modes, as well as specialized widgets for each use case.

Get Started

Explore the vitallens.js library on GitHub and review the detailed documentation. To access the full capabilities of the VitalLens API, please sign up here for your API key.

With vitallens.js, our goal is to provide advanced yet accessible tools for remote vital sign monitoring. We look forward to seeing the innovative applications you develop.