All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.gdface.cassdk.jna.FaceAngle Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package net.gdface.cassdk.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
 * Struct define//////
* native declaration : include\THFaceImage_i.h:16
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA. */ public class FaceAngle extends Structure { /** angle of yaw,from -90 to +90,left is negative,right is postive */ public int yaw; /** angle of pitch,from -90 to +90,up is negative,down is postive */ public int pitch; /** angle of roll,from -90 to +90,left is negative,right is postive */ public int roll; /** confidence of face pose(from 0 to 1,0.6 is suggested threshold) */ public float confidence; public FaceAngle() { super(); } protected List getFieldOrder() { return Arrays.asList("yaw", "pitch", "roll", "confidence"); } /** * @param yaw angle of yaw,from -90 to +90,left is negative,right is postive
* @param pitch angle of pitch,from -90 to +90,up is negative,down is postive
* @param roll angle of roll,from -90 to +90,left is negative,right is postive
* @param confidence confidence of face pose(from 0 to 1,0.6 is suggested threshold) */ public FaceAngle(int yaw, int pitch, int roll, float confidence) { super(); this.yaw = yaw; this.pitch = pitch; this.roll = roll; this.confidence = confidence; } public FaceAngle(Pointer peer) { super(peer); } public static class ByReference extends FaceAngle implements Structure.ByReference { }; public static class ByValue extends FaceAngle implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy