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

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

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[VisionModel](index.md)/[classify](classify.md)

# classify

[common]\
fun [classify](classify.md)(image: [ImageInput](../ImageInput/index.md), labels: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt;, listener: [VisionListener](../VisionListener/index.md)): [VisionHandle](../VisionHandle/index.md)

Score [image](classify.md) against [labels](classify.md) on a model that embeds text and pictures in one space; [VisionListener.onScores](../VisionListener/onScores.md) gets one score per label, descending.