An elevator inspection video compliance review determination method

The elevator inspection video compliance review method, which uses metadata verification and multi-target feature recognition, solves the problems of low efficiency and inconsistent judgment in existing technologies, and realizes the automation, standardization and authenticity assurance of elevator inspection videos.

CN123142104APending Publication Date: 2026-11-20TAIZHOU SPECIAL EQUIP INSPECTION & TESTING RES INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611089334.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-22
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The current compliance verification of elevator inspection videos relies on manual review, which is inefficient, inconsistent in judgment, prone to errors and omissions, and difficult to detect video tampering, thus failing to guarantee the authenticity and integrity of the inspection videos.

Method used

By employing metadata tamper-proof verification, correlation verification, multi-target feature recognition and tracking, and action compliance assessment, an elevator inspection and identification model is constructed. Combined with action logic compliance scoring, automated compliance review is achieved.

Benefits of technology

Effectively prevent video tampering, ensure data authenticity, improve audit efficiency and accuracy, achieve automated management and standardization of the inspection process, and guarantee the originality and authenticity of inspection videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142104A_ABST
    Figure CN123142104A_ABST
Patent Text Reader

Abstract

The application provides an elevator inspection video compliance review judgment method, and belongs to the technical field of elevator equipment safety supervision. It solves the problem that the prior art cannot carry out compliance judgment on video content. The steps of the method are as follows: first, collect the elevator inspection video stream and metadata to be reviewed, filter the non-compliant video with abnormal metadata through tamper-proofing and correlation double-checking; second, input the compliant video stream into an elevator inspection recognition model, recognize various inspection element features in the video frames, output the target detection result and continuously track the target object, and generate the motion trajectory; then, combine the target category, motion trajectory, frame size and time sequence information to check whether the test action conforms to the closed-loop logic of the inspection specification, and output the action logic compliance degree; finally, calculate the video compliance score, determine whether the video is compliant according to the qualified threshold, prompt the retransmission of the non-compliant video, and store the compliant video. The application improves the accuracy of video compliance review.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of elevator equipment safety supervision technology, and relates to a method for reviewing and judging the compliance of elevator inspection videos. Background Technology

[0002] As urbanization continues, the number of elevators in use is increasing year by year, and elevator safety is receiving increasing attention from society. During regular elevator inspections and new installation supervision inspections, it is usually necessary to record the entire process of key safety tests on video for archiving and serving as legal evidence for accident tracing and liability determination.

[0003] Currently, compliance verification of elevator inspection videos is primarily done manually. Inspectors or auditors review the videos segment by segment, checking against the inspection specifications to ensure that the videos cover all required inspection elements, that the testing process is complete, and that the sequence of operational steps conforms to the regulations. This manual review model has significant drawbacks: First, it is inefficient. With a large volume of inspection videos, manual frame-by-frame review is extremely time-consuming and labor-intensive, making it unsuitable for the demands of large-scale elevator inspection operations. Second, the evaluation criteria are inconsistent. Differences in the experience and subjective judgment of different auditors easily lead to omissions and errors, resulting in some non-compliant videos being archived. Third, inspection videos are susceptible to manipulation, such as editing, splicing, altering shooting times, and tampering with metadata. It is difficult for the human eye to discern whether a video has undergone post-processing, thus failing to effectively guarantee the originality and authenticity of the inspection videos.

[0004] Regarding the issue of verifying the authenticity of videos, existing technologies have published patents proposing a tampering detection scheme for elevator inspection operation videos (application number 202410286018.6). This scheme only achieves tampering identification by extracting key frame texture and color features and comparing them with the original video. It only solves the problem of verifying the authenticity of videos, but cannot make a compliance judgment on whether the video content, test procedures, and operation sequence meet the inspection specifications. Summary of the Invention

[0005] The purpose of this invention is to address the aforementioned problems in the existing technology by proposing a method for reviewing and determining the compliance of elevator inspection videos. The technical problem it aims to solve is: how to improve the accuracy of video compliance review.

[0006] The objective of this invention can be achieved through the following technical solution: A method for reviewing and determining the compliance of elevator inspection videos, comprising the following steps:

[0007] S1. Video Acquisition and Preprocessing: Acquire the elevator inspection video stream to be reviewed and its metadata; Perform anti-tampering verification and correlation verification on the metadata; if the verification fails, determine that the corresponding elevator inspection video stream is non-compliant and filter the elevator inspection video stream.

[0008] S2. Multi-target feature recognition and tracking: The pre-processed video stream is input into the pre-built elevator inspection and recognition model to identify the inspection element features in the video frames, and output the category, location information and detection confidence of the target object in each frame to form a detection result set.

[0009] Based on the detection result set, the identified target object is continuously tracked to obtain the motion trajectory of the target object;

[0010] S3. Action Compliance Assessment: Based on the category and motion trajectory of the target object, combined with the changes in the bounding box size, position, and corresponding time sequence information of the target object in the video frame, determine whether the test action of the target object meets the action closed-loop logic required by the preset inspection action standard, and output the action logic compliance degree.

[0011] S4. Comprehensive Scoring and Handling: Based on the inspection category and corresponding target object category selected when uploading the current elevator inspection video stream, the compliance degree of the target object's action logic is multiplied by a preset conversion coefficient to calculate the video compliance score. When the video compliance score is lower than the preset pass threshold, the elevator inspection video stream is deemed non-compliant, the video compliance score is output, and a prompt is made to re-record and upload the inspection video. When the video compliance score is greater than or equal to the preset pass threshold, the elevator inspection video stream is deemed compliant, and the elevator inspection video stream is associated and stored according to the inspection category and the equipment's unique number.

[0012] This elevator inspection video compliance review method first performs anti-tampering and correlation checks on the acquired metadata during the review of elevator inspection video streams, filtering out videos that fail the checks to ensure the authenticity and validity of the source data. Then, a pre-built elevator inspection recognition model is used to identify the inspection element features in the video frames, and the target object is continuously tracked across frames to obtain its motion trajectory. Next, for different target categories, such as buffers or traction wheels, the bounding box size changes, position changes, and corresponding time sequence information of the target object in the video frames are extracted based on the detection result set to determine whether the test actions of the target object meet the action closed-loop logic required by the preset inspection action standards, thereby outputting a quantified action logic compliance degree. Finally, based on the selected inspection category, the action logic compliance degree is converted to generate a video compliance score, and the video compliance is automatically determined or a re-recording mechanism is triggered according to a preset pass threshold. This method, by introducing metadata anti-tampering and correlation checks, effectively blocks the interference of edited and spliced ​​videos, ensuring the evidentiary value of the audio-visual records. Meanwhile, by extracting the size changes and motion trajectory features of the target object in consecutive frames, the integrity and authenticity of the test actions can be verified, and videos that are fake staged or improperly operated can be automatically identified. This achieves efficient automation and standardized management of the inspection process and accurate review of the authenticity of the test videos.

[0013] In the above-mentioned elevator inspection video compliance review and judgment method, in step S2, compared with step S1, the metadata includes at least resolution, shooting time, file creation time, and device unique identifier;

[0014] The anti-tampering verification includes: comparing whether the shooting time is consistent with the file creation time; if they are inconsistent, it is determined that the elevator inspection video stream has been tampered with and is filtered out.

[0015] By introducing metadata anti-tampering verification and comparing the logical consistency between the shooting time and the file creation time, this method effectively identifies and blocks attempts to forge the inspection process through video editing, playback recording, and other means. This method ensures that the audio and video records uploaded to the inspection system are original and tamper-proof, thereby guaranteeing the effectiveness of elevator safety inspections.

[0016] In the above-mentioned elevator inspection video compliance review and judgment method, in step S1, the correlation verification includes: obtaining the equipment information and operation time window corresponding to the current inspection task in the inspection system;

[0017] The unique device identifier in the metadata is matched with the device information corresponding to the current inspection task. If they do not match, the elevator inspection video stream is determined to be non-compliant.

[0018] The recording time in the metadata is compared with the operation time window. If the recording time does not fall within the operation time window, the elevator inspection video stream is deemed non-compliant. This two-way correlation verification step effectively prevents the use of videos from other devices to impersonate previous equipment inspection results by matching the unique identifier of the equipment with the inspection task. Furthermore, by comparing the recording time with the preset operation time window, it accurately intercepts fake videos recorded before or after the inspection task begins, ensuring the spatiotemporal authenticity of the inspection behavior and eliminating loopholes such as proxy inspections and post-inspection falsification that are difficult to detect during manual review.

[0019] In the aforementioned elevator inspection video compliance review and judgment method, in step S1, the operation of filtering non-compliant elevator inspection video streams includes: comparing the resolution in the metadata with a preset resolution threshold; if the resolution is lower than the preset resolution threshold, the elevator inspection video stream is determined to be non-compliant and is filtered out. This step performs hard filtering of the video source by setting a preset resolution threshold, eliminating low-quality videos with blurry image quality and lost details at the source. This not only avoids missed or false detections in subsequent target detection models due to missing image features, ensuring the accuracy of action logic judgment; at the same time, the high-definition video source ensures the identifiability of key details in the inspection file, effectively improving the accuracy of video compliance review.

[0020] In the above-mentioned elevator inspection video compliance review and judgment method, in step S2, the elevator inspection identification model is a deep learning model built based on the YOLO series algorithms.

[0021] The inspection elements include at least facial features, work permit features, and elevator component features; the elevator component features include at least buffers, traction sheaves, and steel wire ropes.

[0022] The detection confidence score is automatically output by the elevator inspection and recognition model based on the feature mapping relationship learned internally. Specifically, it is obtained by multiplying the probability J of the presence of inspection element features within the bounding box by the probability K of the inspection element features belonging to the target object, i.e., I = J × K, where I is the detection confidence score. The target object includes at least personnel, identification documents, buffers, traction sheaves, and steel cables. This step introduces a YOLO-based deep learning model to construct the elevator inspection and recognition model, solving the problem of insufficient feature extraction capability of traditional image processing algorithms in complex elevator shaft environments. By pre-defining the inspection element features to include at least faces, work permits, and key elevator components, it ensures that the algorithm's recognition scope fully covers the legal requirements of elevator inspection regulations, avoiding missed detections due to missing feature libraries.

[0023] In the above-mentioned elevator inspection video compliance review and judgment method, step S2, the operation of continuously tracking the identified target object includes:

[0024] Based on the detection result set, a unique tracking ID is assigned to the target object detected in the first frame and the center point of the bounding box is recorded as the initial trajectory point.

[0025] Obtain the bounding box coordinates of the target object between every two consecutive frames;

[0026] Calculate the intersection-union ratio (IOU) of the area of ​​the overlapping region of two bounding box coordinates to the area of ​​the union.

[0027] When the Intersection over Union (IOU) is greater than or equal to the first preset threshold, the targets are identified as the same target and their center points are added to the corresponding trajectory sequence. When the IOU is less than the second preset threshold, the targets are identified as different targets. When the IOU is between the second preset threshold and the first preset threshold, the color histogram features within the bounding box are extracted for similarity comparison. If the similarity is greater than the preset similarity threshold, the targets are identified as the same target and their center points are added to the corresponding trajectory sequence. Otherwise, the targets are identified as different targets.

[0028] This solution introduces a cascaded matching mechanism that combines IOU threshold grading with color feature assistance, balancing the continuity and accuracy of target tracking in the complex environment of elevator shafts. It effectively suppresses ID jumps and trajectory breaks caused by occlusion or blurring, and accurately eliminates background interference and false detection ghost images, providing a high-purity trajectory data source for subsequent physical motion-based analysis.

[0029] In the above-mentioned elevator inspection video compliance review and judgment method, step S3 further includes trajectory validity judgment:

[0030] If the number of consecutive valid tracking frames corresponding to any target object in the motion trajectory is less than the preset minimum tracking frame number, the continuous tracking of the target is determined to have failed, and the action logic compliance degree corresponding to the target is directly assigned to 0. The preset minimum tracking frame number ranges from 25 to 35 frames, with 30 frames being an option. This step effectively eliminates fragmented trajectories caused by the target's brief appearance, unstable detection, or false detection by setting a preset minimum tracking frame number as a hard threshold for trajectory validity. This prevents misjudgments of experimental actions based on incomplete data and ensures that the calculation result of its action logic compliance degree is only valuable after the target has been stably observed for a sufficient period of time, thereby significantly improving the accuracy and anti-interference capability of the judgment results.

[0031] In the aforementioned elevator inspection video compliance review and judgment method, in step S3, for target objects of the buffer category, the bounding box size change, position change, and corresponding time sequence information are specifically the height change rate in the buffer bounding box coordinates. ;

[0032] Calculate the average detection confidence of the buffer category, which is the average of the detection confidence of each category in the detection result set;

[0033] The specific closed-loop logic of the action is: determining the rate of change of height. Whether it sequentially goes through normal state, compressed state and recovery state, and whether the number of frames in the compressed state is greater than or equal to the preset number of frames;

[0034] If a complete closed-loop logic of the action is detected, the average detection confidence of the buffer is not less than the preset confidence threshold, and the rate of change is high. If the change rate exceeds a preset threshold, the action logic compliance is assigned the weighted sum of the buffer's preset high-score base and the buffer's average detection confidence. If the buffer's average detection confidence is less than a preset confidence threshold, the action logic compliance is assigned 0. If no complete action loop logic is detected and the buffer's average detection confidence is not less than a preset confidence threshold, the action logic compliance is assigned the weighted sum of the buffer's preset base and the buffer's average detection confidence. The preset frame rate ranges from 55 to 65 frames, with an optimal value of 60 frames. This step extracts the buffer height change rate. By combining the three-state timing judgment of normal state, compressed state and recovery state, it effectively filters out false actions caused by hand tremors or accidental touches, ensuring that the real compression process is identified. At the same time, it integrates the average detection confidence level for graded weighted scoring, which not only avoids the arbitrariness of single threshold judgment, but also accurately quantifies the compliance degree of the inspection action, preventing false videos from passing through.

[0035] In the above-mentioned elevator inspection video compliance review and judgment method, in step S3, for target objects of the traction sheave and wire rope categories:

[0036] The bounding box size changes, position changes, and corresponding time-series information are specifically angular velocities calculated based on feature points of the ROI region. ;

[0037] Calculate the average detection confidence level for each category of traction sheave and wire rope, which is the average of the detection confidence levels for each category in the detection result set.

[0038] The closed-loop logic of the action is as follows: determine the angular velocity. Whether it sequentially goes through a static state, a rotating state, and a static state, and whether the duration of the rotating state is not less than the preset rotation duration;

[0039] If both the traction sheave and the wire rope are tracked simultaneously, and the average detection confidence of both is not less than the preset mechanical confidence threshold, and a complete closed-loop action logic is detected, then the action logic compliance is assigned as the weighted sum of the preset base value of the traction sheave and the average detection confidence of the traction sheave; otherwise, the action logic compliance is assigned as 0.

[0040] This step addresses the false alarm problem caused by misidentification of a single target by implementing a dual-target synchronous verification mechanism for the traction sheave and wire rope. By introducing angular velocity ω calculation based on ROI feature points, it overcomes the interference of metal reflections and lighting changes within the shaft on trajectory extraction, ensuring the accuracy of rotational motion quantification. Combining the temporal logic and duration constraints of static, rotating, and stationary states, it effectively identifies the actual braking or linkage test process, avoiding misjudgments caused by brief shaking or false pre-planning, significantly improving the objectivity and reliability of judgments for high-speed rotational test actions.

[0041] In the above-mentioned method for reviewing and determining the compliance of elevator inspection videos, step S3 further includes a personnel information verification step:

[0042] For target objects categorized as faces or work permits, if no face or work permit is detected, or if it is detected but the average detection confidence of the person is less than the preset person confidence threshold, the person information verification is deemed unsuccessful, and the corresponding action logic compliance is assigned a value of 0.

[0043] If a face category or work permit category is tracked and the average detection confidence of the person is not less than the preset person confidence threshold, then the average detection confidence of the person will be used in the calculation of the action logic compliance.

[0044] This step imposes strict constraints on the recognition quality of faces or work permits by setting a preset personnel confidence threshold, ensuring the accuracy of personnel identity verification. At the same time, it effectively prevents unauthorized operations such as unauthorized absence or misuse of others' qualifications, guaranteeing the legality and traceability of the inspection process.

[0045] In the elevator inspection video compliance review and judgment method described above, in step S4, when the video compliance score corresponding to any inspection category is lower than the preset pass threshold, a manual review entry is also provided:

[0046] Upon receiving instructions that the video has passed manual review, the corresponding inspection category video will be forcibly stored in the compliant video directory;

[0047] Upon receiving an instruction that the manual review failed, delete the corresponding video, lock the process for that test category, prevent proceeding to the next step, and prompt the user to re-record and upload the test video.

[0048] This step addresses the issue of misjudgment caused by extreme and special scenarios in purely automated judgments by setting up a manual review entry point, balancing review efficiency with judgment error tolerance. At the same time, by locking the process and mandating reshoots, it ensures that all inspection videos meet compliance requirements before being stored, preventing unqualified videos from entering subsequent inspection processes and guaranteeing the integrity and closed-loop management of elevator inspection files.

[0049] Compared with existing technologies, this method for reviewing and determining the compliance of elevator inspection videos has the following advantages:

[0050] 1. This invention effectively blocks cheating behaviors such as editing and splicing, post-recording, and confusion of detection equipment by introducing metadata anti-tampering verification and correlation verification; at the same time, combined with resolution filtering and personnel identity verification, it eliminates low-quality videos and unattended operations from the source, ensuring that the video data entering the review process is authentic and valid.

[0051] 2. This invention constructs a triple verification system encompassing metadata anti-counterfeiting, multi-target recognition, and action logic verification. It eliminates fake videos created through editing and splicing by verifying the temporal consistency of metadata, filters out low-quality false detection targets by detecting confidence levels, and excludes non-compliant actions by using the closed-loop logic required by preset verification action standards. This multi-dimensional cross-verification mechanism effectively avoids the one-sidedness of single-dimensional judgment, significantly reduces the false positive rate, and improves the accuracy of review results.

[0052] 3. This invention outputs a quantitative video compliance score by weighting the compliance of action logic with the detection confidence level, replacing the traditional vague subjective evaluation by humans. At the same time, by establishing a manual review entry point and a process locking mechanism, it ensures that the vast majority of unqualified videos are automatically intercepted without human intervention, while retaining the flexibility of judgment in special scenarios. It realizes the full-process automated control of inspection videos from uploading, verification to archiving, and prevents unqualified videos from entering the inspection archive. Attached Figure Description

[0053] Figure 1 This is a schematic diagram of the control flow of the present invention. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present invention or its application or use. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0055] like Figure 1 As shown, this elevator inspection video compliance review and judgment method is applied to the automated compliance review of test videos uploaded by inspectors during elevator supervision inspections or periodic inspections. The first step is video acquisition and preprocessing:

[0056] The system retrieves the elevator inspection video stream and its metadata for review. Specifically, inspectors upload the elevator inspection video stream to the inspection system via mobile devices. During upload, inspectors specify the unique equipment number corresponding to the current inspection in the equipment list, such as the factory serial number, and select the inspection step to which the uploaded video belongs.

[0057] The list of equipment to be inspected is a pre-stored list of equipment in the system, containing basic equipment information. The inspection steps are determined according to the elevator inspection type. For periodic elevator inspections, the inspection steps include at least: personnel information verification and buffer compression test; for supervisory elevator inspections, the inspection steps include at least: personnel information verification, 125% braking test, speed governor-safety gear linkage test, and buffer compression test.

[0058] The system receives the uploaded elevator video stream and extracts technical parameters from the video file's XMP (Extensible Metadata Platform) metadata. The metadata includes at least: resolution, shooting time, file creation time, and a unique device identifier.

[0059] Perform anti-tampering verification and correlation verification on metadata. If the verification fails, the corresponding elevator inspection video stream is deemed non-compliant and the non-compliant elevator inspection video stream is filtered out.

[0060] The anti-tampering verification includes comparing the shooting time with the file creation time. If they are inconsistent, the elevator inspection video stream is determined to have been tampered with and is filtered out. This effectively identifies and blocks the act of forging the inspection process through video editing, playback recording, and other means. If the shooting time and the file creation time are consistent, the anti-tampering verification is passed, and the elevator inspection video stream proceeds to the next step.

[0061] The correlation verification includes: obtaining the equipment information and operation time window corresponding to the current inspection task in the inspection system; matching the unique equipment identifier in the metadata with the equipment information corresponding to the current inspection task; if they do not match, the elevator inspection video stream is deemed non-compliant; comparing the shooting time in the metadata with the operation time window; if the shooting time does not fall within the operation time window, the elevator inspection video stream is deemed non-compliant. If the unique equipment identifier in the metadata matches the equipment information corresponding to the current inspection task and the shooting time falls within the operation time window, the correlation verification passes, and the elevator inspection video stream proceeds to the next step. This correlation verification effectively prevents the illegal act of using videos from other equipment to impersonate previous equipment inspection results.

[0062] The process of filtering non-compliant elevator inspection video streams also includes comparing the resolution in the metadata with a preset resolution threshold. If the resolution is lower than the preset threshold, such as 720p, the elevator inspection video stream is determined to be non-compliant and filtered out; otherwise, it is compliant and proceeds to the next step. This eliminates low-quality videos with blurry images and lost details at the source.

[0063] The next step is multi-target feature recognition and tracking: the pre-processed video stream is input into a pre-built elevator inspection and recognition model. This model is based on the YOLO series algorithms and utilizes samples from elevator inspection sites, including faces, work permits, buffers, traction sheaves, and steel cables, trained through transfer learning to create a customized model. This model loads a specially generated weight profile, enabling it to extract deep features of elevator components and personnel, outputting the category, bounding box coordinates, and detection confidence score of the target object in each frame. This provides high-precision input data for subsequent motion trajectory analysis and compliance assessment. The elevator inspection and recognition model is constructed using conventional methods, which will not be discussed in detail here.

[0064] The elevator inspection and recognition model identifies inspection elements in video frames, including at least facial features, work permit features, and elevator component features. It outputs the category, location information, and detection confidence level I of the target object in each frame, forming a detection result set. The elevator component features include at least the buffer, traction sheave, and wire rope. The detection confidence level I... The elevator inspection and identification model automatically outputs the results based on the feature mapping relationships it has learned internally.

[0065] It is used to measure the model's confidence in the current detection results, and its calculation method is as follows:

[0066]

[0067] In the formula, This indicates the probability that a feature exists within the bounding box. This indicates the probability that a test feature belongs to the target object. Target objects include, for example, buffers and traction wheels.

[0068] Based on the detection result set, the identified target objects are continuously tracked to obtain their motion trajectories. The operations include:

[0069] Based on the detection result set, a unique tracking ID is assigned to the target object detected in the first frame, and the center point of the bounding box is recorded as the initial trajectory point. The bounding box coordinates of the target object in every two consecutive frames are obtained. The intersection-to-union ratio (IOU) of the area of ​​the overlapping region of the two bounding box coordinates to the area of ​​the union is calculated. The IOU = overlapping area ÷ union area. The target is matched by the IOU value. When the IOU is greater than or equal to the first preset threshold, it is determined to be the same target and its center point is added to the corresponding trajectory sequence. When the IOU is less than the second preset threshold, it is determined to be different targets. When the IOU is between the second preset threshold and the first preset threshold, the color histogram feature value method is used for further judgment.

[0070] Color histogram feature value determination: The target bounding box coordinates of the current frame are found from the detection result set. The current frame is cropped according to the bounding box coordinates to obtain a cropped image. The cropped image is converted to HSV color space (H=color, S=saturation, V=luminance) mode, and the color histograms of the H and S channels are calculated to obtain a set of 32-bit normalized feature values. The similarity of the feature values ​​of the cropped images in two frames is calculated using the Euclidean distance algorithm to match the target. When the similarity of the feature values ​​extracted by the color histogram method is greater than a preset similarity threshold, they are determined to be the same target, and their center point is appended to the corresponding trajectory sequence. Conversely, when the similarity of the feature values ​​is less than or equal to the preset similarity threshold, they are determined to be different targets. The first preset threshold can be 0.5; the second preset threshold can be 0.2; and the preset similarity threshold can be 0.85.

[0071] The next step is to assess the compliance of the action: First, the validity of the trajectory is determined: if the number of consecutive valid tracking frames corresponding to any target object in the motion trajectory is less than the preset minimum tracking frame number, such as 30 frames, then the continuous tracking of the target is deemed to have failed, and the action logic compliance score corresponding to that target is directly assigned to 0. Otherwise, the continuous tracking of the target is deemed to have succeeded. Based on the category and motion trajectory of the target object, combined with the changes in the bounding box size, position, and corresponding time sequence information of the target object in the video frames, it is determined whether the test action of the target object meets the action closed-loop logic required by the preset verification action standard, and the action logic compliance score is output; specifically:

[0072] For target objects of the buffer category, the bounding box size changes, position changes, and corresponding time series information are specifically the height change rate in the buffer bounding box coordinates. ,

[0073] In the formula, Indicates the height in the bounding box coordinates in the next frame; This means taking the average height of the object's bounding box coordinates from the first 3 seconds of the video as the reference height for the normal state;

[0074] The elevator inspection and identification model identifies whether the dynamic deformation trajectory of the buffer in the detection result set matches the deformation trajectory of the buffer before and after compression. Specifically, it compares the changes between the normal state before compression, the state during compression, and the state after compression and recovery in the deformation trajectory to determine if they constitute a closed-loop temporal sequence characteristic of the normal state, compressed state, and recovered state. Wherein, when When the change rate is less than or equal to a preset threshold, such as 5%, it is considered to be in a normal state or a return to normal. When the rate of change exceeds a preset threshold, it is considered to enter compression mode. Once in compression mode, it is calculated whether this compression mode persists for a preset number of frames; for example, 60 frames or more is considered effective compression. Therefore, when the calculated... , in line with Less than or equal to a preset rate of change threshold, then to If the rate of change exceeds the preset threshold and continues for a preset number of frames or more, then... The transitions of states that are less than or equal to a preset rate of change threshold are considered to conform to the correct closed-loop timing logic, that is, the complete action closed-loop logic.

[0075] Next, the action logic compliance is calculated: the average detection confidence of the buffer corresponding to the buffer category is calculated, which is the average of the detection confidence of each category in the detection result set;

[0076] If no buffer category is tracked, or if a buffer category is tracked but its average model detection confidence is less than the preset confidence threshold, such as 0.3, the action logic compliance value will be set to 0.

[0077] Tracked to the buffer, but its height change rate was analyzed through multi-target tracking and straight-line trajectory analysis. If the value is less than the preset rate of change threshold, the action logic compliance value is assigned as the buffer preset base + average model detection confidence × 2, and the preset base can be 3.

[0078] Tracking the buffer, the rate of height change is analyzed through a straight-line trajectory. If the rate of change is greater than the preset threshold, but the model does not match the complete compression and recovery process, the action logic compliance is assigned the value of the buffer preset base + average model detection confidence × 2, and the preset base is 6; the preset base corresponds to different values ​​for different situations and can be stored in the system in advance.

[0079] If a complete closed-loop logic of the action is detected, the average detection confidence of the buffer is not less than the preset confidence threshold, and the high rate of change... If the change rate exceeds the preset threshold, the action logic compliance value will be assigned as the weighted sum of the buffer's preset high score base and the buffer's average detection confidence. The preset high score base can be set to 8.

[0080] For target objects such as traction sheaves and wire ropes in 125% braking tests and speed limiter-safety clamp linkage tests: the bounding box size changes, position changes, and corresponding time series information are specifically the angular velocities calculated based on feature points of the ROI region. Specifically, based on the detection results set, the bounding box coordinates of the traction sheave category are extended outward by 15% to form the ROI coordinate region. Within the ROI coordinate region, the ORB feature extraction algorithm is used to extract feature points with the highest contrast values, such as bolts and stains, from the periphery of the traction sheave or on the wire rope. A sparse optical flow analysis algorithm is then used to track these high-contrast feature points across consecutive frames, and the displacement changes of the feature points are calculated. The angular velocity is calculated based on the arc length of the feature point movement within the ROI region. , In the formula, This indicates that the feature point is located at pixel coordinate P1 ( , Move to P2 ( , The linear displacement of ) ; This indicates that the pixel distance from the feature point to the rotation center point is calculated using Euclidean distance. It indicates the time elapsed between two consecutive frames of an image.

[0081] in, A value of 0 indicates that the traction sheave is stationary. A positive number indicates that the traction sheave is rotating. The traction sheave angular velocity is measured during standard 125% braking tests and speed limiter-safety brake linkage tests. It follows a complete process from 0 (stationary) to a positive value (rotation) and then back to 0 (stationary). Let the closed-loop logic of the traction sheave's motion be: determine the angular velocity. Whether it sequentially goes through a stationary state, a rotating state, and a stationary state, and the duration of the rotating state is not less than the preset rotation duration, such as 3 seconds.

[0082] Next, calculate the compliance of the traction sheave's motion logic:

[0083] Calculate the average detection confidence level for each category of traction sheave and wire rope, which is the average of the detection confidence levels for each category in the detection result set.

[0084] For multi-target tracking analysis of the detection result set, if the traction sheave and wire rope categories are not tracked simultaneously, the action logic compliance value is assigned to 0.

[0085] Both the traction sheave and the wire rope category were tracked simultaneously, but the average model detection confidence of one of them was less than the preset mechanical confidence threshold, such as 0.3, so the action logic compliance was assigned a value of 0.

[0086] If both the traction sheave and the wire rope are tracked simultaneously, and the average detection confidence of both is not less than the preset mechanical confidence threshold, and a complete action closed-loop logic is detected, then the action logic compliance is assigned as the weighted sum of the preset base number of the traction sheave and the average detection confidence of the traction sheave. If there is a complete compliance, then the action logic compliance = 9 + average model detection confidence of the traction sheave and the wire rope × 2.

[0087] If only some parts are followed, then the motion logic compliance rate = 5 + average model detection confidence rate of traction sheave and wire rope × 2.

[0088] This method also includes a personnel information verification step:

[0089] For target objects categorized as faces or work permits, if no face or work permit is detected, or if the average detection confidence of the person is less than the preset person confidence threshold (e.g., 0.3), the person information verification is deemed unsuccessful, and the corresponding action logic compliance is assigned a value of 0.

[0090] If a face category or work permit category is tracked and the average detection confidence of the person is not less than the preset person confidence threshold, then the average detection confidence of the person is used in the calculation of the action logic compliance. For example, the action logic compliance is assigned as the average model confidence × 10.

[0091] Finally, the comprehensive scoring and handling steps begin: Based on the inspection category and corresponding target object category selected when the elevator inspection video stream was uploaded, the action logic compliance of the target object is multiplied by a preset conversion factor, such as 10, to calculate the video compliance score. When the video compliance score is lower than the preset pass threshold, such as 70, the elevator inspection video stream is deemed non-compliant, the video compliance score is output, and a prompt is made to re-record and upload the inspection video. When the video compliance score is greater than or equal to the preset pass threshold, the elevator inspection video stream is deemed compliant, and the elevator inspection video stream is associated and stored according to the inspection category and the unique equipment number. Specifically, the video compliance score F = action logic compliance × 10. F represents different objects in different judgment processes. For example, in the buffer compression test, F refers to the video compliance score of the buffer test; in the 125% braking test, F refers to the compliance score of the 125% braking test video.

[0092] When the video compliance score is greater than or equal to the preset compliance threshold, the video is judged to be compliant. If the F score is between 90 and 100, the video is judged to be fully compliant, with high target detection confidence and complete matching of business logic. If the F score is between 70 and 90, the video is judged to be basically compliant, with high target detection confidence and basic matching of business logic.

[0093] If the video compliance score is lower than the preset pass threshold, the video is deemed non-compliant. For example, if the F score is between 50 and 70, the video is suspected of being non-compliant and requires manual review and confirmation. If the video compliance score is lower than the preset pass threshold, such as 70, the video is deemed non-compliant. If the F score is between 0 and 50, the video is deemed non-compliant because no target was detected or the video does not match the business logic at all.

[0094] When the video compliance score for any inspection category falls below the preset passing threshold, a manual review entry point is also provided:

[0095] Upon receiving instructions that the video has passed manual review, the corresponding inspection category video will be forcibly stored in the compliant video directory;

[0096] Upon receiving an instruction that the manual review failed, delete the corresponding video, lock the process for that test category, prevent proceeding to the next step, and prompt the user to re-record and upload the test video.

[0097] The application of this method not only significantly reduces the labor costs of inspection agencies, but more importantly, it ensures the objectivity and impartiality of inspection results through standardized algorithm judgment, providing real, credible, and traceable audio-visual evidence for elevator safety supervision, and significantly improving the technical level of intelligent management of elevator inspection.

[0098] The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which this invention pertains may make various modifications or additions to the described specific embodiments or use similar methods to substitute them, without departing from the spirit of the invention or exceeding the scope defined by the appended claims.

Claims

1. A method for reviewing and determining the compliance of elevator inspection videos, characterized in that, Includes the following steps: S1. Video Acquisition and Preprocessing: Acquire the elevator inspection video stream to be reviewed and its metadata; Perform anti-tampering verification and correlation verification on the metadata; if the verification fails, determine that the corresponding elevator inspection video stream is non-compliant and filter the elevator inspection video stream. S2. Multi-target feature recognition and tracking: The pre-processed video stream is input into the pre-built elevator inspection and recognition model to identify the inspection element features in the video frames, and output the category, location information and detection confidence of the target object in each frame to form a detection result set. Based on the detection result set, the identified target object is continuously tracked to obtain the motion trajectory of the target object; S3. Action Compliance Assessment: Based on the category and motion trajectory of the target object, combined with the changes in the bounding box size, position, and corresponding time sequence information of the target object in the video frame, determine whether the test action of the target object meets the action closed-loop logic required by the preset inspection action standard, and output the action logic compliance degree. S4. Comprehensive Scoring and Handling: Based on the inspection category and corresponding target object category selected when the elevator inspection video stream was uploaded, the compliance degree of the target object's action logic is multiplied by a preset conversion coefficient to calculate the video compliance score. When the video compliance score is lower than the preset pass threshold, the elevator inspection video stream is deemed non-compliant, the video compliance score is output, and the user is prompted to re-record and upload the inspection video. When the video compliance score is greater than or equal to the preset pass threshold, the elevator inspection video stream is deemed compliant, and the elevator inspection video stream is associated and stored according to the inspection category and the unique equipment number.

2. The elevator inspection video compliance review and judgment method according to claim 1, characterized in that, In step S1, the metadata includes at least resolution, shooting time, file creation time, and device unique identifier; The anti-tampering verification includes: comparing whether the shooting time is consistent with the file creation time; if they are inconsistent, it is determined that the elevator inspection video stream has been tampered with and is filtered out. The operation of filtering non-compliant elevator inspection video streams also includes: comparing the resolution in the metadata with a preset resolution threshold; if the resolution is lower than the preset resolution threshold, the elevator inspection video stream is determined to be non-compliant and is filtered out.

3. The elevator inspection video compliance review and judgment method according to claim 1, characterized in that, In step S1, the correlation verification includes: obtaining the equipment information and operation time window corresponding to the current inspection task in the inspection system; The device unique identifier in the metadata is matched with the device information corresponding to the current inspection task. If they do not match, the elevator inspection video stream is determined to be non-compliant. The shooting time in the metadata is compared with the operation time window. If the shooting time does not fall within the operation time window, the elevator inspection video stream is determined to be non-compliant.

4. The elevator inspection video compliance review and judgment method according to claim 1, 2, or 3, characterized in that, In step S2, the elevator inspection and identification model is a deep learning model built based on the YOLO series of algorithms; The inspection elements include at least facial features, work permit features, and elevator component features; the elevator component features include at least buffers, traction sheaves, and steel wire ropes. The detection confidence is automatically output by the elevator inspection and recognition model based on the feature mapping relationship learned internally. Specifically, it is obtained by multiplying the probability J of the presence of inspection feature within the bounding box by the probability K of the inspection feature belonging to the target object, i.e., I = J × K, where I is the detection confidence.

5. The elevator inspection video compliance review and judgment method according to claim 1, 2, or 3, characterized in that, In step S2, the operation of continuously tracking the identified target object includes: Based on the detection result set, a unique tracking ID is assigned to the target object detected in the first frame and the center point of the bounding box is recorded as the initial trajectory point. Obtain the bounding box coordinates of the target object between every two consecutive frames; Calculate the intersection-union ratio (IOU) of the area of ​​the overlapping region of two bounding box coordinates to the area of ​​the union. When the Intersection over Union (IOU) is greater than or equal to the first preset threshold, the targets are identified as the same target and their center points are added to the corresponding trajectory sequence. When the IOU is less than the second preset threshold, the targets are identified as different targets. When the IOU is between the second preset threshold and the first preset threshold, the color histogram features within the bounding box are extracted for similarity comparison. If the similarity is greater than the preset similarity threshold, the targets are identified as the same target and their center points are added to the corresponding trajectory sequence. Otherwise, the targets are identified as different targets.

6. The method for reviewing and determining the compliance of elevator inspection videos according to claim 1, 2, or 3, characterized in that, Step S3 also includes determining the validity of the trajectory: If the number of consecutive valid tracking frames corresponding to any target object in the motion trajectory is less than the preset minimum number of tracking frames, then the target continuity tracking is determined to have failed, and the action logic compliance degree corresponding to the target is directly assigned to 0.

7. The elevator inspection video compliance review and judgment method according to claim 1, 2, or 3, characterized in that, In step S3, for the target object of the buffer category, the bounding box size change, position change, and corresponding time series information are specifically the height change rate in the buffer bounding box coordinates. ; Calculate the average detection confidence of the buffer category, which is the average of the detection confidence of each category in the detection result set; The specific closed-loop logic of the action is: determining the rate of change of height. Whether it sequentially goes through normal state, compressed state and recovery state, and whether the number of frames in the compressed state is greater than or equal to the preset number of frames; If a complete closed-loop logic of the action is detected, the average detection confidence of the buffer is not less than the preset confidence threshold, and the rate of change is high. If the change rate exceeds the preset threshold, the action logic compliance will be assigned as a weighted sum of the buffer's preset high score base and the buffer's average detection confidence. If the average detection confidence of the buffer is less than the preset confidence threshold, the action logic compliance value is set to 0; if no complete action closed-loop logic is detected and the average detection confidence of the buffer is not less than the preset confidence threshold, the action logic compliance value is set to the weighted sum of the buffer preset base and the average detection confidence of the buffer.

8. The method for reviewing and determining the compliance of elevator inspection videos according to claim 1, 2, or 3, characterized in that, In step S3, for target objects of the traction sheave and wire rope type: The bounding box size changes, position changes, and corresponding time-series information are specifically angular velocities calculated based on feature points of the ROI region. ; Calculate the average detection confidence level for each category of traction sheave and wire rope, which is the average of the detection confidence levels for each category in the detection result set. The closed-loop logic of the action is as follows: determine the angular velocity. Whether it sequentially goes through a static state, a rotating state, and a static state, and whether the duration of the rotating state is not less than the preset rotation duration; If both the traction sheave and the wire rope are tracked simultaneously, and the average detection confidence of both is not less than the preset mechanical confidence threshold, and a complete closed-loop action logic is detected, then the action logic compliance is assigned as the weighted sum of the preset base value of the traction sheave and the average detection confidence of the traction sheave; otherwise, the action logic compliance is assigned as 0.

9. The method for reviewing and determining the compliance of elevator inspection videos according to claim 1, characterized in that, Step S3 also includes a personnel information verification step: For target objects categorized as faces or work permits, if no face or work permit is detected, or if it is detected but the average detection confidence of the person is less than the preset person confidence threshold, the person information verification is deemed unsuccessful, and the corresponding action logic compliance is assigned a value of 0. If a face category or work permit category is tracked and the average detection confidence of the person is not less than the preset person confidence threshold, then the average detection confidence of the person will be used in the calculation of the action logic compliance.

10. The method for reviewing and determining the compliance of elevator inspection videos according to claim 1, characterized in that, In step S4, when the video compliance score for any inspection category is lower than a preset pass threshold, a manual review entry point is also provided: Upon receiving instructions that the video has passed manual review, the corresponding inspection category video will be forcibly stored in the compliant video directory; Upon receiving an instruction that the manual review failed, delete the corresponding video, lock the process for that test category, prevent proceeding to the next step, and prompt the user to re-record and upload the test video.

Citation Information

Patent Citations

  • Tamper detection method for elevator inspection and detection operation video

    CN118279789A