def find_feature_map_to_input_scale_and_offset(pre_processed_input_image,feature_maps):
    """
        Finds the scale and offset from the feature map (output) of the CNN classifier to the pre-processed input image of the CNN
    """
    # Find shapes of feature maps and input images to the classifier CNN
    input_image_shape = pre_processed_input_image.shape
    feature_map_shape = feature_maps.shape
    img_height, img_width, _ = input_image_shape
    features_height, features_width, _ = feature_map_shape

    # Find mapping from features map (output of vggmodel.predict) back to the input image
    feature_to_input_x = img_width / features_width
    feature_to_input_y = img_height / features_height

    # Put anchor points in the centre of 
    feature_to_input_x_offset = feature_to_input_x/2
    feature_to_input_y_offset = feature_to_input_y/2

    return feature_to_input_x, feature_to_input_y, feature_to_input_x_offset, feature_to_input_y_offset