Backend: Update label rules

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-04-16 16:02:04 +02:00
parent 204ae30c90
commit f99307f181
2 changed files with 31 additions and 37 deletions

View file

@ -2196,7 +2196,7 @@ var rules = LabelRules{
Label: "outdoor",
Threshold: 0.400000,
Priority: 0,
Categories: []string{"water"},
Categories: []string{},
},
"fountain pen": {
Label: "",
@ -2361,10 +2361,10 @@ var rules = LabelRules{
Categories: []string{"reptile", "animal"},
},
"go-kart": {
Label: "outdoor",
Threshold: 0.300000,
Label: "vehicle",
Threshold: 0.400000,
Priority: 0,
Categories: []string{"vehicle"},
Categories: []string{},
},
"goblet": {
Label: "beverage",
@ -2392,8 +2392,8 @@ var rules = LabelRules{
},
"golf ball": {
Label: "",
Threshold: 0.000000,
Priority: 0,
Threshold: 1.000000,
Priority: -2,
Categories: []string{},
},
"golfcart": {
@ -2968,8 +2968,8 @@ var rules = LabelRules{
},
"iron": {
Label: "",
Threshold: 0.500000,
Priority: 0,
Threshold: 1.000000,
Priority: -2,
Categories: []string{},
},
"isopod": {
@ -3226,9 +3226,9 @@ var rules = LabelRules{
},
"lawn mower": {
Label: "outdoor",
Threshold: 0.000000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{"vehicle"},
Categories: []string{},
},
"leaf beetle": {
Label: "beetle",
@ -4264,8 +4264,8 @@ var rules = LabelRules{
},
"ping-pong ball": {
Label: "",
Threshold: 0.000000,
Priority: 0,
Threshold: 1.000000,
Priority: -2,
Categories: []string{},
},
"pinwheel": {
@ -5544,7 +5544,7 @@ var rules = LabelRules{
Label: "moment",
Threshold: 0.000000,
Priority: 0,
Categories: []string{"outdoor"},
Categories: []string{},
},
"switch": {
Label: "electronics",
@ -5626,8 +5626,8 @@ var rules = LabelRules{
},
"tennis ball": {
Label: "",
Threshold: 0.000000,
Priority: 0,
Threshold: 1.000000,
Priority: -2,
Categories: []string{},
},
"terrapin": {
@ -6105,8 +6105,8 @@ var rules = LabelRules{
Categories: []string{"beverage"},
},
"water buffalo": {
Label: "",
Threshold: 0.200000,
Label: "buffalo",
Threshold: 0.300000,
Priority: 0,
Categories: []string{"animal", "farm"},
},

View file

@ -1509,7 +1509,8 @@ ox:
- farm
water buffalo:
threshold: 0.2
label: buffalo
threshold: 0.3
categories:
- animal
- farm
@ -2228,8 +2229,6 @@ forklift:
fountain:
label: outdoor
threshold: 0.4
categories:
- water
fountain pen:
see: ignore
@ -2252,10 +2251,8 @@ garbage truck:
threshold: 0.3
go-kart:
label: outdoor
threshold: 0.3
categories:
- vehicle
label: vehicle
threshold: 0.4
golfcart:
label: outdoor
@ -2356,8 +2353,7 @@ laptop:
lawn mower:
label: outdoor
categories:
- vehicle
threshold: 0.3
photography:
label: photography
@ -3410,28 +3406,28 @@ ball:
see: ignore
baseball:
see: ball
see: ignore
basketball:
see: ball
see: ignore
golf ball:
see: ball
see: ignore
ping-pong ball:
see: ball
see: ignore
rugby ball:
see: ball
see: ignore
soccer ball:
see: ball
see: ignore
tennis ball:
see: ball
see: ignore
volleyball:
see: ball
see: ignore
spider web:
see: ignore
@ -3466,8 +3462,6 @@ packet:
swing:
label: moment
categories:
- outdoor
web site:
label: info
@ -3875,7 +3869,7 @@ hip:
threshold: 0.2
iron:
threshold: 0.5
see: ignore
jinrikisha:
label: people