script to extract bounding boxes for bouding boxes - #6