Detectron2: Visualizer tutorial

Created on 5 Dec 2019  路  5Comments  路  Source: facebookresearch/detectron2

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

Result

Most helpful comment

@jas-nat is converts an image [:,:,[BGR]] to [:,:,[RGB]]

All 5 comments

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?

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

soumik12345 picture soumik12345  路  3Comments

danielgordon10 picture danielgordon10  路  3Comments

choasup picture choasup  路  3Comments

invisprints picture invisprints  路  4Comments

DeepLakhani99 picture DeepLakhani99  路  4Comments