BcmFingerImageDTO
A scan result object is provided by BcmScanController to PBcmFlowDelegate. It captures the result of a scan session.
Bitmap output format support for custom integration and projects.
Interface
public struct BcmFingerImageDTO {
/**
* The finger image data are represented with a bitmap.
*/
public var image: UIImage?
/**
* The finger image - Dots Per Inch.
*/
public var dpi: Double
/**
* This data point is not implemented yet and can be ignored.
*/
public var distance: Double
/**
* Contains the score of the captured finger.
* The range is between [0.0 - 1.0]. Good acceptable values are around 0.2.
* 0.5 - 1.0 is hard to reach, but theoretically possible.
*/
public var score: Double
/**
* Info about which Hand - Left, Right
*/
public var hand: Hand
/**
* Info about which Finger - Thumb, Index, Middle, Ring, Pinky
*/
public var finger: Finger
public init(
image: UIImage?,
dpi: Double,
distance: Double,
score: Double,
hand: Hand,
finger: Finger
){
self.image = image
self.dpi = dpi
self.distance = distance
self.score = score
self.hand = hand
self.finger = finger
}
}
Usage
BcmFingerImageDTO is used for the PBcmFlowDelegate.fingerImagesResult() callback, when the scan gets terminated. The scan termination can be configured via the BcmConfig.
There is also the possibility to set your own Scan termination logic, see Custom Scan Termination.