1

I encountered a problem when running on a video. When it detects a street lamp, it shows a bird. Is there anyway to rename the label or remove the label?

I have tried to edit the misc.py but it is not working. Below is the screenshot of the detected image. enter image description here

labels20 = ["aeroplane", "bicycle", "lamp", "boat", "bottle",
    "bus", "car", "cat", "chair", "cow", "diningtable", "dog",
    "horse", "motorbike", "person", "pottedplant", "sheep", "sofa",
     "train", "tvmonitor"]

I am trying to get rid of the label or if I can, change the labels name.

AbdelAziz AbdelLatef
  • 3,650
  • 6
  • 24
  • 52
Sriram
  • 433
  • 4
  • 20

1 Answers1

1

You should change bird to lamp inside a file with extension .names, not inside the code.

AbdelAziz AbdelLatef
  • 3,650
  • 6
  • 24
  • 52