manoj-bhaskaran / My-Scripts

0 stars 0 forks source link

Introduce parallel processing for multi-image batches #55

Closed manoj-bhaskaran closed 1 day ago

manoj-bhaskaran commented 1 day ago

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.