Blocks Tab

Pixy can detect/track literally hundreds of objects at the same time. Each detected object is reported as a "block," with a specific signature number, location within the image, and size (width and height). The blocks are reported through one of its serial ports (UART, SPI, I2C, USB, analog and digital output) for each frame (every 20 milliseconds) . This tab contains some parameters for controlling the number of blocks Pixy will report for each frame. To bring up the Block Tab, first bring up the Configure Dialog (click on the gear icon or select File➜Configure). Now select the Blocks tab under Pixy Parameters.

  • Max blocks: This parameter sets maximum total number of blocks (objects) Pixy will report per frame. For example, if you set this parameter to 2, Pixy will report a maximum of 2 objects (the 2 largest objects) regardless of which signature the blocks belong to, and all other detected objects will not be reported.
  • Max blocks per signature: This parameter sets the maximum number of blocks (objects) Pixy will report per signature, per frame. For example, if you set this parameter to 2, Pixy will report a maximum of 2 objects for each signature, and all other detected objects with that signature will not be reported.
  • Min block area: sets the minimum area of reported blocks. If a detected block has a smaller area, it will not be reported. For this purpose, area of a block is calculated as width * height.