BcmFingerImageLiveScore
A scan callback object is provided BcmScanController to PBcmFlowDelegate. It captures the live score result during a scan session.
Interface
public struct BcmFingerImageLiveScore {
/**
* This data point is not implemented yet and can be ignored.
*/
public var dpi: 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(
dpi: Double,
score: Double,
hand: Hand,
finger: Finger
){
self.dpi = dpi
self.score = score
self.hand = hand
self.finger = finger
}
}
Usage
The PBcmFlowDelegate.fingerImagesCachedLiveScore() is called, when the internal finger cache was
updated, because fingers with a better score was detected. You can define an own termination logic
in the PBcmFlowDelegate.fingerImagesCachedLiveScore()callback method by using
the BcmFingerImageLiveScore data.