类 FaceAlignUtils
- java.lang.Object
-
- cn.smartjavaai.face.utils.FaceAlignUtils
-
public class FaceAlignUtils extends Object
人脸对齐- 作者:
- Calvin
-
-
构造器概要
构造器 构造器 说明 FaceAlignUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static com.seeta.sdk.SeetaImageDatafaceAlign(BufferedImage sourceImage, com.seeta.sdk.SeetaPointF[] pointFS)static org.opencv.core.MatwarpAffine(org.opencv.core.Mat src, org.opencv.core.Mat rot_mat)根据目标点,进行旋转仿射变换 Perform rotation and affine transformation based on the target 5 pointsstatic org.opencv.core.MatwarpAffine(org.opencv.core.Mat src, org.opencv.core.Mat rot_mat, int width, int height)static org.opencv.core.MatwarpAffine(org.opencv.core.Mat src, org.opencv.core.Mat rot_mat, int width, int height, int flags)
-
-
-
方法详细资料
-
warpAffine
public static org.opencv.core.Mat warpAffine(org.opencv.core.Mat src, org.opencv.core.Mat rot_mat)根据目标点,进行旋转仿射变换 Perform rotation and affine transformation based on the target 5 points- 参数:
src-rot_mat-- 返回:
-
warpAffine
public static org.opencv.core.Mat warpAffine(org.opencv.core.Mat src, org.opencv.core.Mat rot_mat, int width, int height)
-
warpAffine
public static org.opencv.core.Mat warpAffine(org.opencv.core.Mat src, org.opencv.core.Mat rot_mat, int width, int height, int flags)
-
faceAlign
public static com.seeta.sdk.SeetaImageData faceAlign(BufferedImage sourceImage, com.seeta.sdk.SeetaPointF[] pointFS)
-
-