Automatically verify that size classifier has worked and not damaged document