Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face Detection: How metadata should be tied to requestVideoFrameCallback #71

Open
youennf opened this issue Aug 19, 2022 · 3 comments
Open

Comments

@youennf
Copy link
Contributor

youennf commented Aug 19, 2022

rvfc can be used to grab information of video frames and do canvas painting.
FaceDetection metadata can be useful in that context.
There can be different approaches to how we could expose FaceDetection metadata in that context:

  1. Extend https://wicg.github.io/video-rvfc/#dictdef-videoframemetadata with an optional faceDetection object.
  2. Have the callback take a third additional parameter that would contain FaceDetection metadata (and potentially more).
  3. Create a new rvfc dedicated to FaceDetection
@youennf
Copy link
Contributor Author

youennf commented Aug 19, 2022

Option 1 is the most natural to me.

@youennf
Copy link
Contributor Author

youennf commented Aug 19, 2022

This relates to the proposal being made in #69.

@aboba aboba changed the title How FaceDetection metadata should be tied to requestVideoFrameCallback FaceDetection: How metadata should be tied to requestVideoFrameCallback Jan 29, 2023
@aboba aboba changed the title FaceDetection: How metadata should be tied to requestVideoFrameCallback Face Detection: How metadata should be tied to requestVideoFrameCallback Jan 29, 2023
@ttoivone
Copy link
Contributor

ttoivone commented Apr 6, 2023

The new VideoFrameMetadata entry and registry were created into WebCodecs, which should obsolete the metadata returned to requestVideoFrameCallback. Proposing to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants