Issue: The script processes images sequentially, leading to under-utilization of multi-core systems.
Solution:
Use concurrent.futures.ThreadPoolExecutor or multiprocessing to parallelize the processing of multiple images simultaneously.
Partition the images into chunks and assign them to separate threads or processes.
Child of Issue #32
Issue: The script processes images sequentially, leading to under-utilization of multi-core systems.
Solution:
Use concurrent.futures.ThreadPoolExecutor or multiprocessing to parallelize the processing of multiple images simultaneously. Partition the images into chunks and assign them to separate threads or processes.