Statistics for Active object recognition for 2D and 3D applications