DFACE JAVA SDK  5.0.0
com.dface.utils.BoxTool Class Reference

Static Public Member Functions

static Bbox alignBbox (Bbox box, int w, int h)
 
static Bbox reshape2OriginSizeBox (Bbox faceItem, float xScale, float yScale)
 
static int[] reshape2OriginSizeLandmarks (int[] scaledLandmarks, float xScale, float yScale)
 

Member Function Documentation

static Bbox com.dface.utils.BoxTool.alignBbox ( Bbox  box,
int  w,
int  h 
)
static

Box边界对齐,防止越界

Parameters
box人脸边框
w图像宽
h图像高
Returns
返回边界对齐后的Box

The documentation for this class was generated from the following file: