![]() |
Face SDK
1.13.0 Mozart release
Face Recognition Software Development Kit
|
Public Member Functions | |
float | getConfidence () |
int | getX () |
int | getY () |
int | getWidth () |
int | getHeight () |
Image | getImg () |
Image | getCroppedImage () |
boolean | hasLandmarks () |
LandmarkSet | getLandmarks () |
boolean | isOutOfBoundsSet () |
boolean | outOfBounds () |
int | getVersion () |
boolean | equals (Object o) |
int | hashCode () |
void | close () throws Exception |
Face (Image img) throws FaceSDKException | |
Face (Image img, int version) throws FaceSDKException | |
Face (Image img, boolean outOfBounds, int version) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, int version) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, boolean outOfBounds, int version) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, LandmarkSet landmarkSet) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, LandmarkSet landmarkSet, int version) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, LandmarkSet landmarkSet, boolean outOfBounds, int version) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, LandmarkSet landmarkSet, Image croppedImage) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, LandmarkSet landmarkSet, Image croppedImage, int version) throws FaceSDKException | |
Face (Image img, int x, int y, int width, int height, float confidence, LandmarkSet landmarkSet, Image croppedImage, boolean outOfBounds, int version) throws FaceSDKException | |
Static Public Attributes | |
static final float | FACE_SDK__UNKNOWN_CONFIDENCE = 0.0f |
static final int | FACE_SDK__UNKNOWN_VERSION = 0 |
Protected Member Functions | |
void | finalize () throws Throwable |
Face object contains information about face bounding box on the image and the original (or cropped) image. FaceDetector produces Face objects, which can be serialized (and deserialized) using Serializer class. In special cases Face object can be created manually using ctors.
|
inline |
Makes the face object with specified Image. Bounding box size is set equal to the original image size.
img | Image with face. |
IllegalArgumentException | if img is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified version. Bounding box size is set equal to the original image size.
IllegalArgumentException | if img is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified out of bound flag and version. Bounding box size is set equal to the original image size.
IllegalArgumentException | if img is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box and confidence.
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | width of face bounding box in pixels. |
height | height of face bounding box in pixels. |
confidence | face detection confidence. |
IllegalArgumentException | if img is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence and version
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
version | Face object version. |
IllegalArgumentException | if img is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence, outOfBounds flag and version
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
outOfBounds | Face out of bounds flag. |
version | Face object version. |
IllegalArgumentException | if img is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence and landmarks
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
landmarkSet | Face landmarks. |
IllegalArgumentException | if img is null of if landmarkSet is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence, landmarks and version
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
landmarkSet | Face landmarks. |
version | Face object version. |
IllegalArgumentException | if img is null of if landmarkSet is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence, landmarks, outOfBounds flag and version.
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
landmarkSet | Face landmarks. |
outOfBounds | Face out of bounds flag. |
version | Face object version. |
IllegalArgumentException | if img is null of if landmarkSet is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence, landmarks and cropped image.
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
landmarkSet | Face landmarks. |
croppedImage | Cropped face. |
IllegalArgumentException | if img is null of if landmarkSet is null or croppedImage is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, confidence, landmarks, croppedImage version.
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
landmarkSet | Face landmarks. |
croppedImage | Cropped face. |
version | Face object version. |
IllegalArgumentException | if img is null of if landmarkSet is null or croppedImage is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Makes the face object with specified coordinates of bounding box, landmarks, croppedImage, outOfBounds flag and version.
img | Image with face. |
x | X coordinate of face bounding box in pixels. |
y | Y coordinate of face bounding box in pixels. |
width | Width of face bounding box in pixels. |
height | Height of face bounding box in pixels. |
confidence | face detection confidence. |
landmarkSet | Face landmarks. |
croppedImage | Cropped face. |
outOfBounds | Face out of bounds flag. |
version | Face object version. |
IllegalArgumentException | if img is null of if landmarkSet is null or croppedImage is null. |
FaceSDKException | in case of an error in native code. |
|
static |
The value of FACE_SDK__UNKNOWN_CONFIDENCE constant is {}.
|
static |
The value of FACE_SDK__UNKNOWN_VERSION constant is {}.