eduardolundgren / eduardolundgren/tracking.js

Allow to change tracking frequency

Open
#283 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi, this is more of a suggestion. Now that WEBRTC is kind of a thing on mobile devices, I notice that sometimes the track event is a little too processor intense on video from the camera. Mainly because currently the library is relying on requestAnimationFrame to keep the tracking live. Any chance the tracking frequency could be passed as property to the constructor?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the requestAnimationFrame loop and the constructor option handling. Define how a tracking-frequency property should control camera-video tracking, then verify that tracking remains live while processor work is reduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-vision, performance, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.