title: In detectron2, how could I plot only bounding on images without label (class name) in object detection?
body: <p>I am learning detectron2 and practicing it using pokemonster data.
  So, I follow the detectron2 tutorial (here : <a href="https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5" rel="nofollow noreferrer">https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5</a>)</p>
  <p>And also a detector is developed and below image can be detected.</p>
  <p><a href="https://i.stack.imgur.com/RnHu7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RnHu7.png" alt="enter image description here" /></a></p>
  <p>But, in this image, red circle is class name. I want to plot only bounding box(green color) with the exception of red circle (class name).
  Now below is my code for visualization. What code should be modified?
  Thank you.</p>
  <pre><code>import glob
  for imageName in sorted(glob.glob(os.path.join(test_path, '*.jpg'))):
    im = cv2.imread(imageName)
    outputs = predictor(im)
    v = Visualizer(im[:, :, ::-1],
                  metadata=train_metadata,
                  scale=0.8
                   )
    out = v.draw_instance_predictions(outputs[&quot;instances&quot;].to(&quot;cpu&quot;))
    boxes = v._convert_boxes(outputs[&quot;instances&quot;].pred_boxes.to('cpu'))
    for box in boxes:
      box = (round(box[0]), round(box[1]), round(box[2]) - round(box[0]), round(box[3] - box[1]))
      out = v.draw_text(f&quot;{box[2:4]}&quot;, (box[0], box[1]))
    cv2_imshow(out.get_image()[:, :, ::-1])
  </code></pre>