script to do the short version of rcnn using python