justadudewhohacks / justadudewhohacks/opencv4nodejs

VideoCapture buffer

Open
#382 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

I am using cv.VideoCapture but my video has come from a web service and is in a buffer (e.g. as base64). Do I have to make a temp file so that I can pass a path to VideoCapture or is there some other neater way? I’m using cv.imdecode for images with no need for a temp file.

Contributor guide

Open the contributing guide

Research direction

Start with the Node.js bindings for cv.VideoCapture and compare their accepted inputs with the cv.imdecode path described in the issue. Determine whether buffer input is supported or what project change would be needed, then define a validation case showing video capture without a temporary file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
computer-vision
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.