Module parallel

Module parallel 

Source
Expand description

Parallel processing utilities for OCR pipeline

Provides parallel image preprocessing, batch OCR, and pipelined execution.

Structs§

AsyncParallelExecutor
Async parallel executor with concurrency limit
Pipeline3
Three-stage pipeline executor
PipelineExecutor
Pipeline parallel execution for OCR workflow

Functions§

optimal_thread_count
Get optimal thread count for current system
parallel_map_chunked
Parallel map with configurable chunk size
parallel_preprocess
Parallel preprocessing of multiple images
parallel_preprocess_result
Parallel processing with error handling
parallel_unbalanced
Work-stealing parallel iterator for unbalanced workloads
set_thread_count
Set global thread pool size