feat: Integrate pyrsistent for enhanced tracking state management
- Added `pyrsistent` as a dependency to manage historical detections in the `Tracking` class, improving data integrity and immutability. - Updated the `GlobalTrackingState` to include historical detections using `PVector`, facilitating better tracking of past detections. - Introduced a new `update_tracking` function to handle timestamp updates for tracking objects, enhancing the tracking logic. - Refactored imports and type hints for improved organization and clarity across the codebase.
This commit is contained in:
@ -20,6 +20,7 @@ dependencies = [
|
||||
"pandas>=2.2.3",
|
||||
"plotly>=6.0.1",
|
||||
"pyarrow>=19.0.1",
|
||||
"pyrsistent>=0.20.0",
|
||||
"pytest>=8.3.5",
|
||||
"scipy>=1.15.2",
|
||||
"torch>=2.6.0",
|
||||
|
||||
Reference in New Issue
Block a user