The script.py helps to crop the images from huge dataset with less execution time using multithreading.
- Provide the path of image folder
- Split the list into 4 sublist append file name
- Define function to crop an image using imwrite().
- Cread threads to execute the function on four list parallelly
- Store the cropped images to output path