Florence2TaskResult
Models & Types · AiDotNet.VisionLanguage.Encoders
A parsed Florence-2 task answer: its text, plus any regions written as location tokens.
Implements: IEquatable<Florence2TaskResult>
Constructors
| Constructor | Summary |
|---|---|
Florence2TaskResult(string Text, IReadOnlyList<Florence2Region> Regions) |
A parsed Florence-2 task answer: its text, plus any regions written as location tokens. |
Properties
| Property | Summary |
|---|---|
IReadOnlyList<Florence2Region> Regions { get; set; } |
Each label followed by four location tokens. |
string Text { get; set; } |
All non-location text tokens, decoded. |
Methods
| Method | Summary |
|---|---|
Florence2TaskResult <Clone>$() |
|
bool Equals(Florence2TaskResult other) |
|
bool Equals(object obj) |
|
bool op_Equality(Florence2TaskResult left, Florence2TaskResult right) |
|
bool op_Inequality(Florence2TaskResult left, Florence2TaskResult right) |
|
int GetHashCode() |
|
string ToString() |
|
void Deconstruct(string Text, IReadOnlyList<Florence2Region> Regions) |