{"id":20349487,"url":"https://github.com/zalo/lifelens","last_synced_at":"2025-04-12T01:23:36.134Z","repository":{"id":84235433,"uuid":"371877502","full_name":"zalo/LifeLens","owner":"zalo","description":"A Webcam-based Heartrate Monitoring Demo","archived":false,"fork":false,"pushed_at":"2021-07-09T19:19:01.000Z","size":2776,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T21:11:13.607Z","etag":null,"topics":["face-detection","heart-rate","webcam"],"latest_commit_sha":null,"homepage":"https://zalo.github.io/LifeLens/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zalo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-29T04:14:03.000Z","updated_at":"2024-12-01T15:23:44.000Z","dependencies_parsed_at":"2023-05-24T02:15:37.561Z","dependency_job_id":null,"html_url":"https://github.com/zalo/LifeLens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FLifeLens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FLifeLens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FLifeLens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FLifeLens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalo","download_url":"https://codeload.github.com/zalo/LifeLens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248502303,"owners_count":21114780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["face-detection","heart-rate","webcam"],"created_at":"2024-11-14T22:26:04.339Z","updated_at":"2025-04-12T01:23:36.126Z","avatar_url":"https://github.com/zalo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [LifeLens](https://zalo.github.io/LifeLens/)\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://github.com/zalo/LifeLens/deployments/activity_log?environment=github-pages\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/deployments/zalo/LifeLens/github-pages?label=Github%20Pages%20Deployment\" title=\"Github Pages Deployment\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/zalo/LifeLens/commits/master\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/last-commit/zalo/LifeLens\" title=\"Last Commit Date\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/zalo/LifeLens/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/zalo/LifeLens\" title=\"License: Apache V2\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n A quick and _extremely_ dirty test for reading facial bloodflow via webcam (eventually for detecting heartrate).\n\n[![Lifelens Demo](LifeLens.gif)](https://zalo.github.io/LifeLens/)\n\n## Basic Algorithm\n - Get a Bounding Box of the Face\n - Average up the R and G components of all the pixels in the box\n - Divide the Red Channel by the Green Channel\n - Crop to a fixed range and add filtering\n\n ## Limitations\n - Needs strong ambient illumination\n - Results may be skin color dependent\n\n ## Credits\n - [three.js](https://github.com/mrdoob/three.js/) (3D Rendering Engine)\n - [Mediapipe Facemesh](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection) (Face Tracking)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalo%2Flifelens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalo%2Flifelens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalo%2Flifelens/lists"}