Skip to content

[FEATURE REQUEST] ImageSource should allow WebGLTexture as input #5064

@marcusx2

Description

@marcusx2

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

No

OS Platform and Distribution

MacOS 13.6.3

MediaPipe Tasks SDK version

0.10.9

Task name (e.g. Image classification, Gesture recognition etc.)

Image classification

Programming Language and version (e.g. C++, Python, Java)

Javascript

Describe the actual behavior

ImageSource does not support WebGLTexture as input

Describe the expected behaviour

ImageSource should support WebGLTexture as input

Standalone code/steps you may have used to try to get what you need

ImageSource

does not support WebGLTexture as input. It looks like I have to convert it first using something like this https://stackoverflow.com/a/18804083/8509272 to be able to use mediapipe with webgl textures. Or am I missing something?

In addition, the ObjectDetectorOptions interface: https://developers.google.com/mediapipe/api/solutions/js/tasks-vision.objectdetectoroptions

is said to extend VisionTaskOptions and ClassifierOptions, but both are undocumented.

Other info / Complete Logs

No response

Metadata

Metadata

Labels

platform:javascriptMediaPipe Javascript issuesstat:awaiting googlerWaiting for Google Engineer's Responsetask:image classificationIssues related to Image Classification: Identify content in images and videotype:featureEnhancement in the New Functionality or Request for a New Solution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions