Relative Content

Tag Archive for image-segmentation

How to count total number of pixels of each class for semantic segmentation in detectron2

I want to count the total number of pixels for each segmented class, I only need the count for each general objects, like one class for every vehicle, one for every person and so on. For this reason, I’m using semantic segmentation instead of instance segmentation (which would consider each vehicle or person instance separately).But the output of semantic segmentation in detectron2 does not have binary mask.