added a special condition of ratating the bounding box only around some area not the whole video