|
float | dx |
|
float | dy |
|
float | dw |
|
float | dh |
|
float | ow |
|
float | oh |
|
float | cropx |
|
float | cropy |
|
float | cropw |
|
float | croph |
|
List< T > | features |
|
string | message |
|
Definition at line 12 of file DetectionResponse.cs.
void ImageResizer.Plugins.Faces.DetectionResponse< T >.PopulateFrom |
( |
ImageState |
s | ) |
|
|
inline |
Copies layout information from the given image state to the current instance. Does not populate message or 'features' variables
- Parameters
-
Definition at line 31 of file DetectionResponse.cs.
33 this.ow = s.originalSize.Width;
34 this.oh = s.originalSize.Height;
35 this.cropx = s.copyRect.X;
36 this.cropy = s.copyRect.Y;
37 this.cropw = s.copyRect.Width;
38 this.croph = s.copyRect.Height;
39 RectangleF dest = PolygonMath.GetBoundingBox(s.layout[
"image"]);
43 this.dh = dest.Height;
The documentation for this class was generated from the following file: