Labels: Update rules for more accurate results

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-02-04 05:04:37 +01:00
parent cf5c0db1d3
commit afbbfbdc31
2 changed files with 134 additions and 159 deletions

View file

@ -10,13 +10,13 @@ var rules = LabelRules{
}, },
"abaya": { "abaya": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"academic gown": { "academic gown": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -100,7 +100,7 @@ var rules = LabelRules{
}, },
"agaric": { "agaric": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
@ -153,10 +153,10 @@ var rules = LabelRules{
Categories: []string{"church"}, Categories: []string{"church"},
}, },
"ambulance": { "ambulance": {
Label: "van", Label: "vehicle",
Threshold: 0.300000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"american alligator": { "american alligator": {
Label: "alligator", Label: "alligator",
@ -204,11 +204,11 @@ var rules = LabelRules{
Label: "vehicle", Label: "vehicle",
Threshold: 0.300000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{"military"}, Categories: []string{},
}, },
"analog clock": { "analog clock": {
Label: "clock", Label: "display",
Threshold: 0.400000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -339,9 +339,9 @@ var rules = LabelRules{
Categories: []string{"shop"}, Categories: []string{"shop"},
}, },
"balance beam": { "balance beam": {
Label: "portrait", Label: "",
Threshold: 0.200000, Threshold: 1.000000,
Priority: 0, Priority: -2,
Categories: []string{}, Categories: []string{},
}, },
"bald eagle bird": { "bald eagle bird": {
@ -358,13 +358,13 @@ var rules = LabelRules{
}, },
"balloon": { "balloon": {
Label: "", Label: "",
Threshold: 0.500000, Threshold: 0.600000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
"ballplayer": { "ballplayer": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -384,7 +384,7 @@ var rules = LabelRules{
Label: "portrait", Label: "portrait",
Threshold: 0.300000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{"people"},
}, },
"banded gecko": { "banded gecko": {
Label: "lizard", Label: "lizard",
@ -508,7 +508,7 @@ var rules = LabelRules{
}, },
"bathing cap": { "bathing cap": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -616,7 +616,7 @@ var rules = LabelRules{
}, },
"belt": { "belt": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -658,7 +658,7 @@ var rules = LabelRules{
}, },
"bikini": { "bikini": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -784,19 +784,19 @@ var rules = LabelRules{
}, },
"bolete": { "bolete": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
"bolo tie": { "bolo tie": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"bonnet": { "bonnet": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -844,7 +844,7 @@ var rules = LabelRules{
}, },
"bottle": { "bottle": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -868,7 +868,7 @@ var rules = LabelRules{
}, },
"bow tie": { "bow tie": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -910,7 +910,7 @@ var rules = LabelRules{
}, },
"brassiere": { "brassiere": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -922,7 +922,7 @@ var rules = LabelRules{
}, },
"breastplate": { "breastplate": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -1114,7 +1114,7 @@ var rules = LabelRules{
}, },
"cardigan": { "cardigan": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -1222,7 +1222,7 @@ var rules = LabelRules{
}, },
"chain mail": { "chain mail": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -1372,13 +1372,13 @@ var rules = LabelRules{
}, },
"cloak": { "cloak": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"clock": { "clock": {
Label: "clock", Label: "display",
Threshold: 0.400000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -1528,7 +1528,7 @@ var rules = LabelRules{
}, },
"coral fungus": { "coral fungus": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
@ -1648,7 +1648,7 @@ var rules = LabelRules{
}, },
"crossword puzzle": { "crossword puzzle": {
Label: "puzzle", Label: "puzzle",
Threshold: 0.500000, Threshold: 1.000000,
Priority: -1, Priority: -1,
Categories: []string{}, Categories: []string{},
}, },
@ -1666,7 +1666,7 @@ var rules = LabelRules{
}, },
"cuirass": { "cuirass": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -1912,7 +1912,7 @@ var rules = LabelRules{
}, },
"earthstar": { "earthstar": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
@ -2056,7 +2056,7 @@ var rules = LabelRules{
}, },
"fashion": { "fashion": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -2266,7 +2266,7 @@ var rules = LabelRules{
}, },
"fur coat": { "fur coat": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -2428,7 +2428,7 @@ var rules = LabelRules{
}, },
"gown": { "gown": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -2500,7 +2500,7 @@ var rules = LabelRules{
}, },
"greenhouse": { "greenhouse": {
Label: "", Label: "",
Threshold: 0.300000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"architecture", "building"}, Categories: []string{"architecture", "building"},
}, },
@ -2524,7 +2524,7 @@ var rules = LabelRules{
}, },
"grocery store": { "grocery store": {
Label: "store", Label: "store",
Threshold: 0.300000, Threshold: 0.400000,
Priority: 0, Priority: 0,
Categories: []string{"shop"}, Categories: []string{"shop"},
}, },
@ -2572,19 +2572,19 @@ var rules = LabelRules{
}, },
"gyromitra": { "gyromitra": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
"hair slide": { "hair slide": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"hair spray": { "hair spray": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -2619,9 +2619,9 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"hand blower": { "hand blower": {
Label: "portrait", Label: "",
Threshold: 0.300000, Threshold: 1.000000,
Priority: 0, Priority: -2,
Categories: []string{}, Categories: []string{},
}, },
"hand-held computer": { "hand-held computer": {
@ -2710,13 +2710,13 @@ var rules = LabelRules{
}, },
"hen-of-the-woods": { "hen-of-the-woods": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
"heritage": { "heritage": {
Label: "portrait", Label: "portrait",
Threshold: 0.000000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -2782,7 +2782,7 @@ var rules = LabelRules{
}, },
"hoopskirt": { "hoopskirt": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3016,7 +3016,7 @@ var rules = LabelRules{
}, },
"jean": { "jean": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3034,13 +3034,13 @@ var rules = LabelRules{
}, },
"jersey": { "jersey": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"jigsaw puzzle": { "jigsaw puzzle": {
Label: "puzzle", Label: "puzzle",
Threshold: 0.500000, Threshold: 1.000000,
Priority: -1, Priority: -1,
Categories: []string{}, Categories: []string{},
}, },
@ -3088,7 +3088,7 @@ var rules = LabelRules{
}, },
"kimono": { "kimono": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3160,7 +3160,7 @@ var rules = LabelRules{
}, },
"lab coat": { "lab coat": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3400,7 +3400,7 @@ var rules = LabelRules{
}, },
"lotion": { "lotion": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -3478,7 +3478,7 @@ var rules = LabelRules{
}, },
"maillot": { "maillot": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3586,7 +3586,7 @@ var rules = LabelRules{
}, },
"menu": { "menu": {
Label: "document", Label: "document",
Threshold: 0.000000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"info"}, Categories: []string{"info"},
}, },
@ -3633,22 +3633,22 @@ var rules = LabelRules{
Categories: []string{"animal"}, Categories: []string{"animal"},
}, },
"minibus": { "minibus": {
Label: "bus", Label: "vehicle",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"miniskirt": { "miniskirt": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"minivan": { "minivan": {
Label: "van", Label: "vehicle",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"mink": { "mink": {
Label: "animal", Label: "animal",
@ -3736,7 +3736,7 @@ var rules = LabelRules{
}, },
"mortarboard": { "mortarboard": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3783,10 +3783,10 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"moving van": { "moving van": {
Label: "van", Label: "vehicle",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"mud turtle": { "mud turtle": {
Label: "turtle", Label: "turtle",
@ -3796,7 +3796,7 @@ var rules = LabelRules{
}, },
"mushroom": { "mushroom": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
@ -3808,19 +3808,19 @@ var rules = LabelRules{
}, },
"nail": { "nail": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"neck brace": { "neck brace": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"necklace": { "necklace": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -3844,7 +3844,7 @@ var rules = LabelRules{
}, },
"nipple": { "nipple": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -3958,7 +3958,7 @@ var rules = LabelRules{
}, },
"overskirt": { "overskirt": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -4018,7 +4018,7 @@ var rules = LabelRules{
}, },
"pajama": { "pajama": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -4156,7 +4156,7 @@ var rules = LabelRules{
}, },
"perfume": { "perfume": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -4228,7 +4228,7 @@ var rules = LabelRules{
}, },
"pill bottle": { "pill bottle": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -4308,7 +4308,7 @@ var rules = LabelRules{
Label: "farm", Label: "farm",
Threshold: 0.300000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"plunger": { "plunger": {
Label: "", Label: "",
@ -4335,10 +4335,10 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"police van": { "police van": {
Label: "van", Label: "vehicle",
Threshold: 0.000000, Threshold: 0.000000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"pomegranate": { "pomegranate": {
Label: "fruit", Label: "fruit",
@ -4354,7 +4354,7 @@ var rules = LabelRules{
}, },
"poncho": { "poncho": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -4366,7 +4366,7 @@ var rules = LabelRules{
}, },
"pop bottle": { "pop bottle": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -4498,7 +4498,7 @@ var rules = LabelRules{
}, },
"puzzle": { "puzzle": {
Label: "puzzle", Label: "puzzle",
Threshold: 0.500000, Threshold: 1.000000,
Priority: -1, Priority: -1,
Categories: []string{}, Categories: []string{},
}, },
@ -4647,10 +4647,10 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"restaurant": { "restaurant": {
Label: "", Label: "dining",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{"dining"}, Categories: []string{},
}, },
"revolver": { "revolver": {
Label: "weapon", Label: "weapon",
@ -4816,7 +4816,7 @@ var rules = LabelRules{
}, },
"sarong": { "sarong": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -4839,10 +4839,10 @@ var rules = LabelRules{
Categories: []string{"animal"}, Categories: []string{"animal"},
}, },
"school bus": { "school bus": {
Label: "bus", Label: "vehicle",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle", "public transport"}, Categories: []string{},
}, },
"schooner": { "schooner": {
Label: "ship", Label: "ship",
@ -5079,7 +5079,7 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"sliding door": { "sliding door": {
Label: "door", Label: "building",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
@ -5127,10 +5127,10 @@ var rules = LabelRules{
Categories: []string{"cat", "animal", "wildlife"}, Categories: []string{"cat", "animal", "wildlife"},
}, },
"snowmobile": { "snowmobile": {
Label: "vehicle", Label: "snowmobile",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"snow"}, Categories: []string{"vehicle"},
}, },
"snowplow": { "snowplow": {
Label: "snow", Label: "snow",
@ -5140,7 +5140,7 @@ var rules = LabelRules{
}, },
"soap dispenser": { "soap dispenser": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -5152,7 +5152,7 @@ var rules = LabelRules{
}, },
"sock": { "sock": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -5170,7 +5170,7 @@ var rules = LabelRules{
}, },
"sombrero": { "sombrero": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -5356,7 +5356,7 @@ var rules = LabelRules{
}, },
"stinkhorn": { "stinkhorn": {
Label: "mushroom", Label: "mushroom",
Threshold: 0.400000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vegetables"}, Categories: []string{"vegetables"},
}, },
@ -5428,7 +5428,7 @@ var rules = LabelRules{
}, },
"suit": { "suit": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
@ -5451,20 +5451,20 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"sunglass": { "sunglass": {
Label: "sunny day", Label: "sunshine",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 2, Priority: 2,
Categories: []string{}, Categories: []string{},
}, },
"sunglasses": { "sunglasses": {
Label: "sunny day", Label: "sunshine",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 2, Priority: 2,
Categories: []string{}, Categories: []string{},
}, },
"sunscreen": { "sunscreen": {
Label: "bottle", Label: "bottle",
Threshold: 0.300000, Threshold: 0.330000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -5488,12 +5488,12 @@ var rules = LabelRules{
}, },
"sweatshirt": { "sweatshirt": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },
"swimming trunks": { "swimming trunks": {
Label: "sunny day", Label: "sunshine",
Threshold: 0.200000, Threshold: 0.200000,
Priority: 0, Priority: 0,
Categories: []string{"people", "portrait"}, Categories: []string{"people", "portrait"},
@ -5847,10 +5847,10 @@ var rules = LabelRules{
Categories: []string{"architecture"}, Categories: []string{"architecture"},
}, },
"trolleybus": { "trolleybus": {
Label: "bus", Label: "vehicle",
Threshold: 0.500000, Threshold: 0.500000,
Priority: 0, Priority: 0,
Categories: []string{"vehicle"}, Categories: []string{},
}, },
"trombone": { "trombone": {
Label: "instrument", Label: "instrument",
@ -6009,8 +6009,8 @@ var rules = LabelRules{
Categories: []string{}, Categories: []string{},
}, },
"wall clock": { "wall clock": {
Label: "clock", Label: "display",
Threshold: 0.400000, Threshold: 0.300000,
Priority: 0, Priority: 0,
Categories: []string{}, Categories: []string{},
}, },
@ -6202,7 +6202,7 @@ var rules = LabelRules{
}, },
"windsor tie": { "windsor tie": {
Label: "portrait", Label: "portrait",
Threshold: 0.200000, Threshold: 0.350000,
Priority: 0, Priority: 0,
Categories: []string{"people"}, Categories: []string{"people"},
}, },

View file

@ -107,7 +107,7 @@ rapeseed:
fashion: fashion:
label: portrait label: portrait
threshold: 0.2 threshold: 0.35
categories: categories:
- people - people
@ -1781,16 +1781,12 @@ airship:
- vehicle - vehicle
ambulance: ambulance:
label: van label: vehicle
threshold: 0.3 threshold: 0.3
categories:
- vehicle
amphibian: amphibian:
label: vehicle label: vehicle
threshold: 0.3 threshold: 0.3
categories:
- military
half track: half track:
label: vehicle label: vehicle
@ -2102,14 +2098,13 @@ dial telephone:
see: electronics see: electronics
clock: clock:
label: clock see: display
threshold: 0.4
analog clock: analog clock:
see: clock see: display
wall clock: wall clock:
see: clock see: display
digital clock: digital clock:
see: display see: display
@ -2270,14 +2265,14 @@ grand piano:
see: instrument see: instrument
greenhouse: greenhouse:
threshold: 0.3 threshold: 0.5
categories: categories:
- architecture - architecture
- building - building
grocery store: grocery store:
label: store label: store
threshold: 0.3 threshold: 0.4
categories: categories:
- shop - shop
@ -2442,16 +2437,12 @@ microwave:
- electronics - electronics
minibus: minibus:
label: bus label: vehicle
threshold: 0.2 threshold: 0.2
categories:
- vehicle
minivan: minivan:
label: van label: vehicle
threshold: 0.2 threshold: 0.2
categories:
- vehicle
mixing bowl: mixing bowl:
label: bowl label: bowl
@ -2517,10 +2508,8 @@ mountain tent:
- outdoor - outdoor
moving van: moving van:
label: van label: vehicle
threshold: 0.2 threshold: 0.2
categories:
- vehicle
notebook: notebook:
label: computer label: computer
@ -2640,7 +2629,7 @@ piggy bank:
bottle: bottle:
label: bottle label: bottle
threshold: 0.3 threshold: 0.33
sunscreen: sunscreen:
see: bottle see: bottle
@ -2685,9 +2674,7 @@ polaroid camera:
- photography - photography
police van: police van:
label: van label: vehicle
categories:
- vehicle
pool table: pool table:
see: ignore see: ignore
@ -2751,9 +2738,8 @@ refrigerator:
- kitchen - kitchen
restaurant: restaurant:
label: dining
threshold: 0.2 threshold: 0.2
categories:
- dining
revolver: revolver:
see: weapon see: weapon
@ -2792,11 +2778,8 @@ sax:
see: instrument see: instrument
school bus: school bus:
label: bus label: vehicle
threshold: 0.2 threshold: 0.2
categories:
- vehicle
- public transport
schooner: schooner:
see: ship see: ship
@ -2835,7 +2818,7 @@ sleeping bag:
threshold: 0.2 threshold: 0.2
sliding door: sliding door:
label: door label: building
threshold: 0.2 threshold: 0.2
snorkel: snorkel:
@ -2843,10 +2826,10 @@ snorkel:
threshold: 0.2 threshold: 0.2
snowmobile: snowmobile:
label: vehicle label: snowmobile
threshold: 0.4 threshold: 0.5
categories: categories:
- snow - vehicle
snowplow: snowplow:
label: snow label: snow
@ -2855,8 +2838,6 @@ snowplow:
plow: plow:
label: farm label: farm
threshold: 0.3 threshold: 0.3
categories:
- vehicle
soap dispenser: soap dispenser:
see: bottle see: bottle
@ -2944,7 +2925,7 @@ suspension bridge:
- building - building
swimming trunks: swimming trunks:
label: sunny day label: sunshine
threshold: 0.2 threshold: 0.2
categories: categories:
- people - people
@ -2992,10 +2973,8 @@ triumphal arch:
see: historic architecture see: historic architecture
trolleybus: trolleybus:
label: bus label: vehicle
threshold: 0.5 threshold: 0.5
categories:
- vehicle
trombone: trombone:
see: instrument see: instrument
@ -3372,7 +3351,7 @@ buckeye:
mushroom: mushroom:
label: mushroom label: mushroom
threshold: 0.4 threshold: 0.5
categories: categories:
- vegetables - vegetables
@ -3458,7 +3437,7 @@ ear:
see: ignore see: ignore
sunglasses: sunglasses:
label: sunny day label: sunshine
priority: 2 priority: 2
threshold: 0.2 threshold: 0.2
@ -3486,6 +3465,7 @@ brass:
menu: menu:
label: document label: document
threshold: 0.5
categories: categories:
- info - info
@ -3503,7 +3483,7 @@ letter opener:
puzzle: puzzle:
label: puzzle label: puzzle
threshold: 0.5 threshold: 1
priority: -1 priority: -1
crossword puzzle: crossword puzzle:
@ -3523,7 +3503,7 @@ bearskin:
ballplayer: ballplayer:
label: portrait label: portrait
threshold: 0.2 threshold: 0.5
crutch: crutch:
see: ignore see: ignore
@ -3531,16 +3511,15 @@ crutch:
mousetrap: mousetrap:
see: ignore see: ignore
band aid:
label: portrait
threshold: 0.3
portrait: portrait:
label: portrait label: portrait
threshold: 0.3 threshold: 0.3
categories: categories:
- people - people
band aid:
see: portrait
oxygen mask: oxygen mask:
see: portrait see: portrait
@ -3554,9 +3533,7 @@ ski mask:
see: portrait see: portrait
heritage: heritage:
label: portrait see: portrait
categories:
- people
safety pin: safety pin:
see: ignore see: ignore
@ -3749,11 +3726,10 @@ bulletproof vest:
see: ignore see: ignore
balance beam: balance beam:
label: portrait see: ignore
threshold: 0.2
balloon: balloon:
threshold: 0.5 threshold: 0.6
display: display:
label: display label: display
@ -3854,8 +3830,7 @@ guillotine:
see: ignore see: ignore
hand blower: hand blower:
threshold: 0.3 see: ignore
label: portrait
fire-screen: fire-screen:
see: ignore see: ignore