Bounding box resize for test data?

In lesson 9, during training time, we have resized the input images to 224*224. Our bounding boxes are in range 0-1. For example [0.2723 0.0670 0.3705 0.9554] During display, we multiplied the bounding box values with 224.

How to convert the bounding box numbers to real test data with different image sizes (For ex: 5000*3000)?