Contactless fingerprints
Request per-finger PNGs, and optional standards-based minutiae records.
What users see
What your app receives. The SDK returns four ordered finger results with the requested PNGs. A standards template is included only when a compatible provider supplies valid input.
Choose your output
- Grayscale PNG provides the processed ridge image for integrations that accept image input.
- Binarized PNG provides a black-and-white ridge image for preview or an image pipeline that explicitly accepts it.
- ANSI INCITS 378-2004 and ISO/IEC 19794-2:2005 contain minutiae records. To get either record from capture, supply a calibrated standards provider.
Request artifacts
Supply the outputs your matcher accepts. The SDK retains successful artifacts even if an optional standards record cannot be produced.
Identomic.fingerprints(
formats: [.grayscalePNG, .binaryPNG]
) { result in
guard case .success(let capture) = result else { return }
for finger in capture.fingers {
let gray = finger.images.first { $0.format == .grayscalePNG }
let binary = finger.images.first { $0.format == .binaryPNG }
// Use gray?.data and binary?.data in your host workflow.
}
}Expected results
FingerprintCaptureResult provides schemaVersion, captureID, and four ordered fingers. Each finger includes hand, position, status, resolutionStatus, images, and optional minutiae artifacts. Each image includes format, width, height, and Data. The image-only response uses schema version 1. Requests that include minutiae use version 2. Camera resolution is reported as unmeasured.
ANSI and ISO provider
Use a FingerprintStandardsProvider to prepare calibrated, directed minutiae for the exact requested edition. The provider receives a grayscale CGImage and position for each selected standards format and runs off the main actor. Use ANSI producer identifiers where required. ISO/IEC 19794-2:2005 has no dedicated live-contactless impression code, so confirm the matcher’s accepted capture profile.
let provider = FingerprintStandardsProvider { input, format in
// Implement this adapter with your calibrated extractor.
try calibratedExtractor.prepare(input, for: format)
}
Identomic.fingerprints(
images: [.grayscalePNG],
minutiae: [.ansiIncits378_2004, .iso19794_2_2005Record],
standardsProvider: provider
) { result in
guard case .success(let capture) = result else {
// Handle capture failure in your app.
return
}
for finger in capture.fingers {
for artifact in finger.minutiae ?? [] {
if let bytes = artifact.data {
// Pass bytes to the matcher configured for artifact.format.
} else {
// Handle artifact.unavailableReason.
}
}
}
}Test interoperability
- Decode one file per requested format and verify dimensions and finger position.
- For each standards edition, independently parse the bytes and confirm the target matcher accepts the edition and capture profile.
- Test separate enrollment and verification captures. Include contact-to-contactless pairs if you need compatibility with existing contact enrollments.
Handle unavailable outputs
Check unavailableReason before using a minutiae artifact. standardsValidationRequired indicates no eligible provider output, providerFailed indicates an extractor error, and invalidStandardMinutiae indicates inconsistent or invalid input. Verify parser compatibility and real matching performance before production use.

