public BiometricsDetectionParameter(BiometricOptions options, RecognizeDetectionMethod method) { FileType = method; MatchingVoiceThreshold = options.MatchingVoiceThreshold; MatchVoiceWithWords = options.MatchVoiceWithWords; MatchVoiceScoreRatio = options.MatchVoiceScoreRatio; MinMatchVoiceScoreRatio = options.MinMatchVoiceScoreRatio; MinimumImageFaceSizeRatio = options.MinimumImageFaceSizeRatio; VoicesExtractTextDependentFeatures = options.VoicesExtractTextDependentFeatures; CheckFromImageFaceSize = options.CheckFromImageFaceSize; AccountID = options.AccountId; }
public BiometricValidator(IBiometricsProxy biometricsProxy, ILogger <BiometricValidator> logger, IOptions <BiometricOptions> options) { _biometricsProxy = biometricsProxy; _logger = logger; _options = options.Value; }