Labels: Improve label rules
This commit is contained in:
parent
2509952992
commit
a984543b54
@ -106,7 +106,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"aircraft carrier": {
|
||||
Label: "runway",
|
||||
Threshold: 0.600000,
|
||||
Threshold: 0.790000,
|
||||
Priority: 0,
|
||||
Categories: []string{"airport", "vehicle"},
|
||||
},
|
||||
@ -142,7 +142,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"alp": {
|
||||
Label: "alpine",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{"landscape", "mountains"},
|
||||
},
|
||||
@ -166,7 +166,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"american black bear": {
|
||||
Label: "bear",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"animal"},
|
||||
},
|
||||
@ -334,7 +334,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"bakery": {
|
||||
Label: "",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"shop"},
|
||||
},
|
||||
@ -514,7 +514,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"bathtub": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -544,7 +544,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"bear": {
|
||||
Label: "bear",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"animal"},
|
||||
},
|
||||
@ -640,7 +640,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"bicycle-built-for-two": {
|
||||
Label: "bike",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.600000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -652,7 +652,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"bike": {
|
||||
Label: "bike",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.600000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -808,7 +808,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"bookcase": {
|
||||
Label: "",
|
||||
Threshold: 0.400000,
|
||||
Threshold: 0.700000,
|
||||
Priority: 0,
|
||||
Categories: []string{"furniture", "book"},
|
||||
},
|
||||
@ -874,7 +874,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"box turtle": {
|
||||
Label: "turtle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"reptile", "animal"},
|
||||
},
|
||||
@ -952,7 +952,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"brown bear": {
|
||||
Label: "bear",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"animal"},
|
||||
},
|
||||
@ -1714,7 +1714,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"desk": {
|
||||
Label: "office",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -1816,7 +1816,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"dogsled": {
|
||||
Label: "snow",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{"animal", "dog"},
|
||||
},
|
||||
@ -2141,7 +2141,7 @@ var rules = LabelRules{
|
||||
"flatworm": {
|
||||
Label: "worm",
|
||||
Threshold: 1.000000,
|
||||
Priority: -2,
|
||||
Priority: -3,
|
||||
Categories: []string{},
|
||||
},
|
||||
"flute": {
|
||||
@ -2200,7 +2200,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"four-poster": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -2626,7 +2626,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"hand-held computer": {
|
||||
Label: "computer",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"office"},
|
||||
},
|
||||
@ -2806,7 +2806,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"horse cart": {
|
||||
Label: "",
|
||||
Threshold: 0.700000,
|
||||
Threshold: 0.800000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -2824,7 +2824,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"hourglass": {
|
||||
Label: "glass",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.600000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -2866,7 +2866,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"ice bear": {
|
||||
Label: "bear",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"animal"},
|
||||
},
|
||||
@ -3238,7 +3238,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"leatherback turtle": {
|
||||
Label: "turtle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"reptile", "animal"},
|
||||
},
|
||||
@ -3286,7 +3286,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"library": {
|
||||
Label: "",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.700000,
|
||||
Priority: 0,
|
||||
Categories: []string{"architecture"},
|
||||
},
|
||||
@ -3346,7 +3346,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"living": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -3382,7 +3382,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"loggerhead": {
|
||||
Label: "turtle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"reptile", "animal"},
|
||||
},
|
||||
@ -3760,7 +3760,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"mountain bike": {
|
||||
Label: "bike",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.600000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -3790,7 +3790,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"mud turtle": {
|
||||
Label: "turtle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"reptile", "animal"},
|
||||
},
|
||||
@ -3827,7 +3827,7 @@ var rules = LabelRules{
|
||||
"nematode": {
|
||||
Label: "worm",
|
||||
Threshold: 1.000000,
|
||||
Priority: -2,
|
||||
Priority: -3,
|
||||
Categories: []string{},
|
||||
},
|
||||
"newfoundland dog": {
|
||||
@ -3898,7 +3898,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"office": {
|
||||
Label: "office",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -4006,8 +4006,8 @@ var rules = LabelRules{
|
||||
},
|
||||
"padlock": {
|
||||
Label: "",
|
||||
Threshold: 1.000000,
|
||||
Priority: -2,
|
||||
Threshold: 0.000000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
"paintbrush": {
|
||||
@ -4144,13 +4144,13 @@ var rules = LabelRules{
|
||||
},
|
||||
"pencil box": {
|
||||
Label: "office",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
"pencil sharpener": {
|
||||
Label: "office",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -4180,7 +4180,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"photocopier": {
|
||||
Label: "office",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -4426,7 +4426,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"printer": {
|
||||
Label: "office",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -4576,7 +4576,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"recreational vehicle": {
|
||||
Label: "camper",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -5014,7 +5014,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"shower curtain": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -5092,7 +5092,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"sloth bear": {
|
||||
Label: "bear",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.500000,
|
||||
Priority: 0,
|
||||
Categories: []string{"animal"},
|
||||
},
|
||||
@ -5128,13 +5128,13 @@ var rules = LabelRules{
|
||||
},
|
||||
"snowmobile": {
|
||||
Label: "vehicle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{"snow"},
|
||||
},
|
||||
"snowplow": {
|
||||
Label: "snow",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.400000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -5200,7 +5200,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"space shuttle": {
|
||||
Label: "aircraft",
|
||||
Threshold: 0.250000,
|
||||
Threshold: 0.650000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -5524,7 +5524,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"table lamp": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -5536,7 +5536,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"tandem bicycle": {
|
||||
Label: "bike",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.600000,
|
||||
Priority: 0,
|
||||
Categories: []string{"vehicle"},
|
||||
},
|
||||
@ -5590,7 +5590,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"terrapin": {
|
||||
Label: "turtle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"reptile", "animal"},
|
||||
},
|
||||
@ -5860,19 +5860,19 @@ var rules = LabelRules{
|
||||
},
|
||||
"tub": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
"turnstile": {
|
||||
Label: "public transport",
|
||||
Threshold: 0.300000,
|
||||
Threshold: 0.450000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
"turtle": {
|
||||
Label: "turtle",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.300000,
|
||||
Priority: 0,
|
||||
Categories: []string{"reptile", "animal"},
|
||||
},
|
||||
@ -6046,7 +6046,7 @@ var rules = LabelRules{
|
||||
},
|
||||
"washbasin": {
|
||||
Label: "living",
|
||||
Threshold: 0.200000,
|
||||
Threshold: 0.670000,
|
||||
Priority: 0,
|
||||
Categories: []string{},
|
||||
},
|
||||
@ -6263,7 +6263,7 @@ var rules = LabelRules{
|
||||
"worm": {
|
||||
Label: "worm",
|
||||
Threshold: 1.000000,
|
||||
Priority: -2,
|
||||
Priority: -3,
|
||||
Categories: []string{},
|
||||
},
|
||||
"worm fence": {
|
||||
|
@ -393,7 +393,7 @@ tailed frog:
|
||||
|
||||
turtle:
|
||||
label: turtle
|
||||
threshold: 0.2
|
||||
threshold: 0.3
|
||||
categories:
|
||||
- reptile
|
||||
- animal
|
||||
@ -702,7 +702,7 @@ coral reef:
|
||||
worm:
|
||||
label: worm
|
||||
threshold: 1
|
||||
priority: -2
|
||||
priority: -3
|
||||
|
||||
flatworm:
|
||||
see: worm
|
||||
@ -1270,7 +1270,7 @@ grey fox:
|
||||
|
||||
bear:
|
||||
label: bear
|
||||
threshold: 0.3
|
||||
threshold: 0.5
|
||||
categories:
|
||||
- animal
|
||||
|
||||
@ -1761,7 +1761,7 @@ acoustic guitar:
|
||||
|
||||
aircraft carrier:
|
||||
label: runway
|
||||
threshold: 0.6
|
||||
threshold: 0.79
|
||||
categories:
|
||||
- airport
|
||||
- vehicle
|
||||
@ -1811,7 +1811,7 @@ backpack:
|
||||
threshold: 0.2
|
||||
|
||||
bakery:
|
||||
threshold: 0.3
|
||||
threshold: 0.5
|
||||
categories:
|
||||
- shop
|
||||
|
||||
@ -1852,7 +1852,7 @@ chiton:
|
||||
|
||||
living:
|
||||
label: living
|
||||
threshold: 0.2
|
||||
threshold: 0.67
|
||||
|
||||
bathtub:
|
||||
see: living
|
||||
@ -1908,7 +1908,7 @@ bobsled:
|
||||
see: ignore
|
||||
|
||||
bookcase:
|
||||
threshold: 0.4
|
||||
threshold: 0.7
|
||||
categories:
|
||||
- furniture
|
||||
- book
|
||||
@ -2148,7 +2148,7 @@ dock:
|
||||
|
||||
dogsled:
|
||||
label: snow
|
||||
threshold: 0.3
|
||||
threshold: 0.4
|
||||
categories:
|
||||
- animal
|
||||
- dog
|
||||
@ -2289,7 +2289,7 @@ pick:
|
||||
|
||||
hand-held computer:
|
||||
label: computer
|
||||
threshold: 0.2
|
||||
threshold: 0.3
|
||||
categories:
|
||||
- office
|
||||
|
||||
@ -2368,7 +2368,7 @@ reflex camera:
|
||||
see: photography
|
||||
|
||||
library:
|
||||
threshold: 0.3
|
||||
threshold: 0.7
|
||||
categories:
|
||||
- architecture
|
||||
|
||||
@ -2486,7 +2486,7 @@ mosque:
|
||||
|
||||
bike:
|
||||
label: bike
|
||||
threshold: 0.3
|
||||
threshold: 0.6
|
||||
categories:
|
||||
- vehicle
|
||||
|
||||
@ -2621,7 +2621,7 @@ petri dish:
|
||||
|
||||
photocopier:
|
||||
label: office
|
||||
threshold: 0.2
|
||||
threshold: 0.4
|
||||
|
||||
picket fence:
|
||||
see: fence
|
||||
@ -2671,7 +2671,7 @@ plane:
|
||||
|
||||
space shuttle:
|
||||
label: aircraft
|
||||
threshold: 0.25
|
||||
threshold: 0.65
|
||||
categories:
|
||||
- vehicle
|
||||
|
||||
@ -2709,7 +2709,7 @@ prayer rug:
|
||||
|
||||
printer:
|
||||
label: office
|
||||
threshold: 0.3
|
||||
threshold: 0.4
|
||||
|
||||
prison:
|
||||
label: building
|
||||
@ -2741,7 +2741,7 @@ tractor:
|
||||
|
||||
recreational vehicle:
|
||||
label: camper
|
||||
threshold: 0.2
|
||||
threshold: 0.5
|
||||
categories:
|
||||
- vehicle
|
||||
|
||||
@ -2844,13 +2844,13 @@ snorkel:
|
||||
|
||||
snowmobile:
|
||||
label: vehicle
|
||||
threshold: 0.2
|
||||
threshold: 0.4
|
||||
categories:
|
||||
- snow
|
||||
|
||||
snowplow:
|
||||
label: snow
|
||||
threshold: 0.2
|
||||
threshold: 0.4
|
||||
|
||||
plow:
|
||||
label: farm
|
||||
@ -3318,7 +3318,7 @@ eggnog:
|
||||
|
||||
alp:
|
||||
label: alpine
|
||||
threshold: 0.2
|
||||
threshold: 0.4
|
||||
categories:
|
||||
- landscape
|
||||
- mountains
|
||||
@ -3467,7 +3467,7 @@ sunglass:
|
||||
|
||||
hourglass:
|
||||
label: glass
|
||||
threshold: 0.2
|
||||
threshold: 0.6
|
||||
|
||||
packet:
|
||||
label: package
|
||||
@ -3624,7 +3624,7 @@ vault:
|
||||
|
||||
office:
|
||||
label: office
|
||||
threshold: 0.3
|
||||
threshold: 0.4
|
||||
|
||||
desk:
|
||||
see: office
|
||||
@ -3992,7 +3992,7 @@ traffic light:
|
||||
|
||||
turnstile:
|
||||
label: public transport
|
||||
threshold: 0.3
|
||||
threshold: 0.45
|
||||
|
||||
whistle:
|
||||
threshold: 0.7
|
||||
@ -4029,7 +4029,7 @@ crane:
|
||||
see: ignore
|
||||
|
||||
horse cart:
|
||||
threshold: 0.7
|
||||
threshold: 0.8
|
||||
categories:
|
||||
- vehicle
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user