Fixed a bug in the image cropping part. I found that the coordinate of bounding boxes starts with 1.