java-endpoint / src /main /java /com /cs102 /attendance /config /RecognitionProperties.java
KevanSoon
Added working database connection and facedection api
03549e5
raw
history blame
687 Bytes
package com.cs102.attendance.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "recognition")
public class RecognitionProperties {
private double confidence = 0.70;
private long cooldownMs = 10000;
public double getConfidence() {
return confidence;
}
public void setConfidence(double confidence) {
this.confidence = confidence;
}
public long getCooldownMs() {
return cooldownMs;
}
public void setCooldownMs(long cooldownMs) {
this.cooldownMs = cooldownMs;
}
}