feat: 色情识别结果可视化与日志;超长路径修复;旋转开关、明暗5档等
This commit is contained in:
@@ -216,6 +216,11 @@ func (d *Detector) Stop() {
|
||||
}
|
||||
}
|
||||
|
||||
// Threshold 返回当前使用的判定阈值(0~1)。给上层记录结果用。
|
||||
func (d *Detector) Threshold() float64 {
|
||||
return d.threshold
|
||||
}
|
||||
|
||||
// resolvePython 在配置值 / PATH 里找可用的 python 解释器。
|
||||
// Windows 上常见 python / python3 / py;Linux/mac 常见 python3 / python。
|
||||
func resolvePython(configured string) string {
|
||||
|
||||
Reference in New Issue
Block a user