mirror of
https://github.com/photoprism/photoprism.git
synced 2025-11-03 11:01:58 +08:00
Index and show video metadata #17
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
@@ -190,7 +190,7 @@ func (t *TensorFlow) bestLabels(probabilities []float32) Labels {
|
||||
|
||||
uncertainty := 100 - int(math.Round(float64(p*100)))
|
||||
|
||||
result = append(result, Label{Name: labelText, Source: "image", Uncertainty: uncertainty, Priority: rule.Priority, Categories: rule.Categories})
|
||||
result = append(result, Label{Name: labelText, Source: SrcImage, Uncertainty: uncertainty, Priority: rule.Priority, Categories: rule.Categories})
|
||||
}
|
||||
|
||||
// Sort by probability
|
||||
|
||||
Reference in New Issue
Block a user