Skip to content

ImageSegmenter not working on Firefox due to WebGL format incompatibility #5879

@lebaudantoine

Description

@lebaudantoine

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

None

OS Platform and Distribution

Any

Mobile device if the issue happens on mobile device

No response

Browser and version if the issue happens on browser

135.0.1

Programming Language and version

Typescript

MediaPipe version

0.10.9

Bazel version

No response

Solution

SelfieSegmenter

Android Studio, NDK, SDK versions (if issue is related to building in Android environment)

No response

Xcode & Tulsi version (if issue is related to building for iOS)

No response

Describe the actual behavior

The MediaPipe ImageSegmenter task doesn't work on Firefox browsers using delegate 'GPU'

Describe the expected behaviour

The delegate 'GPU' should be supported on Firefox browsers

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

Will describe it in comment.

Other info / Complete Logs

WebGL warning: readPixels: Format and type RED/FLOAT incompatible with this R32F attachment. This framebuffer requires either RGBA/FLOAT or getParameter(IMPLEMENTATION_COLOR_READ_FORMAT/_TYPE) RGBA/FLOAT. 29\
After reporting 32, no further warnings will be reported for this WebGL context.

Metadata

Metadata

Assignees

Labels

gpuMediaPipe GPU related issuesplatform:javascriptMediaPipe Javascript issuesstat:awaiting googlerWaiting for Google Engineer's Responsetask:image segmentationIssues related to image segmentation: Locate objects and create image masks with labelstype: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