Videotracker.js
Video tracking with javascript
Install / Use
/learn @lusob/Videotracker.jsREADME
videotracker.js
An javascript video tracker.
The object tracking is based in color detection and blend difference. The color detection algorimth is using hsv colour to extract color selected areas in the picture combined with a blend mode to capture only the objects with movement. Although this method is not very stable, is an efficient way to detect objects using a javascript browser engine, the contextual environment had significant influence on the accuracy of the results but configuring carefully the color range and the environment it can be a good way for tracking objects.
- No plugins, only javascript
- No dependencies
- Highly configurable
- Small footprint (~1.9K gzipped)
- MIT License
Usage
onMoveFunc = function(x,y){
alert('Object detected!!');
};
var videotracker = new VideoTracker({video_target_id: 'video_id'});
videotracker.setOnMoveFunc(onMoveFunc);
videotracker.start();
For an interactive demo and a list of all supported options please refer to the project's homepage.
Related Skills
docs-writer
99.4k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
340.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
2.9kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
living-review
27 OpenClaw skills for academic research teams — literature reviews, hypothesis versioning, grant writing, lab knowledge handoffs, and more.
