Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ public class QualityClassifierStage extends MosipVerticleAPIManager {
@Autowired
private BioAPIFactory bioApiFactory;

@Value("#{${mosip.regproc.quality.classifier.sdk.flags:null}}")
private Map<String, String> flags;

@PostConstruct
private void generateParsedQualityRangeMap() {
parsedQualityRangeMap = new HashMap<>();
Expand Down Expand Up @@ -474,7 +477,7 @@ private Map<String, String> getQualityTags(String regId, List<BIR> birs) throws
BIR[] birArray = new BIR[1];
birArray[0] = bir;
if(!biometricType.name().equalsIgnoreCase(BiometricType.EXCEPTION_PHOTO.name())) {
float[] qualityScoreresponse = getBioSdkInstance(biometricType).getSegmentQuality(birArray, null);
float[] qualityScoreresponse = getBioSdkInstance(biometricType).getSegmentQuality(birArray, flags);
float score = qualityScoreresponse[0];
String bioType = bir.getBdbInfo().getType().get(0).value();

Expand Down
Loading