UNPKG

@huggingface/transformers

Version:

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

10 lines (8 loc) • 389 B
import { ImageProcessor, post_process_object_detection } from '../../image_processors_utils.js'; export class OwlViTImageProcessor extends ImageProcessor { /** @type {typeof post_process_object_detection} */ post_process_object_detection(...args) { return post_process_object_detection(...args); } } export class OwlViTFeatureExtractor extends OwlViTImageProcessor {}