Classify: Reduce basket label priority to -1

This commit is contained in:
Michael Mayer 2021-02-15 20:02:46 +01:00
parent 2e0870f664
commit d4bb89ada3
2 changed files with 13 additions and 11 deletions

View file

@ -479,7 +479,7 @@ var rules = LabelRules{
"basket": {
Label: "basket",
Threshold: 0.300000,
Priority: 0,
Priority: -1,
Categories: []string{},
},
"basketball": {
@ -1625,7 +1625,7 @@ var rules = LabelRules{
"crate": {
Label: "basket",
Threshold: 0.520000,
Priority: 0,
Priority: -1,
Categories: []string{},
},
"crayfish": {
@ -2627,7 +2627,7 @@ var rules = LabelRules{
"hamper": {
Label: "basket",
Threshold: 0.610000,
Priority: 0,
Priority: -1,
Categories: []string{},
},
"hamster": {
@ -5055,10 +5055,10 @@ var rules = LabelRules{
Categories: []string{},
},
"shopping basket": {
Label: "shopping basket",
Threshold: 0.570000,
Priority: 0,
Categories: []string{"basket"},
Label: "basket",
Threshold: 0.600000,
Priority: -1,
Categories: []string{},
},
"shopping cart": {
Label: "shop",

View file

@ -3317,16 +3317,17 @@ shoe shop:
basket:
label: basket
threshold: 0.3
priority: -1
crate:
label: basket
threshold: 0.52
priority: -1
shopping basket:
label: shopping basket
threshold: 0.57
categories:
- basket
label: basket
threshold: 0.6
priority: -1
shopping cart:
label: shop
@ -4480,6 +4481,7 @@ gas pump:
hamper:
label: basket
threshold: 0.61
priority: -1
hay:
label: farm