added keypoints and bounding rect detection