Interface: TypeGpuPersonSegmentationOptions
Defined in: segmentation/typegpu/index.ts:36
Properties​
loadModel()?​
readonlyoptionalloadModel: () =>Promise<ArrayBuffer>
Defined in: segmentation/typegpu/index.ts:44
Supplies the model bytes instead of fetching modelUrl, for a model the platform cannot serve
over fetch, such as an asset embedded in a React Native release build. Keep the function's
identity stable (create it once), so the parsed model is shared between sessions.
Returns​
Promise<ArrayBuffer>
modelUrl?​
readonlyoptionalmodelUrl:string
Defined in: segmentation/typegpu/index.ts:38
CDN or application asset URL. The default points at this package's bundled model.