Class DetectFacesRequest
java.lang.Object
com.regula.facesdk.detection.request.DetectFacesRequest
-
Constructor Summary
ConstructorDescriptionDetectFacesRequest
(Bitmap image) Custom Request configuration to specify image, quality, attributes parameters.DetectFacesRequest
(Bitmap image, DetectFacesConfiguration configuration) Custom Request configuration to specify image, quality, attributes parameters.DetectFacesRequest
(Bitmap image, DetectFacesConfiguration configuration, String tag) Custom Request configuration to specify image, quality, attributes parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic DetectFacesRequest
allAttributesRequestForImage
(Bitmap image) Creates a request for all available attribute results.static DetectFacesRequest
cropAllFacesRequestForImage
(Bitmap image) Creates a request for cropped portraits of all the people in the image.static DetectFacesRequest
cropCentralFaceRequestForImage
(Bitmap image) Creates a request for a cropped portrait of the person whose face is the most central.Return image in base64 formatBitmap
getImage()
getTag()
static DetectFacesRequest
qualityFullRequestForImage
(Bitmap image) Creates a request to check all the available quality characteristics.static DetectFacesRequest
qualityICAORequestForImage
(Bitmap image) Creates a request to check the quality characteristics based on the ICAO standard.static DetectFacesRequest
qualityVisaSchengenRequestForImage
(Bitmap image) Creates a request to check the quality characteristics based on the Schengen visa standard.static DetectFacesRequest
qualityVisaUSARequestForImage
(Bitmap image) Creates a request to check the quality characteristics based on the USA visa standard.static DetectFacesRequest
thumbnailRequestForImage
(Bitmap image) Creates a request for a cropped portrait of the person whose face is the most central in the image in the original size.
-
Constructor Details
-
DetectFacesRequest
Custom Request configuration to specify image, quality, attributes parameters.- Parameters:
image
- android.graphics.Bitmap image to process.configuration
-DetectFacesConfiguration
custom configuration.
-
DetectFacesRequest
public DetectFacesRequest(Bitmap image) Custom Request configuration to specify image, quality, attributes parameters.- Parameters:
image
- android.graphics.Bitmap image to process.
-
DetectFacesRequest
Custom Request configuration to specify image, quality, attributes parameters.- Parameters:
image
- android.graphics.Bitmap image to process.configuration
-DetectFacesConfiguration
custom configuration.
-
-
Method Details
-
qualityFullRequestForImage
Creates a request to check all the available quality characteristics.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
qualityICAORequestForImage
Creates a request to check the quality characteristics based on the ICAO standard.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
qualityVisaSchengenRequestForImage
Creates a request to check the quality characteristics based on the Schengen visa standard.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
qualityVisaUSARequestForImage
Creates a request to check the quality characteristics based on the USA visa standard.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
cropCentralFaceRequestForImage
Creates a request for a cropped portrait of the person whose face is the most central.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
cropAllFacesRequestForImage
Creates a request for cropped portraits of all the people in the image.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
thumbnailRequestForImage
Creates a request for a cropped portrait of the person whose face is the most central in the image in the original size.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
allAttributesRequestForImage
Creates a request for all available attribute results.- Parameters:
image
- android.graphics.Bitmap image to process.- Returns:
DetectFacesRequest
.
-
getScenario
-
getImage
public Bitmap getImage() -
getConfiguration
-
getBase64Image
Return image in base64 format- Returns:
- converted
String
in the base64
-
getTag
-