Is there any tutorial on how to use visualizer step by step clearly? Because when I want to try to show a picture similar to the balloon dataset, my picture is messed up and it shows all annotations.
The picture is like below

The balloon tutorial is a step-by-step tutorial that uses visualizer
visualizer = Visualizer(img[:, :, ::-1], metadata=balloon_metadata, scale=0.5)
In that line, what does img[:,:,::-1] do?
img[:,:,::-1] is an image. See https://detectron2.readthedocs.io/modules/utils.html#detectron2.utils.visualizer.Visualizer
@jas-nat is converts an image [:,:,[BGR]] to [:,:,[RGB]]
@jas-nat is converts an image [:,:,[BGR]] to [:,:,[RGB]]
Thank you for the explanation RubenS02. I found the mistake already in my labelling
Most helpful comment
@jas-nat is converts an image [:,:,[BGR]] to [:,:,[RGB]]