eduardolundgren / eduardolundgren/tracking.js

Is it possible to detect the colour in RGB at the centre of the video?

Open
#347 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
9.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Looking to see if I can do the opposite of tracking.js, I’ve got it working well to detect colours I specify and draw the rectangle on the video. Instead I’d like to return the RGB of a square around the center of the video. Is this easily possible?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing tracking.js's existing colour-detection behavior and how the video frame is accessed. Determine whether sampling a square around the video center fits the project's supported API, then define completion as returning the requested RGB value reliably for that region.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-vision, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.