[v.4.0.0] 05.09.2024#
Component versions
| Service | Version used |
|---|---|
| CARS_Analytics backend | 4.0.0 |
| CARS_Analytics frontend | 2.0.48 |
| СARS Analytics Vehicle Plugin | 1.0.38 |
| CARS_Analytics backend checkpoint plugin | 0.9.26 |
New Features:
- Added information from rear cameras. Now all fields related to the rear camera are displayed in the event interface, including data on type, brand, model, license plate, public transport, special transport, and missed TrackEnds;
- When searching for a number via the filter, the rear number is now included in the database query. If the front number is absent, the rear number is displayed in the event tab;
- Added support for displaying vehicle number type (main/secondary) in CARS_API Tester, with the main number shown in green and the secondary number in yellow;
- Added support for a new vehicle color grid with updated migrations for color types, aggregation, and storage in the
CheckpointEventmodel; - Updated the UI Swagger to support two numbers;
- Added detailed color information export to a file;
- Implemented parsing of data with multiple numbers. MessageData now supports data for multiple numbers;
- Introduced support for the new classifier «detailed_vehicle_emergency»;
- Added filtering for multiple colors/vehicle types;
- Updated the function
check_record_in_list_itemsto support searching through all numbers of the target record; - Filtering now supports multiple countries and numbers of vehicles;
- Added support for exporting multiple numbers to a file;
- Added a check to prevent stream launch when a camera has no active handlers. In the absence of handlers, an error is logged: «CAMERA: Failed to create stream. There are no active handlers.»;
- Added
clean-unlinked-recordsfor deleting unlinked numbers, colors, and features from events, with the addition of thecreated_atfield in the corresponding models. The task runs daily at 01:00 to prevent the deletion of data that is not yet linked to events.
Changes:
- Added the setting
ANLYS_SYNC_VCROP_WITH_PLATE, ensuring synchronization of bestshot and vehicle crop with the plate upon update; - Introduced a delete signal for
FragmentsGroup, enabling automatic deletion of related full frames and groups when aCheckpointEventis deleted; - Added new logic for license plate classification, discarding non-primary plates, and changed the detection sorting to consider both class and score;
- Added support for unlimited bestshot issuance with periodicity for parking, without quantity restrictions;
- Implemented logic for handling two license plates on a vehicle in analytics: if one plate is real and the other is a placeholder (e.g., empty, name, etc.), the real plate is chosen. Also, if both plates have the same priority, the one with the higher score is selected;
- In CARS_API Tester, for the Detection fragments function, only positive detections are now displayed, excluding fragments without smoke or fire;
- Fixed redundant messages during full frame cleanup, adding checks for the existence and validity of the path before deletion.
- Added data for updating the version of the classifier «vehicle_emergency_type_v3»;
- Expanded logic for handling complex cases in axle counting for vehicles;
- Added checks and updates for
vehicle_axles_amountandvehicle_axles_amount_scoreto ensure correct axle counting; - For camera status filtering, added a +3 hour adjustment to the time to ensure correct handling of temporal data;
- TrackDetectionFiltartion is now set on the camera rather than on each handler. Added new key entities for tracking: trackDroi, droi, disabledTrackDroi.
Fixes:
- Fixed the issue of duplicate records via websockets when the
FORCE_SEND_WEBSOCKET_UPDATEflag is enabled. Now, the record ID remains unchanged, preventing duplication; - Corrected a typo that caused inconsistency between the entry photo and the rear license plate photo when moving forward;
- Fixed an error where the gunicorn worker crashed due to frequent camera status changes;
- Resolved the issue with persistent problem statuses on cameras. Now, only the FAILED status is considered, preventing data loss;
- Fixed the issue with sending data to the external API. Now, vehicle crops are sent to /entry, and license plate crops to /exit;
- Fixed the issue with requesting unknown classifiers in analytics. Now, when analytics requests an unknown classifier, the API returns an error, which is handled correctly;
- Corrected the issue with the license plate crop, which now correctly matches the characters in
vehicleLicensePlates; - Fixed event duplication when filtering by color accuracy.