Spaces:
Sleeping
Sleeping
File size: 687 Bytes
03549e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
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;
}
} |