transformers.js
10b93490 - [FEAT] Allow RawImage to read from all types of supported sources. (#1244)

Commit
258 days ago
[FEAT] Allow RawImage to read from all types of supported sources. (#1244) * Allow RawImage to read from all types of supported sources. This will be useful for the pipeline API. * Update pipeline to allow for the new types. Update types for Background Removal pipeline to use same options as Image Segmentation Pipeline. * Revert background removal pipeline options change * Use `BackgroundRemovalPipelineType` * Check for existence of canvas classes before instanceof check --------- Co-authored-by: Joshua Lochner <admin@xenova.com>
Parents
Loading