---
title: "Companion"
sidebar_label: "Companion"
description: "Kotlin binding reference: Companion."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../../index.md)/[io.clika.runtime](../../index.md)/[VideoProcessor](../index.md)/[Companion](index.md)

# Companion

[common]\
object [Companion](index.md)

## Functions

| Name | Summary |
|---|---|
| [fromDirectory](fromDirectory.md) | [common]<br>fun [fromDirectory](fromDirectory.md)(path: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), where: [Placement](../../Placement/index.md)? = null): [VideoProcessor](../index.md)<br>Load from a model directory, detecting the preprocessor format present. |
| [fromHuggingface](fromHuggingface.md) | [common]<br>fun [fromHuggingface](fromHuggingface.md)(path: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), where: [Placement](../../Placement/index.md)? = null): [VideoProcessor](../index.md)<br>Load a Hugging Face video preprocessor (`preprocessor_config.json` in a model directory, or the file itself). |