GroundingBox
Models & Types · AiDotNet.VisionLanguage.Grounding
A box that a caption’s phrase names, for training a grounding model.
Implements: IEquatable<GroundingBox>
Constructors
| Constructor | Summary |
|---|---|
GroundingBox(string Phrase, double X1, double Y1, double X2, double Y2) |
A box that a caption’s phrase names, for training a grounding model. |
Properties
| Property | Summary |
|---|---|
double X1 { get; set; } |
Left edge, as a fraction of the image width. |
double X2 { get; set; } |
Right edge, as a fraction of the image width. |
double Y1 { get; set; } |
Top edge, as a fraction of the image height. |
double Y2 { get; set; } |
Bottom edge, as a fraction of the image height. |
string Phrase { get; set; } |
The phrase, one of the caption’s period-separated phrases (for “cat . |
Methods
| Method | Summary |
|---|---|
GroundingBox <Clone>$() |
|
bool Equals(GroundingBox other) |
|
bool Equals(object obj) |
|
bool op_Equality(GroundingBox left, GroundingBox right) |
|
bool op_Inequality(GroundingBox left, GroundingBox right) |
|
int GetHashCode() |
|
string ToString() |
|
void Deconstruct(string Phrase, double X1, double Y1, double X2, double Y2) |