scripts.evaluation.rotation_eval

Functions

evaluate_rotation_model(input_image_dir, ...)

Load model, predict rotations, and evaluate performance.

load_images(input_image_dir)

Load images from the given directory and extract ground truth labels.

main()

Main function to execute rotation model evaluation.

parse_arguments()

Parse command-line arguments and return the parsed arguments.

rotate_image(img_path, angle)

Rotate the image by the given angle and save it back to the same path.