API reference · Kjarni 0.2.7

Class ImageHit

Namespace: Kjarni
Assembly: Kjarni.dll

An image matching a search.

public record ImageHit : IEquatable<ImageHit>

Inheritance

object ← ImageHit

Implements

IEquatable<ImageHit>

Constructors

ImageHit(string, float)

An image matching a search.

public ImageHit(string Path, float Score)

Parameters

Path string

The image file.

Score float

Cosine similarity; small even for good matches, so only the order matters.

Properties

Path

The image file.

public string Path { get; init; }

Property Value

string

Score

Cosine similarity; small even for good matches, so only the order matters.

public float Score { get; init; }

Property Value

float

Kjarni runs the same engine on every platform: