Add WebGLTexture output for ImageSegmenter
PiperOrigin-RevId: 518886135
This commit is contained in:
committed by
Copybara-Service
parent
1c9e6894f3
commit
8e5eadbd4e
@@ -10,7 +10,7 @@ type LibConstructor = new (...args: any[]) => GraphRunner;
|
||||
|
||||
/** An image returned from a MediaPipe graph. */
|
||||
export interface WasmImage {
|
||||
data: Uint8ClampedArray|Float32Array;
|
||||
data: Uint8ClampedArray|Float32Array|WebGLTexture;
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user