Statistics for An Efficient and Flexible Perception Pipeline for Autonomous Agents