How do I use the bitmaps in the segmentation models?

Hi there guys, so I have a segmentation model, and on each prediction it gaves me a “bitmap“ value, which is pretty much a bunch of characters, I wan’t to check the size of the bitmap, so I can identify if it’s more likely for it correctly labeled or not (if the pixels are too small, probably it misscharacterized some environment pixels) . Does someone knows how to check how big or how many pixels does the bitmap actually have?