Ignore labeled images
Refactor and improve performance of image labeling