1
0
forked from HQU-gxy/CVTH3PE
crosstyan e79e899b87 refactor: Optimize affinity matrix calculation with parallel processing
- Introduced parallel processing using `ThreadPoolExecutor` to enhance the performance of the `calculate_affinity_matrix` function, allowing simultaneous processing of multiple cameras.
- Added a new helper function `_single_camera_job` to encapsulate the logic for processing individual camera detections, improving code organization and readability.
- Updated the function signature to include an optional `max_workers` parameter for controlling the number of threads used in parallel execution.
- Enhanced documentation to clarify the purpose and parameters of the new parallel processing implementation.
2025-04-29 16:14:07 +08:00
2025-03-03 11:14:21 +08:00
x
2025-03-03 12:03:37 +08:00

jupytext --to py:percent <script>.ipynb
Description
No description provided
Readme 9.9 MiB
Languages
Python 100%