sample box from given parameters, and regard it as positive if it satisfies overlap constraints
Random sample a bounding box given some constraints and crop the image This is used in SSD training augmentation
horizontally flip the roi
image target with classes and bounding boxes
Normalize Roi to [0, 1]
Project gt boxes onto the coordinate system defined by image boundary
resize the roi according to scale