Open jiangtaoo2333 opened 5 years ago
It calculates the size of box to be cropped in original image. There are two restrictions:
really appreciate your help.
It calculates the size of box to be cropped in original image. There are two restrictions:
- It should be inside the image and keep the center fixed.
- It should keep the aspect ratio of original image while cropping. So we need to expand the size of box to let the aspect ratio of box be same as the the input of network.
QAQ can somebody help me