code for computing features on top of object detection output..