An intelligent accident responsibility judgment method and system fusing video tracking
By forming an evidence chain through frame hashing and timestamps, and combining it with a shared backbone multi-branch network and motion model, the problems of evidence credibility and liability determination in traffic accident liability identification are solved, achieving efficient and interpretable liability determination.
Patent Information
- Application Number
- CN202511394575.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-28
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2045-09-28
AI Technical Summary
Existing technologies for determining liability in traffic accidents suffer from problems such as insufficient credibility of evidence, unstable cross-frame/cross-view tracking, inadequate road semantic fusion, and inconsistent legal reasoning, resulting in low efficiency and a lack of interpretability in liability determination.
The evidence chain is formed by using frame hashing and timestamps, and target detection and instance segmentation are performed by combining a shared backbone multi-branch network. Cross-frame association is achieved through appearance re-identification and motion model, which is mapped to the BEV scene graph. Events are extracted and the responsibility ratio is determined according to regulations and rules to generate a credible report.
It has enabled efficient and interpretable determination of liability in traffic accidents, improved the credibility of the chain of evidence and the consistency of liability determination, and enhanced processing efficiency and transparency.
Smart Images

Figure CN120894754B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to an accident responsibility intelligent determination method and system fusing video tracking. BACKGROUND
[0002] Traffic accident responsibility identification has long relied on manual retrieval of monitoring and vehicle recorders video, on-site investigation and witness statements for comprehensive judgment. With the increasing complexity of urban road traffic environment and the diversification of video sources (roadside monitoring, vehicle recorders, law enforcement recorders, etc.), the screening, comparison and review of massive evidence is costly and time-consuming, and different law enforcement or claims personnel have different concerns and standards for the same fact details, which may introduce subjectivity. Especially in situations such as multi-vehicle merging, signal-controlled intersections and mixed pedestrian and vehicle traffic, it is difficult to restore the space-time relationship and yielding relationship of each subject by manual frame extraction and visual inspection, affecting the objectivity and consistency of responsibility division.
[0003] To improve the objectivity, existing technologies introduce target detection, semantic / instance segmentation and multi-target tracking methods based on computer vision, and attempt to use appearance re-identification to alleviate the problems of occlusion and identity switching; at the same time, some works also segment road elements (lane lines, stop lines, zebra crossings, traffic lights) from videos to assist in interpretation. However, these perception algorithms mostly stay at the level of "seeing" in single frame or short time sequence, and still have deficiencies in cross-frame consistency, long-term occlusion recovery, cross-camera splicing and unified geometric scale; the recognition stability of small targets (such as distant traffic lights) is not high, and camera shaking and light changes cause trajectory jitter, which is difficult to directly use for event extraction; more importantly, there is a lack of structured mapping between perception results and traffic semantics such as road priority and signal phase, making it difficult to directly support rule-based responsibility reasoning.
[0004] In terms of evidence credibility, secondary compression, frame stretching / insertion, and uploading of intercepted segments are common in practice, and existing solutions mostly only save file timestamps or simple checksums, lacking a "chain hash + signature + trusted timestamp" forensics mechanism throughout the acquisition-transmission-storage chain, making it difficult to trace and identify single frame / single segment-level modifications. Multi-source data (IMU, GPS, OBD) can assist in restoring vehicle attitude, speed and braking behavior, but there is often a deviation and drift between the time axis of the video and the multi-source data, and when alignment and consistency checking are insufficient, it may introduce new disputes. In addition, personal privacy areas (faces, license plates) lack unified desensitization and minimum necessity principle control in the evidence flow, which also restricts evidence sharing and compliance use.
[0005] In the aspect of responsibility determination and quantification, the existing methods mostly rely on artificial induction based on regulations and experience, or configure several trigger conditions (such as crossing the line, running the red light) in the rule engine, which is difficult to handle the problems such as clause competition, sequence, scope of action and avoidability in complex scenarios; there is a lack of stable and unified calculation base for key quantitative factors such as "conflict point arrival time", "remaining distance" and "reaction time", which leads to the difficulty in reproducibility and review of responsibility proportion. Even if some systems can output conclusions such as "whether to run the red light" and "whether to be impolite", they generally lack traceable links and key frame guidance from evidence to rule triggering, which is not conducive to the transparency and persuasiveness of law enforcement, claims and judicial procedures.
[0006] In summary, the existing technology has not formed an end-to-end consistent framework in terms of evidence credible evidence collection, stable cross-frame / cross-perspective tracking and unified geometric calibration, road semantic fusion and event extraction, deterministic reasoning based on regulations and priority, and responsibility quantification and interpretable report generation, which is difficult to meet the demand of efficient, strongly interpretable and verifiable accident responsibility determination. Therefore, there is an urgent need for a technical solution that can organically combine video tracking, evidence chain construction, time-space reconstruction, event extraction and rule-based reasoning, and output quantifiable and reviewable conclusions. SUMMARY
[0007] In view of the above problems in the prior art, the present application provides an intelligent accident responsibility determination method and system integrating video tracking, S1 aligns the video and IMU / GPS / OBD evidence collection, and forms an evidence chain by using frame-based hashing, chain-based hashing and timestamp; S2 completes detection and segmentation on a shared backbone multi-branch network; S3 realizes cross-frame association combined with appearance re-identification and motion model, and outputs trajectory, speed and occlusion recovery; S4 maps the trajectory to BEV according to depth and calibration, and constructs a time-space scene graph by fusing lanes, signals, speed limits, etc.; S5 extracts events such as lane changing, merging and signal running, and locates conflict points and yielding relationships; S6 generates fault factors according to the rule base and priority; S7 quantifies the responsibility proportion according to the weight, collision participation and reaction time; S8 generates a report for storing evidence of key frames and rule lists. The system is composed of acquisition and evidence collection, video understanding and tracking, time-space reconstruction, event extraction, rule reasoning, responsibility quantification and report storage modules.
[0008] The present application provides an intelligent accident responsibility determination method integrating video tracking, which comprises the following steps:
[0009] S1: acquiring a sequence of accident scene video frames, and synchronously acquiring IMU, GPS and OBD multi-source data; performing frame-based content hashing on the multi-source data and concatenating with time information to form chain-based hashing, and adding trusted timestamp and digital signature to form an evidence chain;
[0010] S2: adopt a shared backbone and multi-branch video understanding network to perform target detection and instance segmentation on the video, to obtain masks and semantic maps of vehicle, pedestrian, non-motor vehicle, lane line and signal light targets;
[0011] S3: perform multi-target cross-frame data association based on appearance re-identification vectors and motion models, output the trajectory, speed and acceleration of each target in the image coordinate system, and perform occlusion recovery and ID maintenance;
[0012] S4: map the trajectory to the bird's eye view (BEV) coordinate system according to depth estimation and camera calibration, fuse lane geometry, priority, speed limit and signal phase road elements, and construct a space-time scene graph;
[0013] S5: extract lane changing, merging, U-turn, signal light violation, sudden acceleration and deceleration, and reverse driving on the trajectory and scene graph, and locate potential conflict points and yielding relationships;
[0014] S6: map the events and subject participation relationships to the regulation rule library and road priority graph, and obtain a set of fault factors using causal graph and temporal logic reasoning;
[0015] S7: quantize the responsibility of each subject according to the weight of the fault factor, the participation degree of the collision energy, and the reaction time, and output the responsibility proportion;
[0016] S8: generate a report containing a timeline, key frames, trajectory superposition and rule trigger list, and perform trusted notarization of the report and evidence chain.
[0017] Preferably, the step S1 comprises: establishing a unified time axis based on a monotonically increasing clock, aligning the video frames and the IMU, GPS and OBD data in a fixed time window, and assigning a unique frame number and a modal identifier to each frame; generating a content digest hash for the frame content of each modal; concatenating the terminal identifier, the modal identifier, the frame number, the unified timestamp, the current content digest hash and the chain value of the previous record in a fixed field order, obtaining the current chain value through digest calculation, and taking the seed value written by the device at the factory or the segment head initialization value as the previous chain value for the first record in the segment; taking the record containing the fields, the previous chain value and the current chain value as an evidence item, digitally signing the evidence item by the terminal private key, and applying for a timestamp from a trusted timestamp service to bind it; appending the signed and timestamped evidence item to the log in chronological order, and aggregating the items to generate a segment digest according to a preset number or time length, which is periodically stored remotely as evidence, including on-chain storage, notarization storage; retaining the previous chain value and inserting a placeholder and an abnormality marker when the link is interrupted or packets are lost, and continuing to extend based on the previous chain value after recovery to ensure chain continuity; sequentially checking the signature validity, the timestamp continuity, the matching relationship between the chain values and the content digest consistency when playing back and verifying, and any field being tampered with will cause the subsequent chain value to be mismatched and be identified, thereby forming a traceable and non-repudiable evidence chain.
[0018] Preferably, the shared backbone and multi-branch video understanding network comprises: after size and brightness normalization of the input video frame, the normalized video frame is sent to a shared backbone composed of convolution residual units and a temporal context module, and the shared backbone outputs multi-scale features through a feature pyramid; a multi-branch head is arranged on the shared backbone, including: a target detection branch for vehicles, pedestrians and non-motor vehicles, which performs candidate region generation, class determination and position regression; a mask branch for instance segmentation, which samples the detected candidate regions for region alignment and generates pixel-level masks of instances with dynamic parameters; a semantic segmentation branch for road elements, which outputs drivable area and lane line semantic maps on high-resolution features, and generates continuous lane strips through thin line target enhancement and connectivity decoding; a small target detection and state recognition branch for traffic lights, which performs upsampling and fine-grained classification on high-level and middle-level features to output the spatial position and light color state of the traffic light; in the inference stage, the branch results are smoothed for temporal consistency, non-maximum suppression and boundary refinement, and are fused at the pixel layer: the instance mask constrains the conflicting areas in the semantic map, the lane line guides the vehicle instance boundary to fit the road structure, and the traffic light state provides temporal markers for event extraction, finally obtaining vehicle, pedestrian and non-motor vehicle instance masks and lane line and drivable area semantic maps aligned with the original resolution.
[0019] Preferably, the step S3 comprises: extracting fixed-length appearance re-identification vectors in the target instance region, representing RGB color, shape; predicting the current position using a constant-speed-based motion model combined with lane direction, speed limit scene constraints; performing global matching to complete cross-frame association by first using a prediction window for geometric gating, and then using a comprehensive score of position overlap, motion consistency and appearance similarity; outputting trajectory points, bounding boxes, tracking IDs and timestamps in chronological order, and calculating speed and acceleration based on adjacent position changes; and maintaining the original ID for a temporarily lost target by motion extrapolation and restoring the original ID when the appearance and motion thresholds are met.
[0020] Preferably, the step S4 comprises: completing internal and external participation installation pose calibration for the acquisition camera, using depth estimation combined with IMU for scale and jitter calibration; projecting target trajectories in image coordinates to the metric BEV grid according to a preset mapping relationship, and performing temporal smoothing and closed-loop correction with lane line and stop line anchor points; completing time alignment and spatial splicing in overlapping areas for multi-phase scenes, and constructing a space-time scene graph based on lane geometry, priority, speed limit and signal phase road elements on the BEV, combined with projected trajectories: nodes include main targets, lane segments, conflict areas and signal phases, edges include passing connections, yielding and time connections; adding timestamps and confidence to nodes and edges, updating in a sliding window increment, and outputting lane occupancy, conflict line arrival time and remaining distance.
[0021] Preferably, the step S5 comprises: extracting events on the BEV trajectory and scene graph according to rules-thresholds: lateral displacement crossing lane boundaries and maintaining a stable direction as lane changing; two vehicles overlapping longitudinally and converging to the same lane as merging; heading and road direction reversal and crossing opposite lanes as U-turns; signal phase is red and crosses the stop line and enters the conflict area as running a red light; speed change rate exceeds threshold as sudden acceleration and sudden deceleration; heading and lane direction are opposite as reverse driving; potential conflict points are determined by the intersection of two main trajectories, conflict lines and conflict areas, and arrival time; yielding relationship is determined according to priority graph, signal phase and pedestrian priority rules, and outputs responsible subjects, trigger frames and evidence segments.
[0022] Preferably, step S6 includes: generating a record for each event, with fields including subject ID, event type code, occurrence time, and road element number; locating the road element number in the spatiotemporal scene map and reading the signal phase and speed limit according to the time; determining the subject role as priority passage, yielding, signal-controlled, or pedestrian priority based on the road priority map; retrieving rule templates from the regulatory rule base using the event type code, road type, subject role, and phase status as keys; determining in a fixed order: if the applicable premise is met, the exemption condition is not met, the subject is located in a controlled area, and the time is within the valid range, i.e., the rule is considered triggered; generating an error factor record for the triggered rule, including rule number, error code, subject ID, and evidence citation; when multiple factors conflict, retaining them in ascending order of rule priority, and if they are of the same level, retaining the one with the higher severity level.
[0023] Preferably, steps S7 and S8 further include: summarizing the triggered fault factors for each subject, scoring them according to the pre-set weights in the rule base, and taking the highest score for each category; determining the collision energy participation level based on the relative velocity before contact, the damaged location, and the braking traces, as a weighting coefficient; calculating the difference between the available reaction time and the necessary reaction time, with negative values increasing the severity and positive values decreasing the severity; normalizing the weighted scores among the subjects to obtain the responsibility ratio, and generating a report in chronological order: including a timeline, keyframes, BEV trajectory overlay, rule trigger list, and evidence citations; and appending the report summary and evidence chain entries to the incremental log, attaching a digital signature and a trusted timestamp, and periodically storing the evidence remotely.
[0024] This invention also provides an intelligent accident liability determination system integrating video tracking, comprising:
[0025] The acquisition module collects video frame sequences from the accident scene and simultaneously collects multi-source data from IMU, GPS, and OBD. It performs frame-by-frame content hashing on the multi-source data and concatenates it with time information to form a chain hash, and adds a trusted timestamp and digital signature to form a chain of evidence.
[0026] The target detection and instance segmentation module uses a video understanding network with a shared backbone and multiple branches to perform target detection and instance segmentation on the video, and obtains masks and semantic maps of targets such as vehicles, pedestrians, non-motorized vehicles, lane lines and traffic lights;
[0027] The association module performs multi-target cross-frame data association based on appearance re-identification vectors and motion models, outputs the trajectory, velocity and acceleration of each target in the image coordinate system, and performs occlusion recovery and ID preservation.
[0028] The spatiotemporal scene map module is constructed by mapping the trajectory to the bird's-eye view coordinate system BEV based on depth estimation and camera calibration, and integrating road elements such as lane geometry, priority, speed limit and signal phase to construct the spatiotemporal scene map;
[0029] An extraction module extracts lane changing, merging, U-turn, signal jumping, sudden acceleration and deceleration, and reverse driving on the trajectory and scene graph, and locates potential conflict points and yielding relationships;
[0030] A reasoning module maps the events and subject participation relationships to a regulation rule base and a road priority graph, and obtains a set of fault factors by using causal graph and temporal logic reasoning;
[0031] A responsibility division proportion determination module quantifies the responsibility of each subject according to fault factor weights, collision energy participation, and reaction time, and outputs a responsibility division proportion;
[0032] A generation module generates a report containing a time axis, key frames, trajectory superposition, and a rule triggering list, and performs credible notarization of the report and the evidence chain.
[0033] Preferably, the collection module comprises: establishing a unified time axis based on a monotonically increasing clock, aligning video frames and IMU, GPS, and OBD data according to a fixed time window, and assigning a unique frame serial number and a modal identifier to each frame; generating a content digest hash for the frame content of each modal; concatenating the terminal identifier, the modal identifier, the frame serial number, the unified timestamp, the current content digest hash, and the chain value of the previous record in a fixed field order, obtaining the current chain value through digest calculation, and taking the seed value written by the device at the factory or the segment head initialization value as the previous chain value of the first record in the segment; the record comprising the fields, the previous chain value, and the current chain value constitutes an evidence item, which is digitally signed by the terminal private key and bound to a trusted timestamp service by applying for a timestamp; the signed and timestamped evidence item is appended to the log in chronological order, and the items are aggregated to generate a segment digest according to a preset number or time length, the segment digest is periodically stored remotely, including on-chain, notarization storage; when the link is interrupted or packets are lost, the previous chain value is retained and a placeholder and an abnormality marker are inserted, and after recovery, the extension is continued based on the previous chain value, ensuring chain continuity; when playing back and verifying, the signature validity, timestamp continuity, chain value matching relationship, and content digest consistency are sequentially checked, and any field that is changed will cause the subsequent chain value to be mismatched and be identified, thereby forming a traceable and irrefutable evidence chain.
[0034] The application provides an accident responsibility intelligent judgment method and system fusing video tracking, and beneficial technical effects can be achieved as follows:
[0035] 1. The application generates content hash by frame collection end, and forms chain hash by concatenating previous chain value; terminal signature is affixed to each record and trusted timestamp is bound, evidence entries are written in time sequence in only-increasing log, segment abstracts are regularly aggregated and chained or notarized; placeholder is inserted in chain interruption, and chain value is continued after recovery; combined with pull frame / two compression detection and video-IMU / GPS / OBD consistency comparison, tampering or loss can be quickly found in playback verification, forming a reviewable evidence closed loop.
[0036] 2. The application completes detection and segmentation of vehicles, pedestrians, lane lines and signal lights through shared backbone multi-branch network, and guarantees cross-frame ID stability through re-identification and motion model; trajectories are unified to BEV through calibration and depth calibration, and are fused into space-time scene graph with lane geometry, priority, speed limit and phase; lane changing, merging and signal violation events are extracted on this base and conflict points are located; error factors are output with clause number and evidence reference according to fixed order of "applicable premise-controlled area-effective period" trigger rule.
[0037] 3. The application weights and normalizes each subject based on error factor weight, collision energy participation and reaction time difference, to obtain reproducible responsibility ratio; report automatically aggregates timeline, key frame and BEV overlay, lists rule trigger list and evidence guide, facilitating review and review; edge cloud collaboration and desensitization rendering balance timeliness and privacy, which can be landed in claims settlement, law enforcement and judicial identification, significantly improving processing efficiency and conclusion consistency. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, a brief introduction will be given below to the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor.
[0039] Figure 1 is a step flow chart of an accident responsibility intelligent judgment method of the present application fusing video tracking;
[0040] Figure 2 is a schematic diagram of an accident responsibility intelligent judgment system of the present application fusing video tracking. DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0042] Embodiment 1:
[0043] To solve the above technical problems, the present application provides an intelligent accident responsibility determination method combined with video tracking, as shown in the accompanying drawings: Figure 1 The present application provides an intelligent accident responsibility determination method combined with video tracking, comprising the steps of:
[0044] S1: Collecting a sequence of video frames of the accident scene, and synchronously collecting IMU, GPS, and OBD multi-source data; performing frame-by-frame content hashing on the multi-source data and concatenating with time information to form a chain hashing, and adding a trusted timestamp and a digital signature to form an evidence chain; in some embodiments, the accident vehicle is equipped with an integrated drive recorder, which comprises a camera, an IMU, a GNSS module (outputting GPS time), an OBD interface, a trusted security chip (storing terminal private key and certificate), and an only-increasing log partition (eMMC / SSD). After power-on, the terminal identification and certificate are generated or imported; a "monotonically increasing clock" (from a local high-stability clock) is established, and the GNSS time is used for external timing, which is only used for display and verification, and does not change the monotonicity; a fixed time window (such as 33 ms corresponding to 30 fps) is set, and a modal identification table is determined: VID (video frame), IMU, GPS, and OBD. The time alignment and numbering collection thread rotates by window: one frame of video is taken from the camera and the IMU / GPS / OBD data packet within the same window; a unified timestamp is generated for the window, and a frame number (globally increasing) and a modal identification are assigned; if there is no data for a certain modal (such as no new solution for GPS), a placeholder record is created and marked with a "missing reason code". A content summary and chain concatenation are generated for each "frame / packet": a content summary hash is generated (for example, the original frame or the YUV main region before compression, the IMU original three-axis data, the GPS position and speed field, and the OBD key parameters are summarized after normalization). The fixed field order is spliced: terminal identification → modal identification → frame number → unified timestamp → current content summary → chain value of the previous record (the first segment uses "initial value").
[0045] The current chain value is calculated, and the evidence entry (containing the above-mentioned fields, the previous chain value and the current chain value, the missing / abnormal marker, etc.) is formed. The signature and timestamp send the evidence entry into the secure chip signed by the terminal private key; when the network is available, a request is initiated to the trusted timestamp service at the same time, and the timestamp token is bound; if offline, the signed entry is cached first and marked as "to be supplemented with timestamp", and after networking, it is supplemented in batches. Only the logged and segmented evidence entries signed and timestamped are appended to the only-increase log file (rolling file, which cannot be modified after writing) in chronological order; every 500 entries are accumulated as a segment, and the segment digest of the segment is calculated and a segment record is generated. The segment record is stored remotely according to the strategy: one is uploaded to the business server (written into the audit table); two is archived to the third-party notary agency regularly; three is optionally written into the alliance chain as an anchor (only the segment digest and index information are stored). When the link is interrupted or packet loss, the previous chain value is retained and a placeholder entry is inserted, recording the abnormal type, duration and local ring buffer index; after recovery, the chain is continued from the previous chain value before interruption, ensuring chain continuity; the transmission layer uses "file block number + check + retransmission window" for breakpoint resume, and records the evidence entry number and time of each retransmission. The local tamper-proof and playback verification WORM (write-once-read-multiple) strategy is enabled in the only-increase log partition; the key directory is protected by secure boot and access control. During playback verification, four steps are performed in order: a. Verify that the terminal signature is valid and the certificate is within the valid period; b. Verify that the trusted timestamp corresponds to the entry one by one and the time is monotonic; c. Verify that the matching relationship between the chain values is continuous without interruption (the placeholder entry must be consistent with the abnormal record); d. Recalculate the digest of the original content, and check whether it is consistent with the content digest in the entry. If any step is inconsistent, it is determined that the entry or the chain after it has been tampered with, and an alarm report is output (listing the first inconsistent entry, corresponding key frame / data packet index and possible cause). Multi-source consistency and privacy minimization: consistency comparison is performed on the video speed estimate and OBD / GPS speed, and when the difference exceeds the threshold, "credibility weight reduction" is marked; desensitization rendering is performed on the face, license plate and other regions at the collection end (while retaining the non-desensitized version in the controlled area, the correspondence between the desensitized and original is maintained by entry number and chain value index). Retrieval and evidence delivery: generate a retrieval index for each segment of the log (according to time, location, event marker); when issuing an evidence package to the outside, export: original video slices, multi-source data, corresponding evidence entries, segment digest and third-party evidence storage credentials within the selected time window, and attach a one-key verification tool (only read, cannot be written), ensuring that the third party can complete the whole process of verification in an offline environment.
[0046] S2: A shared backbone and multi-branch video understanding network is used for target detection and instance segmentation of the video, to obtain masks and semantic maps of vehicle, pedestrian, non-motor vehicle, lane line and signal lamp targets. In an embodiment, the input and pre-processed dashcam is collected at 1920x1080, 30fps. Before inference, each frame is scaled to 1280 in the long direction, and the short direction is padded to be divisible by 32 (without changing the aspect ratio), and brightness, contrast and white balance normalization is performed; adaptive histogram equalization is enabled for night and strong light scenes; random cropping, color jittering and slight affine enhancement are added in the training stage. The shared backbone (convolutional residual + temporal context) uses a lightweight residual network stacking network model, outputting 1 / 4, 1 / 8, 1 / 16 level features; at the tail of each level, a temporal context module is inserted to make light interaction of the corresponding position features of adjacent 5 frames to enhance the discrimination of occlusion and blur scenes. A feature pyramid is built thereon to fuse multi-scale information from top to bottom, obtaining shared features at P3, P4 and P5 scales. The multi-branch head target detection branch (vehicle / pedestrian / non-motor vehicle): decoupled detection heads are set at each P3-P5 scale to output class confidence and box position respectively; candidate boxes are merged across scales and redundant suppression is performed to preferentially retain high-confidence and scale-consistent boxes. The instance mask branch: region alignment sampling is performed on the detected candidate boxes to obtain fixed-length features; a set of dynamic parameters is generated for each candidate box to act on the shared feature clipping region to generate a pixel-level mask for the instance; after two upsampling and edge-guided refinement, the mask is pasted back to the original size. The road semantic segmentation branch (drivable area / lane line): a semantic map is output on the high-resolution branch at 1 / 4 resolution; a thin line target enhancement module (direction-sensitive linear response aggregation) and connectivity decoding (connecting and repairing broken thin lines) are introduced for lane lines to obtain continuous lane strips and drivable areas. The signal lamp small target detection and state recognition branch: the candidate region is enlarged on P4 and P5 and classified in fine granularity to output the signal lamp center, bounding box and state (red / yellow / green and arrow direction); the state of the same position within 5 frames is smoothed by voting to suppress flickering and misjudgment. Inference stage fusion and post-processing temporal consistency: the class and position of the same target in adjacent frames are smoothed by exponential smoothing, and the instance mask is fine-tuned by morphology to reduce jitter. Non-maximum suppression: candidates of the same class are suppressed at the same scale first, and then suppressed again across scales to avoid repeated detection. The improved output layer Sigmoid function used in the lightweight residual network stacking network model is O(x):
[0047]
[0048] where e is a natural index, x is an input, K is a variance of the output 1 / 4, 1 / 8, 1 / 16 three-level features; K is positive and bounded, taking K∈Kmin-Kmax, a parameter K adaptive to feature statistics is introduced, so that the output layer has dynamic sensitivity and dynamic amplitude adjustment capability: in the area with clear texture and low noise, larger K makes the curve steeper and converges faster, which is beneficial to make a decisive judgment on the confidence target; in the weak light, occlusion or motion blur area, smaller K reduces the amplification effect, avoids overfitting and overconfidence, thereby reducing gradient saturation and false positives. The adaptive gate replaces the fixed Sigmoid, which can be used with the normalization / recognition branch to significantly improve the cross-scene stability and calibration, improve the detection and tracking continuity of small targets (such as signal lights), edge targets and occluded targets, while keeping the simple implementation of end-to-end training and inference. Before the output layer, the variance or root mean square is calculated on the third layer feature map according to the channel and local window as the stability index; after linear mapping + positive activation (such as softplus), the candidate value of K is obtained, and it is limited in the safe range of Kmin-Kmax through clipping; the sliding average / momentum is used to smooth the inter-batch fluctuations in the training stage, and the learned mapping parameters and cumulative mean are used to directly generate K in the inference stage. To prevent parameter drift, add a light regular and gradient clipping to K; when the statistics is not available or low quality, fall back to the default Kdefault. The K thus obtained is adaptive to the scene complexity, texture and noise level, ensuring numerical stability and interpretability.
[0049] Pixel layer fusion rules: a) instance mask priority covers the conflict area in the semantic map to ensure the clear dynamic target boundary; b) the mask boundary of the lane line guiding the vehicle and the non-motor vehicle is fitted to the road structure to eliminate the "floating" phenomenon; c) the signal light state is written into the time tag of the same frame to provide reliable phase basis for subsequent event extraction. Output: vehicle / pedestrian / non-motor vehicle instance mask aligned with the original resolution, lane line and drivable area semantic map, signal light spatial position and state list; at the same time, the confidence and mask quality score of each instance are output. Training and data: public city traffic data and self-built driving data are mixed for training: day / night, sunny / rainy / backlight, urban expressway / signal intersection are balanced sampling; lane line labeling includes solid and dashed lines, diversion area and stop line; signal light samples cover different heights, small targets at a distance and multi-color arrow combinations. During training, four branches are trained in a multi-task joint manner, and the lane line and signal light samples are resampled according to the scarcity to reduce the class imbalance. Deployment and performance: inference in FP16 on the vehicle-mounted edge computing unit, single-frame end-to-end delay about 35-45 ms; the delay of congested intersections containing multiple targets and multiple light groups does not increase by more than 20%. Under the conditions of night rain, backlight and partial occlusion, the recall of vehicle and pedestrian detection remains stable; after 5-frame voting, the misjudgment rate of signal light state is significantly reduced; the connectivity of lane line in curved and dashed line segments is maintained well, meeting the needs of subsequent BEV mapping and event extraction. Abnormal and degradation strategy: when the image is too dark or raindrops block the confidence, the instance mask branch automatically reduces the threshold and increases the timing smoothing strength; when the detection branch and the semantic segmentation in the same area conflict for a long time, the one with the highest timing consistency is used as the standard and the conflict mark is recorded for upstream diagnosis and retraining. This embodiment completes the cooperative inference of "target detection-instance mask-road semantics-signal light state" on the unified backbone with four special branches, and outputs stable results aligned with the original resolution, which can be directly used for subsequent tracking, BEV mapping and rule judgment through timing and pixel layer fusion.
[0050] S3: Perform multi-target cross-frame data association based on appearance re-identification vector and motion model, output each target's trajectory, speed and acceleration in image coordinate system, and perform occlusion recovery and ID maintenance; in one embodiment, the scene and input urban intersection monocular video, 1080p, 30fps. S2 has output the vehicle / pedestrian / non-motor vehicle bounding box or instance mask, class and confidence of each frame. The appearance re-identification vector extracts the region alignment cropping and normalization for each detection instance, and inputs the lightweight ReID subnetwork to obtain a fixed-length appearance vector (such as 128 dimensions). An appearance template queue (length such as 10) is maintained for each trajectory, which is updated according to the "latest priority, quality decay" strategy, and low clarity or strong light samples are not queued. The motion model and scene constraints use the constant speed assumption to predict the next frame position and scale for each existing trajectory; the angular velocity / acceleration of the IMU is used for camera jitter compensation; the lane direction and speed limit constraints are combined to limit the turning angle and speed upper limit to avoid unreasonable jumps. A search window is generated for the predicted position (for example, centered on the predicted box, with the long and short axes enlarged adaptively according to the speed and historical stability). Geometric gating only retains candidate detections that fall within the search window, and requires an overlap with the predicted box to reach a minimum threshold (such as 0.2); candidates with scale changes exceeding a certain proportion (such as ±30%) are excluded.
[0051] The comprehensive matching and one-time association calculate a comprehensive score for each "on-track trajectory-candidate detection", taking into account position overlap, speed direction consistency and appearance similarity; a global matching algorithm is used for one-to-one assignment, preferentially locking pairs with high scores and few conflicts; new detections that are not assigned create new trajectories, and existing trajectories that are not assigned enter a "lost" state. Occlusion processing and recovery "lost" trajectories continue to extrapolate positions according to the motion model within a limited time window and retain the number; when a new detection appears while meeting both appearance and motion thresholds, it directly returns to the original number; if the same detection is competed for by two adjacent trajectories, the one with a longer history and more consistent appearance is preferentially retained, and identity switching suppression is performed to prevent ID exchange. Sudden jumps across lanes and instantaneous large turns opposite to the traffic direction are automatically rejected. Trajectory maintenance and termination Each trajectory maintains attributes such as "age, hit count, lost count, quality score"; long-term loss or quality score below threshold is terminated and archived segment; new trajectory needs to be hit for a minimum number of frames before being marked as "stable".
[0052] Velocity and acceleration calculation outputs center point or bounding box, instance mask, tracking ID, timestamp for each associated track in time sequence; velocity is calculated based on displacement and frame interval of adjacent frames, and acceleration is obtained from velocity change; smoothing is done within a three to five frame window, and "low confidence" is marked when occlusion or interpolation segment is encountered. Shortage frame and interpolation when only a small number of frames are missing, linear interpolation is done on the time axis to complete the track points, and the "interpolation" mark is marked for this section, which does not participate in the judgment of high sensitivity events. Quality monitoring and alarm continuously statistics each frame association success rate, average appearance similarity, motion residual and other indicators; when the overall quality decreases (such as rainy night or strong backlight), increase the appearance weight, relax the geometric gate and enhance the timing smoothing; if there is large-scale ID jitter, trigger the reset strategy (only clean unstable short tracks, keep long tracks). The output interface provides standardized results to the upper module by frame: track: tracking ID, category, bounding box or mask, center point; kinematics: velocity, acceleration and its confidence; state: normal / temporarily lost / restored, occlusion mark, quality score; event hook: create, merge, terminate, suspected exchange logs, etc. for audit and trace back.
[0053] S4: Map the track to the bird's eye view (BEV) according to the depth estimation and camera calibration, fuse the lane geometry, priority, speed limit and signal phase road elements, and construct the space-time scene graph; in one embodiment, a roadside camera (fixed high view) is deployed at the city intersection and the accident vehicle event data recorder is used as a supplementary view. Before going online, the internal and external parameters and installation posture of the two types of cameras are calibrated respectively; permanent anchor points (stop line, lane boundary point, distance measuring scale) are sprayed or placed on the road, and the calibration results and anchor point coordinates are written into the configuration file and solidified with the device. Depth and image stabilization calibration The edge runs monocular depth estimation to obtain the relative depth of each frame; combined with the pitch / roll angle of the IMU, the camera jitter is compensated; the relative depth is aligned to the metric scale with the measured lane width, stop line distance, etc. as the scale reference; when the light suddenly changes or it is raining at night, the image stabilization strength is automatically increased and the "low confidence" mark is triggered. The track is projected to the BEV from the target center point or contour output from S3, projected to the ground plane according to the preset mapping relationship, and the metric position and orientation are obtained; the projected track is compared with the anchor points (lane line, stop line, zebra crossing) to smooth the sliding time window; when the track and anchor points have small drift, closed-loop correction is performed to make the track fit the road geometry.
[0054] Multi-camera time alignment and spatial stitching Each video stream is synchronized using a unified time source; in the overlapping field of view, fine-grained time alignment is performed using the time when the vehicle passes through the same anchor point; spatially, the roadside camera is taken as the reference, and the vehicle-mounted perspective is projected and spliced into a unified BEV coordinate system; when the same target is observed by two routes at the same time, the side with a closer distance to the anchor point and a clearer mask boundary is preferred, and the fusion source is recorded. Road element fusion Road elements come from two parts: one is the lane center line, boundary, speed limit, and intersection topology of the offline electronic map; the other is the lane line, drivable area, stop line, and flow guide area obtained by online semantic segmentation. The system checks the consistency of the two, and when there is a contradiction, the online result is covered in the short term, and the offline data is corrected in the long term. The position and phase table of the signal machine is provided by the intersection controller or external platform, and is written into the space-time index. The construction of the space-time scene graph maintains the scene in the structure of “node-edge”: node: main target, lane segment, conflict area, stop line, signal phase, speed limit sign; edge: lane connection relationship, yielding relationship, phase control relationship, and time connection of the same main body. Time stamp, effective interval, source, and confidence are attached to the node and edge; incremental update is used with a sliding window, and only the affected subgraph is recalculated; grid or hash index is used to speed up the positioning of “target→lane segment” and “target→conflict area”.
[0055] Key quantity output Lane occupancy: the proportion and queue length of each lane segment occupied by the main target are counted, and the occupancy percentage and tail coordinates are output; conflict line arrival time: based on the current BEV speed and lane geometry, the estimated arrival time of the main body to the intersection conflict line is calculated, and the stability evaluation within the time window is attached; remaining distance: the arc length distance to the conflict line or stop line along the lane center line is accumulated; the quality score of each trajectory and abnormal markers (such as “low-texture area” and “rainy night reflection”) are output synchronously. Abnormality and degradation strategy When the calibration drift is detected (the trajectory deviates from the anchor point for a long time), automatically switch to short-term local self-calibration and issue a maintenance alert; when the signal phase is missing, the BEV trajectory and lane fusion are still maintained, but the phase-related event generation is suspended; when the vehicle-mounted perspective and roadside perspective conflict, the one with higher confidence is preferred, and the conflict segment is marked for offline review. Interface to the upper module For S5 / S6, query capability is provided: given the main body ID and time, the lane segment, remaining distance to the stop line / conflict line, estimated arrival time, phase state, and priority role are returned; support for “subscribe to lane occupancy changes within a time window” and “subscribe to target entering conflict area” event callback.
[0056] S5: Lane change, merge, U-turn, red light running, hard acceleration / deceleration, and reverse driving are detected on the trajectory and scene graph, and potential conflict points and yielding relationships are located. The environment and input come from the BEV trajectory (meter position, orientation, speed, acceleration, confidence) from S4, and the scene graph (lane geometry, stop line, conflict zone / conflict line, signal and phase, priority relationship). Time step 33 ms. Rule parameters (configurable) stable time window: 1.0 seconds; Minimum event duration: 0.5 seconds. Lane crossing determination buffer: 0.3 meters. Merge longitudinal overlap: at least 1.5 meters and lasts ≥0.5 seconds. Hard acceleration / hard deceleration threshold: speed increase / decrease ≥5 km / h in 0.5 seconds; extreme cases can be increased to 10 km / h. Reverse driving determination: the angle between the heading and the direction of the lane is ≥150° and lasts ≥0.5 seconds. Red light running: crossing the stop line during the effective period of the red light and entering the conflict zone within 3 seconds.
[0057] Event extraction process (a) Lane change: detect the trajectory crossing the lane boundary in the lateral direction, and the heading change remains continuous without turning back within the stable time window; if the line is only pressed for less than 0.3 meters or the duration is less than 0.5 seconds, it is marked as "invalid crossing". Output: start frame, crossing frame, completion frame, original / target lane ID. Evidence: three key frames (enter line, cross boundary, enter lane) and BEV overlay graph. (b) Merge: two vehicles have a continuous overlap in the longitudinal direction, and the lateral distance converges to the same lane, and the target vehicle has a lateral trend to the lane within 1 second; if the overlap is insufficient or there is a stop and wait, it is not judged as merging. Output: main / secondary vehicle ID, merging lane, overlap period. Evidence: overlap area highlight, two vehicle trajectory overlay. (c) U-turn: detect the heading change from forward driving to reverse driving and cross the opposite lane boundary; if it is a U-turn-only lane and there is a release phase, it is marked as "legal U-turn", otherwise "illegal U-turn". Output: U-turn center position, use lane, phase state. Evidence: crossing center line key frame and U-turn completion frame. (d) Red light running: the subject crosses the stop line during the effective period of the red light phase; then enters any conflict zone (straight / left / right conflict line set) within 3 seconds. If it crosses the stop line and then stops without entering the conflict zone, it is marked as "crossing the line without entering the conflict zone". Output: stop line crossing frame, conflict zone entry frame, phase number. Evidence: two key frames of stop line and conflict zone, phase time axis segment. (e) Hard acceleration / hard deceleration: speed change exceeds threshold within 0.5 second window; if wet road or sudden obstacle in front is detected simultaneously, it can be reduced to "defensive braking". Output: start and end frames, peak change, road condition label. Evidence: speed time slice, forward key frame. (f) Reverse driving: the subject is in the lane, the heading is opposite to the lane direction and lasts more than the threshold; if it is in the diversion area or the U-turn lane and is in the release phase, it is excluded. Output: reverse driving start and end position, lane segment. Evidence: reverse driving segment BEV overlay and heading indication.
[0058] Potential conflict point positioning: For any two subjects, extrapolate 3 seconds along their respective BEV trajectories, find the earliest meeting point with the intersection conflict line / conflict zone and the predicted arrival time; if the interval between the two predicted arrival times is less than 1.2 seconds, mark it as a "high-risk conflict point". Output: conflict point coordinates, two subject predicted arrival times, time difference level (high / medium / low). Yield relationship determination: based on priority diagram: straight ahead priority over left turn, main road priority over branch road, pedestrian priority over motor vehicle, green light release priority over red light control. Combined with the predicted arrival order of the two subjects at the conflict point, determine the "should yield" and "enjoy priority" parties. If there is a special phase or traffic sign (yield / stop), override the sign priority. Output records and evidence fragments: generate standard records for each event: event type code, subject / relative subject ID, occurrence time, spatial location (lane segment or conflict zone ID), phase state, yield role (if applicable), credibility. Evidence fragments include: three to five key frames (start / trigger / complete) with BEV overlay and element highlighting; time axis summary (event duration, phase switching point); evidence chain entry number (corresponding to the log index of S1), for independent verification.
[0059] Conflict and priority processing: If "lane change" and "merge" meet at the same time window, output "merge" first; when "signal light violation" and "crossing the line without entering the conflict zone" conflict, decide by whether entering the conflict zone; merge short repeated events of the same type into one continuous event to avoid fragmentation. Abnormal and degradation: When trajectory confidence is low or lane lines are missing, suspend events strongly bound to this element (such as lane change, merge), and only keep kinematic-based sudden acceleration / deceleration; when phase data is missing, signal light violation event does not trigger, but records a "phase missing" marker for subsequent calculation.
[0060] S6: Map the events and subject engagement relations to the regulation rule base and road priority graph, and obtain a set of fault factors by using causal graph and temporal logic reasoning; in some embodiments, rule mapping and reasoning - intersection "red light running + not courteous to pedestrians" scenario, the scenario and input are derived from S5: Event E1: Vehicle A crosses the stop line and enters the straight conflict zone in the red light phase (type code: crossing into conflict zone). Event E2: Vehicle A and pedestrian P have a high-risk conflict point at the zebra crossing, and the priority relationship is "pedestrian priority, motor vehicle should yield to pedestrians". Scene graph elements: stop line ID = S1, straight conflict zone ID = C1, zebra crossing ID = Z1, signal ID = TL-3 (including phase record corresponding to time); road type = signal-controlled intersection. Time reference: t0 is the crossing frame of E1, t1 is the frame of entering the conflict zone, and t2 is the expected arrival time of the conflict point near Z1. The event record generation system generates a record for each event: E1: subject ID = A, event type code = RL_CROSS, occurrence time = t0 / t1, road element number = S1 / C1. E2: subject ID = A, relative subject ID = P, event type code = YIELD_CONFLICT, occurrence time = t2, road element number = Z1. Element positioning and time sequence information reading positions S1, C1, Z1 in the scene graph; query the phase and speed limit information of signal TL-3 according to t0, t1, t2: t0, t1 are red light, phase number = R; the speed limit at Z1 is identified as 30 km / h (used for exemption judgment, such as low-speed through buffer stop, etc.). Subject role determination is based on the priority graph: vehicle A's role at S1 / C1 = "signal-controlled". At the zebra crossing Z1, the role of pedestrian P = "pedestrian priority", and the role of vehicle A = "should yield".
[0061] Rule template retrieval with (event type code, road type, subject role, phase status) as retrieval keys: Hit rule R101 (Red light prohibited entry into conflict zone): Applicable premise = signalized intersection; Trigger condition = crossing stop line and entering any conflict zone during red light validity; Exemption condition = police gesture release or special vehicle performing task; Controlled region = stop line and corresponding conflict zone; Priority = 1; Severity level = high. Hit rule R205 (Zebra crossing yield to pedestrian): Applicable premise = pedestrian occupying zebra crossing or passing through; Trigger condition = motor vehicle not yielding and approaching / entering conflict point during yield obligation validity; Exemption condition = pedestrian jaywalking and motor vehicle has taken sufficient avoidance; Controlled region = Z1; Priority = 2; Severity level = high. Rule decision order (deterministic process) for R101: Applicable premise is true (signalized intersection); Exemption condition is not true (no police release, non-special vehicle); Controlled region and time match (S1 / C1 at t0 / t1 during red light validity); => Decision "trigger". For R205: Applicable premise is true (P passing through Z1); Exemption condition is not true (no jaywalking P detected and A has not yielded sufficiently); Controlled region and time match (Z1 at t2 during yield obligation validity); => Decision "trigger". Fault factor generation generates two fault factor records for vehicle A: F101: Rule number = R101, fault code = RUN_RED_IN_CONFLICT, subject ID = A, evidence references = stop line crossing key frame KF_E1a, conflict zone entering key frame KF_E1b, trajectory segment TRJ_A[t0-t1], evidence chain entry IDX_S1 / IDX_C1. F205: Rule number = R205, fault code = FAIL_TO_YIELD_PEDESTRIAN_AT_ZEBRA, subject ID = A, evidence references = zebra crossing conflict point key frame KF_E2, pedestrian trajectory TRJ_P[t2±Δ], evidence chain entry IDX_Z1. No fault factor output for pedestrian P.
[0062] Same window conflict resolution If the same time window also hits the general rule R100 "Red light prohibited crossing stop line" (not including entering conflict zone), which has priority >1, it is overridden by R101 and only F101 is retained. If two yield-type factors of the same level occur, corresponding to the same location and time window, the one with higher severity level is retained (e.g. "Failure to yield to pedestrian - causing forced stop" takes precedence over "Failure to yield to pedestrian - warning").
[0063] The output of the fault factor set of A in the current time window is {F101, F205}, and the trigger time and location (S1 / C1, Z1) are attached; the role description (controlled by signal, should give way); the evidence guide list (key frame ID, track segment ID, evidence chain index); the judgment log (the premise / exemption / region / valid period verification result of each rule). The above information is provided to S7 for responsibility quantification, and supports independent playback verification: third parties can locate the original item according to the evidence chain index, check the signature, timestamp and chain value continuity. If the phase data is missing, only R205 is judged and the record is marked "phase missing, not calculated red light running"; if the zebra crossing recognition confidence is insufficient, R205 is suspended and the "element low credibility" label is output; if there is a traffic police on-site command event at the same time, the exemption conditions of R101 / R205 take effect first, and the exemption reason is automatically not triggered and recorded.
[0064] S7: According to the fault factor weight, the collision energy participation, and the reaction time, the responsibility of each subject is quantified, and the responsibility proportion is output;
[0065] S8: Generate a report containing timeline, key frames, trajectory overlays, and rule-triggered checklist, and credibly notarize the report with the evidence chain. In one embodiment, in the liability quantification and interpretable report generation, a collision occurs between a straight-going car B and a left-turning car A in the conflict zone. From S6: A triggers "Red-light entering conflict zone" (R101, severe), "No courtesy to pedestrians / priority party" (R205, severe); B has no violation, only "Braking insufficient" (warning, no fault). From S4 / S5: The time interval between the expected arrival times of the two cars at the conflict line is less than 1 second; from S1: On-site extraction of B's about 12 meters of continuous braking marks and A's about 3.5 meters of slight braking marks; the relative speed before the collision and the damage location are A's left front and B's front. Fault factor scoring (highest in the same category) The system aggregates the fault factors triggered by each subject within the same window and scores them according to the rule library preset levels: severe > general > warning. A's highest category is R101 and R205; B's warning is not scored and is only used as context description. The "original score" is obtained. The collision energy participation level is determined according to the relative speed before the collision, the impact angle, the damage location, and the length of the braking marks: A is "high" (the main impact party, short braking marks, large angle), and B is "medium" (the impacted party, significant braking energy reduction). The system applies this level as a "weighting coefficient" to each "original score". Reaction time difference weighting / reduction The system automatically traces back the interval between the "first perceivable time" (the time when the target first enters the visible and predicted conflict zone) and the "actual braking start time" to obtain the "available reaction time"; the "necessary reaction time" is estimated based on the default perception-reaction time and the braking demand under local road conditions. A's difference is negative (braking later than the necessary time point), recorded as "weighting"; B's difference is positive (earlier than the necessary time point), recorded as "reduction". The system increases A's overall weight by "weighting" and decreases B's overall weight by "reduction". Normalization The adjusted scores are normalized between the subjects to obtain the percentage. The case output: A assumes about 80%, and B assumes about 20%. The credibility interval is also output, marking the key basis for adjustment (phase record, trajectory stability, braking mark recognition quality). Report timeline and key frames Automatic generation of timeline: t0: A crosses the stop line; t1: A enters the conflict zone; t2: B starts braking; t3: contact occurs. Key frames are selected at t0, t1, t2, and t3, and the trajectories of the two cars, the conflict line, the remaining distance, and the speed labels at each frame are overlaid on the BEV.
[0066] The rule trigger list and explanation items are listed in the "rule list": R101 (entering the conflict area during the red light), R205 (not yielding at the zebra crossing / priority relationship, if applicable); the applicable premise of each rule, trigger evidence reference (stop line crossing frame, conflict area entering frame, phase segment), exemption check result (no police release, non-special vehicle). At the same time, "unaccounted error prompt items" (such as B brake deficiency) and their reasons are listed. Each key frame and trajectory segment is attached with "evidence chain index": including acquisition terminal ID, item number, previous / current chain value summary and time stamp token. The "one-key verification list" is provided in the report, and the third party can verify the signature, time stamp and chain value continuity one by one in the offline tool. The report product and structured report include: cover summary (responsibility ratio, main basis), timing page (time axis + key frame), BEV page (trajectory superposition and distance marking), rule page (trigger / exemption list and clause number), quantification page (itemized score, energy level, reaction time difference explanation), evidence page (evidence chain index table). At the same time, machine-readable attachments (such as JSON) are exported to record the same fields, which is convenient for the case system to dock. The report abstract (hash and index) is generated by trusted notarization, and the evidence chain item number involved in the case is written into the increasing only log; use terminal / server private key signature and obtain trusted time stamp; according to the strategy, the segment abstract is uploaded to the remote notarization (notarization or on-chain anchoring) regularly. The report is transferred to the outside version using desensitization pictures (face, license plate blur), the original piece is left in the controlled domain, and can be traced back through the evidence chain index. If new evidence of phase or brake trace is supplemented subsequently, the system recalculates according to the same process, generates a "revised report", and concatenates the new and old report abstracts in the log, retains the change reason and impact item, and ensures process traceability.
[0067] Preferably, the step S1 comprises: establishing a unified time axis based on a monotonically increasing clock, aligning the video frames and the IMU, GPS and OBD data in a fixed time window, and assigning a unique frame number and a modal identifier to each frame; generating a content digest hash for the frame content of each modal; concatenating the terminal identifier, the modal identifier, the frame number, the unified timestamp, the current content digest hash and the chain value of the previous record in a fixed field order, obtaining the current chain value through digest calculation, and taking the seed value written by the device at the factory or the segment head initialization value as the previous chain value for the segment head record; taking the record containing the fields, the previous chain value and the current chain value as an evidence item, digitally signing the evidence item by the terminal private key, and applying for a timestamp from a trusted timestamp service to bind it; appending the signed and timestamped evidence item to the log in chronological order, and aggregating the items to generate a segment digest according to a preset number or time length, periodically performing remote evidence storage on the segment digest, including on-chain storage and notarization storage; retaining the previous chain value and inserting a placeholder and an abnormality marker when the link is interrupted or packets are lost, and continuing to extend based on the previous chain value after recovery to ensure chain continuity; and sequentially checking the signature validity, the timestamp continuity, the matching relationship between the chain values and the content digest consistency when playing back and verifying, so that any field being tampered with will cause the subsequent chain value to be mismatched and be identified, thereby forming a traceable and irrefutable evidence chain.
[0068] Preferably, the shared backbone and multi-branch video understanding network comprises: after size and brightness normalization of the input video frame, the normalized video frame is sent to a shared backbone composed of convolution residual units and a temporal context module, and the shared backbone outputs multi-scale features through a feature pyramid; a multi-branch head is arranged on the shared backbone, including: a target detection branch for vehicles, pedestrians and non-motor vehicles, which performs candidate region generation, class determination and position regression; a mask branch for instance segmentation, which samples the detected candidate regions for region alignment and generates a pixel-level mask of the instance with dynamic parameters; a semantic segmentation branch for road elements, which outputs drivable area and lane line semantic maps on high-resolution features, and generates continuous lane strips through thin line target enhancement and connectivity decoding; a small target detection and state recognition branch for signal lights, which performs upsampling and fine-grained classification on high-level and middle-level features to output the spatial position and light color state of the signal lights; in the inference stage, the branch results are smoothed for temporal consistency, non-maximum suppression and boundary refinement, and are fused at the pixel layer: the instance mask constrains the conflicting areas in the semantic map, the lane line guides the vehicle instance boundary to fit the road structure, and the signal light state provides temporal markers for event extraction, finally obtaining vehicle, pedestrian and non-motor vehicle instance masks and lane line and drivable area semantic maps aligned with the original resolution.
[0069] Preferably, the step S3 comprises: extracting fixed-length appearance re-identification vectors in the target instance region, representing RGB color, shape; predicting the current position using a constant-speed-based motion model combined with lane direction, speed limit scene constraints; performing global matching to complete cross-frame association by first using a prediction window for geometric gating, and then using a comprehensive score of position overlap, motion consistency and appearance similarity; outputting trajectory points, bounding boxes, tracking IDs and timestamps in chronological order, and calculating speed and acceleration based on adjacent position changes; and maintaining the original ID for a temporarily lost target by motion extrapolation and restoring the original ID when the appearance and motion thresholds are met.
[0070] Preferably, the step S4 comprises: completing internal and external participation installation pose calibration for the acquisition camera, using depth estimation combined with IMU for scale and jitter calibration; projecting the target trajectory in image coordinates to the metric BEV grid according to a preset mapping relationship, and performing temporal smoothing and closed-loop correction with lane line and stop line anchor points; completing time alignment and spatial splicing in overlapping areas for multi-phase scenes, and constructing a space-time scene graph based on lane geometry, priority, speed limit and signal phase road elements on the BEV, combined with projected trajectories: nodes include main targets, lane segments, conflict areas and signal phases, edges include passing connections, yielding and time connections; adding timestamps and confidence to nodes and edges, updating in a sliding window increment, and outputting lane occupancy, conflict line arrival time and remaining distance.
[0071] Preferably, the step S5 comprises: extracting events on the BEV trajectory and scene graph according to rules-thresholds: lateral displacement crossing lane boundaries and maintaining a stable direction as lane changing; two vehicles longitudinally overlapping and converging to the same lane as merging; heading and road direction reversal and crossing opposite lanes as U-turns; signal phase is red and crosses the stop line and enters the conflict area as running a red light; speed change rate exceeds threshold as sudden acceleration and sudden deceleration; heading and lane direction are opposite as reverse driving; potential conflict points are determined by the intersection of two main trajectories, conflict lines and conflict areas, and arrival time; yielding relationship is determined according to priority graph, signal phase and pedestrian priority rules, and outputs responsible subjects, trigger frames and evidence segments.
[0072] Preferably, the step S6 comprises: generating a record for each event, with fields containing subject ID, event type code, occurrence time, road element number; locating the road element number in the space-time scene graph and reading the signal phase and speed limit at that time; determining the subject role as priority, should yield, signal-controlled or pedestrian priority according to the road priority graph; retrieving the rule template from the rule library with event type code, road type, subject role, phase state as key; determining in fixed order: applicable premise established, exemption condition not established, subject located in controlled area and time in valid interval, i.e. rule triggered; generating a fault factor record for the triggered rule, including rule number, fault code, subject ID, evidence reference; when there are multiple factors in the same window, retaining in ascending order of rule priority, and if at the same level, retaining the one with higher severity level.
[0073] Preferably, the steps S7, S8 further comprise: summarizing the triggered fault factors for each subject, scoring according to the rule library preset weight, and taking the highest of the same kind; determining the collision energy participation level according to the relative speed before contact, damage site and braking trace as the weighting coefficient; calculating the difference between available reaction time and necessary reaction time, with negative value being weighted and positive value being de-weighted; normalizing the weighted score among subjects to obtain the responsibility proportion, generating a report in time sequence: containing time axis, key frame, BEV trajectory superposition, rule trigger list and evidence reference; and appending the report summary and evidence chain entry to the incremental only log, with digital signature and trusted timestamp, and regularly storing evidence remotely.
[0074] The application also provides an intelligent accident responsibility judgment system fused with video tracking, as shown in Figure 2 The application also provides an intelligent accident responsibility judgment system fused with video tracking, as shown in
[0075] B. Roadside subsystem (fixed point) Roadside camera: high gun camera / dome camera (PoE, IP66), optional panoramic / fisheye. Roadside edge node: industrial computer (GPU / NPU), gigabit PoE switch (supports PTP). RSU roadside unit: C-V2X / DSRC (can receive vehicle broadcast status).
[0076] Signal access device: interface with signal control machine, export phase / scheme (TCP / IP or RS485). Time service device: GNSS time service receiver + PTP grandmaster; NTP as redundancy. Environmental sensor: light / rainfall (can be used for threshold self-adaptation).
[0077] C. Central platform (machine room / cloud), inference and rule cluster: application server (container orchestration). Data and evidence storage: object storage (supports version / WORM), relational database, time series database. Log and audit: message queue / log service (Kafka / Elastic, etc.). Trusted service: timestamp service (TSA) and third-party notarization / on-chain anchor node (optional). Unified device management: OTA, certificate issuance, health monitoring.
[0078] Connection mode and interface, 1) In-vehicle internal connection camera → in-vehicle edge: MIPICSI / USB3; local video stream encoding (H.264 / H.265). IMU → in-vehicle edge: I 2 C / SPI; GNSS → in-vehicle edge: UART (PPS time service interrupt). OBD-II → in-vehicle edge: CAN / CAN-FD (USB-CAN gateway or direct connection). Security chip / TPM ↔ in-vehicle edge: SPI / I 2C; for frame / segment level signature. Onboard edge ↔ wireless router: Ethernet; external VPN / TLS out. Power supply: vehicle ACC → DC-DC → camera / edge / router; UPS for power outage endurance and safe shutdown. 2) Roadside internal connection, roadside camera ↔ PoE switch ↔ roadside edge: Gigabit Ethernet (RTSP / ONVIF). Signal machine / phase acquisition ↔ roadside edge: TCP / IP; RS485 / Modbus to Ethernet for old devices. RSU ↔ roadside edge: Ethernet (C-V2X / DSRC messages). GNSS ↔ PTP Grandmaster ↔ PoE switch (PTP) ↔ camera / edge time synchronization; NTP as backup. Roadside edge ↔ center: leased line / 5G industrial gateway (IPsec / OpenVPN / TLS). 3) Vehicle-to-roadside-to-center data channel, video and features: RTSP / GB28181 upload or only upload key frames / trajectories (with chain hash index). Metadata and events: MQTT / HTTPS (JSON / Protobuf). Evidence chain reporting: HTTPS / gRPC, TSA timestamp returned to write index back. Device management: HTTPS + certificate two-way authentication; OTA fragmented download, breakpoint resume.
[0079] Data flow and division of responsibilities, S1 forensics and signature (on-board / roadside edge), camera / sensor raw data into edge computing; generate content digest by frame / packet and splice with "last chain value"; call security chip to complete signature, apply for timestamp from TSA offline / online; evidence entries are written into local WORM log and periodically segmented to report to the center and notarized / anchored on the chain. S2 perception and segmentation (edge first), edge nodes run shared backbone + multi-branch network, output detection frame, instance mask, lane semantics, signal light state; only upload results and necessary key frames to save bandwidth. S3 tracking and association (edge), use ReID + motion model to complete cross-frame association; output trajectory, speed, acceleration, occlusion label and trajectory quality; abnormal paragraphs are buffered locally with evidence index. S4 BEV / spatial-temporal graph (edge→center) edge completes camera calibration mapping and BEV projection; multi-camera stitching and large-scale consistency can be checked again in the center; generate "lane occupancy / conflict line arrival / residual distance" and other key quantities. S5 event extraction (edge / center collaboration) lane changing, merging, signal violation, reverse driving, etc. are triggered in real time based on rules and thresholds at the edge; complex competition / cross-road scenarios are checked in the center. S6 rule reasoning (center) the center maps events and subject roles to rule library and priority graph, outputs a set of fault factors according to deterministic process, and attaches evidence references. Responsibility quantification (center) aggregates fault weight, collision energy participation and reaction time difference, and outputs responsibility proportion after normalization; records parameters and basis to support re-calculation. Report and evidence storage (center) generates reports with timeline, key frames, BEV overlay, rule list and evidence chain index; report abstract and associated evidence entries are written into center WORM again and stored remotely.
[0080] The collection module collects a sequence of video frames of the accident scene, and synchronously collects multi-source data of IMU, GPS and OBD; the multi-source data are subjected to frame-by-frame content hashing and concatenated with time information to form a chain hash, and a trusted timestamp and a digital signature are added to form an evidence chain;
[0081] The target detection and instance segmentation module uses a shared backbone and multi-branch video understanding network to perform target detection and instance segmentation on the video, and obtains masks and semantic graphs of vehicle, pedestrian, non-motor vehicle, lane line and signal light targets;
[0082] The association module performs multi-target cross-frame data association based on appearance re-identification vectors and motion models, outputs the trajectory, speed and acceleration of each target in the image coordinate system, and performs occlusion recovery and ID maintenance;
[0083] The time-space scene graph construction module maps the trajectory to the bird's-eye view (BEV) according to depth estimation and camera calibration, fuses road elements such as lane geometry, priority, speed limit and signal phase, and constructs a time-space scene graph;
[0084] An extraction module extracts lane changing, merging, U-turn, signal jumping, sudden acceleration and deceleration, and reverse driving on the trajectory and scene graph, and locates potential conflict points and yielding relationships;
[0085] A reasoning module maps the events and subject participation relationships to a regulation rule base and a road priority graph, and obtains a set of fault factors by using causal graph and temporal logic reasoning;
[0086] A responsibility division proportion determination module quantifies the responsibility of each subject according to fault factor weights, collision energy participation, and reaction time, and outputs a responsibility division proportion;
[0087] A generation module generates a report containing a time axis, key frames, trajectory superposition, and a rule triggering list, and performs credible notarization of the report and the evidence chain.
[0088] Preferably, the collection module comprises: establishing a unified time axis based on a monotonically increasing clock, aligning video frames and IMU, GPS, and OBD data according to a fixed time window, and assigning a unique frame serial number and a modal identifier to each frame; generating a content digest hash for the frame content of each modal; concatenating the terminal identifier, the modal identifier, the frame serial number, the unified timestamp, the current content digest hash, and the chain value of the previous record in a fixed field order, obtaining the current chain value through digest calculation, and taking the seed value written by the device at the factory or the segment head initialization value as the previous chain value of the first record in the segment; the record comprising the fields, the previous chain value, and the current chain value constitutes an evidence item, which is digitally signed by the terminal private key and bound to a trusted timestamp service by applying for a timestamp; the signed and timestamped evidence item is appended to the log in chronological order, and the items are aggregated to generate a segment digest according to a preset number or time length, the segment digest is periodically stored remotely, including on-chain, notarization storage; when the link is interrupted or packets are lost, the previous chain value is retained and an placeholder and an abnormality marker are inserted, and after recovery, the extension is continued based on the previous chain value, ensuring chain continuity; when playing back and verifying, the signature validity, timestamp continuity, chain value matching relationship, and content digest consistency are sequentially checked, and any field that is changed will cause the subsequent chain value to be mismatched and be identified, thereby forming a traceable and irrefutable evidence chain.
[0089] The application provides an accident responsibility intelligent judgment method and system fusing video tracking, and has the following beneficial technical effects:
[0090] 1.The application generates content hash by frame collection end, and forms chain hash by concatenating previous chain value; terminal signature is affixed to each record and trusted timestamp is bound, evidence entries are written into only-increasing log in time sequence, segment abstracts are regularly aggregated and chained or notarized; placeholder is inserted in chain interruption, and chain value is continued after recovery; combined with pull frame / two pressure detection and video-IMU / GPS / OBD consistency comparison, tampering or loss can be quickly found in playback verification, forming a reviewable evidence closed loop.
[0091] 2.The application completes detection and segmentation of vehicles, pedestrians, lane lines and signal lights through shared backbone multi-branch network, and cross-frame ID stability is ensured by re-identification and motion model; trajectories are unified to BEV through calibration and depth calibration, and are fused into space-time scene graph with lane geometry, priority, speed limit and phase; lane changing, merging and signal violation events are extracted and conflict points are located on the basis; error factors are output with clause number and evidence reference according to fixed order of "applicable premise-controlled area-effective period" trigger rule.
[0092] 3.The application weights and normalizes each subject based on error factor weight, collision energy participation and reaction time difference, to obtain reproducible responsibility proportion; report automatically aggregates timeline, key frame and BEV overlay, lists rule trigger list and evidence guide, facilitating review and review; edge cloud cooperation and desensitization rendering balance timeliness and privacy, which can be landed in claims settlement, law enforcement and judicial identification, significantly improving processing efficiency and conclusion consistency.
[0093] The above describes in detail an accident responsibility intelligent judgment method and system integrating video tracking, and the principle and implementation mode of the application are described by applying specific examples; the above example is only used to help understand the core idea of the application; for those skilled in the art, according to the idea and method of the application, the specific implementation mode and application range will be changed, and the above description should not be understood as a limitation of the application.
Claims
1. An intelligent judgment method of accident liability fusing video tracking, characterized in that, The method comprises the steps of: S1: collecting a sequence of video frames of an accident scene, and synchronously collecting multi-source data of IMU, GPS and OBD; performing frame content hashing on the multi-source data and concatenating time information to form a chain hash, and adding a trusted timestamp and a digital signature to form an evidence chain; S2: using a video understanding network with a shared backbone and multiple branches to perform target detection and instance segmentation on the video to obtain masks and semantic graphs of vehicle, pedestrian, non-motor vehicle, lane line and signal lamp targets; S3: performing multi-target cross-frame data association based on an appearance re-identification vector and a motion model, outputting the trajectory, speed and acceleration of each target in the image coordinate system, and performing occlusion recovery and ID maintenance; S4: mapping the trajectory to a bird's eye view (BEV) coordinate system according to depth estimation and camera calibration, fusing lane geometry, priority, speed limit and signal phase road elements, and constructing a space-time scene graph; S5: extracting lane changing, merging, turning, signal light crossing, sudden acceleration and deceleration, and reverse driving on the trajectory and scene graph, and locating potential conflict points and yielding relationships; S6: mapping events and subject participation relationships to a regulation rule library and a road priority graph, and obtaining a set of fault factors by using a cause-effect graph and a time sequence logic reasoning; S7: quantifying the responsibility of each subject according to the weight of the fault factor, the participation degree of the collision energy and the reaction time, and outputting the responsibility proportion; S8: generating a report containing a time axis, key frames, trajectory superposition and rule triggering list, and performing trusted notarization on the report and the evidence chain; The step S3 comprises: extracting a fixed-length appearance re-identification vector in the target instance area to represent RGB color and shape; using a motion model based on constant speed and combining lane direction and speed upper limit scene constraints to correct the current position; performing global matching to complete cross-frame association by first performing geometric gating with a prediction window, and then performing comprehensive scoring based on position overlap, motion consistency and appearance similarity; outputting trajectory points, bounding boxes, tracking IDs and timestamps arranged in chronological order, and calculating speed and acceleration according to the change of adjacent positions; maintaining the original ID of a temporarily lost target by motion extrapolation and restoring the original ID when the appearance and motion thresholds are met; The step S4 comprises: calibrating the internal parameters, external parameters and installation attitude of the collection camera, and performing scale and jitter calibration by using depth estimation combined with IMU; projecting the target trajectory in the image coordinate system to a metric BEV grid according to a preset mapping relationship, and performing time sequence smoothing and closed-loop correction with lane line and stop line anchor points; time aligning and spatial splicing multi-phase scenes in overlapping areas, constructing a space-time scene graph based on lane geometry, priority, speed limit and signal phase road elements on the BEV, and jointly projecting the trajectory; the nodes include subject targets, lane segments, conflict areas and signal phases, and the edges include traffic connections, yielding and time connections; adding timestamps and confidence degrees to the nodes and edges, incrementally updating them in a sliding window, and outputting lane occupancy, conflict line arrival time and remaining distance.
2. The intelligent judgment method for accident liability by fusing video tracking according to claim 1, characterized in that, The step S1 comprises: establishing a unified time axis based on a monotonically increasing clock, aligning video frames and IMU, GPS, OBD data according to a fixed time window, and assigning a unique frame number and a modal identifier to each frame; generating a content digest hash for the frame content of each modal; concatenating the terminal identifier, the modal identifier, the frame number, the unified timestamp, the current content digest hash, and the chain value of the previous record in a fixed field order, calculating the current chain value through digest calculation, and taking the seed value written by the device at the factory or the segment head initialization value as the previous chain value of the segment head record; taking the record containing the fields, the previous chain value and the current chain value as an evidence item, digitally signing the evidence item by the terminal private key, and applying for a timestamp from a trusted timestamp service to bind it; appending the signed and timestamped evidence item to the log in chronological order, and aggregating the items to generate a segment digest according to a preset number or time length, periodically performing remote evidence storage on the segment digest, including on-chain storage, notarization storage; when the link is interrupted or packet loss occurs, the previous chain value is retained and a placeholder and an abnormality marker are inserted, and after recovery, the extension is continued based on the previous chain value, ensuring chain continuity; when playing back and verifying, the signature validity, timestamp continuity, chain value matching relationship and content digest consistency are sequentially checked, and any field that is changed will cause the subsequent chain value to be mismatched and be identified, thereby forming a traceable and non-repudiable evidence chain.
3. The intelligent judgment method for accident liability by fusing video tracking according to claim 1, characterized in that, The shared backbone and multi-branch video understanding network comprises: after the input video frame is normalized in size and brightness, it is sent to a shared backbone composed of convolution residual units and a time context module, and the shared backbone outputs multi-scale features through a feature pyramid; a multi-branch head is arranged on the shared backbone, comprising: a target detection branch for vehicles, pedestrians and non-motor vehicles, which performs candidate region generation, class determination and position regression; a mask branch for instance segmentation, which samples the detected candidate regions for region alignment and generates pixel-level masks of instances with dynamic parameters; a semantic segmentation branch for road elements, which outputs drivable area and lane line semantic maps on high-resolution features, and generates continuous lane strips through thin line target enhancement and connectivity decoding; a small target detection and state recognition branch for signal lights, which performs upsampling and fine-grained classification on high-level and middle-level features to output the spatial position and light color state of the signal lights; in the inference stage, the branch results are smoothed for time sequence consistency, non-maximum suppression and boundary refinement, and are fused at the pixel layer: the instance mask constrains the conflicting areas in the semantic map, the lane line guides the vehicle instance boundary to fit the road structure, and the signal light state provides time sequence markers for event extraction, finally obtaining vehicle, pedestrian and non-motor vehicle instance masks and lane line and drivable area semantic maps aligned with the original resolution.
4. The intelligent judgment method for accident liability by fusing video tracking according to claim 1, characterized in that, The step S5 comprises: extracting events on the BEV trajectory and the scene graph based on rules and thresholds: lateral displacement crossing lane boundary and keeping stable direction as lane changing; two vehicles longitudinally overlapping and converging to the same lane as merging; heading and road direction reversing and crossing opposite lane as U-turn; signal phase as red and crossing stop line and entering conflict zone as red light running; speed change rate exceeding threshold as sudden acceleration or deceleration; heading and lane direction being opposite as reverse driving, potential conflict point being determined by the intersection of two subject trajectories and conflict line and conflict zone and reaching time; yielding relationship being determined according to priority graph and signal phase and pedestrian priority rules, and outputting responsible subject, triggering frame and evidence segment.
5. The intelligent judgment method for accident liability by fusing video tracking according to claim 1, characterized in that, The step S6 comprises: generating a record for each event, fields containing subject ID, event type code, occurrence time, road element number; locating the road element number in the space-time scene graph, and reading signal phase and speed limit at the time; determining the subject role as priority passing, should yield, signal controlled or pedestrian priority according to the road priority graph; searching the rule template in the law rule library with event type code, road type, subject role and phase state as keys; determining in fixed order: applicable premise is established, exemption condition is not established, subject is located in the controlled area and time is in the effective interval, that is, the rule triggering is determined; generating fault factor record for the triggered rule, including rule number, fault code, subject ID and evidence reference; when there are multiple factors in the same window, the rule priority is retained in ascending order, and if the same level, the higher one is retained according to the severity level.
6. The intelligent judgment method for accident liability by fusing video tracking according to claim 1, characterized in that, The steps S7 and S8 further comprise: summarizing the triggered fault factors for each subject, scoring according to the rule library preset weight, and taking the highest for the same kind; determining the collision energy participation level as a weighted coefficient according to the relative speed before contact, damage site and braking trace; calculating the difference between available reaction time and necessary reaction time, and increasing the negative value and reducing the positive value; normalizing the weighted score among subjects to obtain the responsibility proportion, generating a report in time sequence: containing time axis, key frame, BEV trajectory superposition, rule triggering list and evidence reference; and appending the report summary and evidence chain entry to the increasing only log, attached with digital signature and trusted timestamp, and regularly storing the evidence in the remote.
7. An intelligent judgment system for accident liability fusion video tracking, characterized in that, It comprises: A collection module that collects video frame sequences of the accident scene and synchronously collects multi-source data of IMU, GPS and OBD; Hashing the multi-source data by frame content and concatenating with time information to form a chain hash, and appending a trusted timestamp and a digital signature to form an evidence chain; A target detection and instance segmentation module that uses a video understanding network with a shared backbone and multiple branches to perform target detection and instance segmentation on the video to obtain the masks and semantic graphs of vehicle, pedestrian, non-motor vehicle, lane line and signal lamp targets; An association module that performs multi-target cross-frame data association based on appearance re-identification vectors and motion models, outputs the trajectory, speed and acceleration of each target in the image coordinate system, and performs occlusion recovery and ID maintenance; A space-time scene graph construction module that maps the trajectory to the bird's eye view coordinate system BEV according to depth estimation and camera calibration, fuses road elements of lane geometry, priority, speed limit and signal phase, and constructs a space-time scene graph; An extraction module extracts lane changing, merging, U-turn, signal violation, sudden acceleration and deceleration, and reverse driving on the trajectory and scene graph, and locates potential conflict points and yielding relationships; A reasoning module maps events and subject participation relationships to a regulation rule base and a road priority graph, and obtains a set of fault factors by using causal graph and temporal logic reasoning; A responsibility division proportion determination module quantifies the responsibility of each subject according to fault factor weights, collision energy participation, and reaction time, and outputs a responsibility division proportion; A generation module generates a report including a time axis, key frames, trajectory superposition, and a rule triggering list, and performs trusted notarization of the report and evidence chain; The association module includes: extracting a fixed-length appearance re-identification vector in the target instance area to represent RGB color and shape; using a motion model based on constant speed and combined with lane direction and speed upper limit scene constraints to predict the current position; performing geometric gating with a prediction window, and then performing global matching to complete cross-frame association according to the comprehensive score of position overlap, motion consistency, and appearance similarity; outputting trajectory points, bounding boxes, tracking IDs, and timestamps arranged in chronological order, and calculating speed and acceleration according to adjacent position changes; maintaining the original ID for a temporarily lost target and restoring the original ID when the appearance and motion thresholds are met; The time-space scene graph construction module includes: calibrating the internal parameters, external parameters, and installation posture of the collection camera, using depth estimation combined with IMU for scale and jitter calibration; projecting the target trajectory in the image coordinate into the meter BEV grid according to a preset mapping relationship, and performing time sequence smoothing and closed-loop correction with lane line and stop line anchor points; time alignment and spatial splicing are performed on the multi-phase scene in the overlapping area, and a time-space scene graph is constructed based on the lane geometry, priority, speed limit, and signal phase road elements on the BEV and the projected trajectory: the nodes include subject targets, lane segments, conflict areas, and signal phases, and the edges include traffic connections, yielding, and time connections; time stamps and confidence levels are added to the nodes and edges, and the sliding window is updated incrementally, and lane occupancy, conflict line arrival time, and remaining distance are output.
8. The intelligent judgment system for accident liability by fusing video tracking according to claim 7, characterized in that, The collection module includes: establishing a unified time axis based on a monotonically increasing clock, aligning video frames and IMU, GPS, OBD data according to a fixed time window, and assigning a unique frame number and modal identification to each frame; generating a content summary hash for the frame content of each modal; concatenating the terminal identification, modal identification, frame number, unified timestamp, current content summary hash, and link value of the previous record in a fixed field order, calculating the current link value through summary, and taking the seed value written by the device at the factory or the segment head initialization value as the previous link value; taking the record containing the field, the previous link value and the current link value as the evidence item, digitally signing the evidence item by the terminal private key, and applying for a timestamp from a trusted timestamp service to bind it; appending the signed and timestamped evidence item to the log in chronological order, and aggregating the items to generate a segment summary according to the preset number or length, periodically performing remote evidence storage on the segment summary, including on-chain, notarization evidence storage; when the link is interrupted or packets are lost, the previous link value is retained and a placeholder and an abnormal marker are inserted, and after recovery, the extension is continued on the basis of the previous link value, ensuring chain continuity; when playing back and verifying, the signature validity, timestamp continuity, link value matching relationship and content summary consistency are checked in sequence, and any field that is changed will cause the subsequent link value to be mismatched and be identified, thereby forming a traceable and irrefutable evidence chain.
Citation Information
Patent Citations
Intelligent analysis method for vehicle and pedestrian collision accident liability
CN120217868A