Package-level declarations

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Candidate(@Json(name = "face") val face: Face, @Json(name = "similarity") val similarity: Double)

Model of the identify candidate.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Detections(@Json(name = "face_detections") val faceDetections: List<FaceDetection>)

Response model of the detection.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ExtractEvent(@Json(name = "face") val face: Face)

Event response model.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ExtractResponse(@Json(name = "events") val events: List<ExtractEvent>)

Extract response model.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Face(@Json(name = "face_id") val faceId: String?, @Json(name = "user_data") val userData: String?, @Json(name = "create_time") val createTime: Date?, @Json(name = "external_id") val externalId: String?)

Model of the identify face.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class FaceDetection(@Json(name = "verifications") val verifications: List<Verification>)

Response model of the face detection.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class FaceVerification(@Json(name = "face_id") val faceId: String)

Response model of the face verification.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class IdentifyEvent(@Json(name = "matches") val matches: List<Match>)

Model of the identify event.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class IdentifyResponse(@Json(name = "events") val events: List<IdentifyEvent>)

Response model of the identify query.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Image(@Json(name = "error") val error: LunaWebErrorDescription, @Json(name = "detections") val detections: Detections)

Response model of the image.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Match(@Json(name = "candidates") val candidates: List<Candidate>)

Model of the identify match.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Verification(@Json(name = "status") val status: Boolean, @Json(name = "similarity") val similarity: Double, @Json(name = "face") val faceVerification: FaceVerification)

Response model of the verification.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class VerifyResponse(@Json(name = "images") val images: List<Image>)

Response model of the verify query.