def alter(input_directory, output_directory): alter_images( procedure=deepsix.anomalies.add_rectangle, args=16, input_directory=input_directory, output_directory=output_directory, output_format='BMP' )
def resize(input_directory, output_directory): alter_images( deepsix.anomalies.resize, args=64, input_directory=input_directory, output_directory=output_directory)