Classification Code Description:
This code automatically classifies each image into its appropriate class based on the model’s prediction.
Before processing, it checks if the image has already been classified.
If the image is a duplicate, it will be skipped to avoid redundant classification.