File size: 348 Bytes
f1ce61b |
1 2 3 4 5 6 7 8 9 10 |
from preprocess import preprocesses
input_datadir = './train_img'
output_datadir = './aligned_img'
obj=preprocesses(input_datadir, output_datadir)
nrof_images_total, nrof_successfully_aligned=obj.collect_data()
print('Total number of images: %d' % nrof_images_total)
print('Number of successfully aligned images: %d' % nrof_successfully_aligned) |