GitHub Actions commited on
Commit
688e6ee
·
1 Parent(s): 407c891

Deploy from GitHub commit affdcd663b2d42fe3ddfd8139267f7e816e91713

Browse files
Files changed (1) hide show
  1. app.py +12 -6
app.py CHANGED
@@ -239,17 +239,23 @@ FLOOR_SURFACE_CLASSES = {
239
  "floor", "road", "sidewalk", "ground", "field", "grass", "sand",
240
  "runway", "dirt track", "land", "stairs", "step",
241
  }
242
- REJECT_SURFACE_CLASSES = {"wall", "ceiling", "building", "sky", "window"}
 
 
 
 
 
 
243
  OCCLUDER_CLASSES = {
244
  "bed", "cabinet", "person", "door", "table", "plant", "curtain", "chair",
245
  "car", "painting", "sofa", "shelf", "mirror", "rug", "armchair", "seat", "desk",
246
  "wardrobe", "lamp", "bathtub", "railing", "cushion", "base", "box",
247
- "column", "chest of drawers", "counter", "sink", "fireplace",
248
- "refrigerator", "bookcase", "blind", "coffee table", "toilet", "bench",
249
- "countertop", "stove", "kitchen island", "computer", "swivel chair",
250
  "bar", "ottoman", "bottle", "buffet", "poster", "towel", "television",
251
- "washer", "plaything", "stool", "basket", "bag", "cradle", "oven",
252
- "ball", "food", "microwave", "pot", "dishwasher", "blanket", "sculpture",
253
  "vase", "tray", "fan", "plate", "monitor", "shower", "radiator", "clock",
254
  }
255
 
 
239
  "floor", "road", "sidewalk", "ground", "field", "grass", "sand",
240
  "runway", "dirt track", "land", "stairs", "step",
241
  }
242
+ REJECT_SURFACE_CLASSES = {
243
+ "wall", "ceiling", "building", "sky", "window",
244
+ # Horizontal work surfaces — excluded before contour fill so the segmentation
245
+ # model mis-labelling them as floor doesn't cause tile bleed onto counters/appliances.
246
+ "countertop", "kitchen island", "stove", "refrigerator", "oven", "microwave",
247
+ "dishwasher", "sink",
248
+ }
249
  OCCLUDER_CLASSES = {
250
  "bed", "cabinet", "person", "door", "table", "plant", "curtain", "chair",
251
  "car", "painting", "sofa", "shelf", "mirror", "rug", "armchair", "seat", "desk",
252
  "wardrobe", "lamp", "bathtub", "railing", "cushion", "base", "box",
253
+ "column", "chest of drawers", "counter", "fireplace",
254
+ "bookcase", "blind", "coffee table", "toilet", "bench",
255
+ "computer", "swivel chair",
256
  "bar", "ottoman", "bottle", "buffet", "poster", "towel", "television",
257
+ "washer", "plaything", "stool", "basket", "bag", "cradle",
258
+ "ball", "food", "blanket", "sculpture",
259
  "vase", "tray", "fan", "plate", "monitor", "shower", "radiator", "clock",
260
  }
261