Florence2Region

Models & Types · AiDotNet.VisionLanguage.Encoders

One region a Florence-2 task answer located: its label and its pixel box.

Implements: IEquatable<Florence2Region>

Constructors

Constructor Summary
Florence2Region(string Label, double X0, double Y0, double X1, double Y1) One region a Florence-2 task answer located: its label and its pixel box.

Properties

Property Summary
double X0 { get; set; } Left edge in pixels.
double X1 { get; set; } Right edge in pixels.
double Y0 { get; set; } Top edge in pixels.
double Y1 { get; set; } Bottom edge in pixels.
string Label { get; set; } The text generated before the region’s four location tokens.

Methods

Method Summary
Florence2Region <Clone>$()
bool Equals(Florence2Region other)
bool Equals(object obj)
bool op_Equality(Florence2Region left, Florence2Region right)
bool op_Inequality(Florence2Region left, Florence2Region right)
int GetHashCode()
string ToString()
void Deconstruct(string Label, double X0, double Y0, double X1, double Y1)