<< return to Pixycam.com

Blob rectangles cutting off the bottoms of objects?

I’m finding a consistent pattern where the bottoms of detected objects are missing one block’s worth of height. See the attached picture for an example in PixyMon. I’ve monkey-patched to remove the block/segment display so you can see how the rectangles line up to the actual objects. If segments were being rendered, you would see a row of red blocks outside each rectangle at the bottom.

!https://raw.githubusercontent.com/jessecrossen/pixy/temp/doc/images/bottom-edge.png!

At first I thought this was only an off-by-one rendering issue in PixyMon, but if so I wonder why it’s not also happening on the right edge? The blob code does treat the bottom of the blob differently from the other sides, so that may be the source of it. Anyone have an idea about what’s going on here?

Hello Jesse,
There is a lot of scaling and rounding going on the rendering side. I wonder if you grab the corner of your window and resize if the issue goes away. Are you running Windows?

Edward