A video intelligent analysis method based on location information

By obtaining the camera deflection parameters of the equipment and optimizing the inspection sequence, the problems of resource waste and low monitoring accuracy in the existing technology are solved, efficient and accurate monitoring of multiple equipment is achieved, and the quality of the monitoring analysis results is improved.

CN116193239BActive Publication Date: 2024-10-18SHENZHEN TAIHAO INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310198379.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2024-10-18
Estimated Expiration
2043-03-03

AI Technical Summary

Technical Problem

Existing video surveillance analysis technology wastes resources seriously when monitoring multiple instruments and equipment, and cannot adjust the camera angle according to different monitoring parts of the equipment, resulting in reduced accuracy of monitoring analysis.

Method used

By obtaining the camera deflection parameters of each fixed device and mobile device, the camera inspection sequence and monitoring method are optimized to achieve high-precision monitoring of multiple devices with a single camera, and targeted analysis is performed based on the three-dimensional coordinate system and the arm rotation angle.

Benefits of technology

It achieves efficient and accurate monitoring of multiple fixed equipment and mobile equipment, saves resources, reduces the amount of data transmission, and improves the accuracy of monitoring and analysis results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116193239B_ABST
    Figure CN116193239B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of video intelligent analysis, and specifically discloses a video intelligent analysis method based on location information. The present invention obtains camera deflection parameters corresponding to each fixed device and the order in which a first camera inspects each fixed device, inputs them into an execution end of the first camera, obtains images of each fixed device in each round of inspection by the first camera within a monitoring time period, and analyzes whether each fixed device has a working abnormality; obtains a camera deflection parameter set corresponding to a mobile device, inputs it into an execution end of a second camera, obtains images of each mobile device at each sampling time point within a tracking period, analyzes whether each mobile device has a fault, and realizes one-to-many monitoring of multiple fixed devices by a single camera and multiple mobile devices by a single camera, thereby realizing high-precision and high-efficiency inspection of a specific area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video intelligent analysis, and in particular to a video intelligent analysis method based on location information. Background Art

[0002] In production plants, video surveillance and analysis technology is widely used, such as obtaining video information of instruments and equipment through cameras and then monitoring the instruments and equipment. However, the existing video surveillance and analysis technology still has some shortcomings: 1. The existing video surveillance and analysis technology uses a single camera to perform one-to-one monitoring of a single instrument and equipment, and multiple cameras are used to monitor multiple instruments and equipment, which causes a waste of resources and increases the data transmission volume at the video information receiving end, which puts higher requirements on the memory and running memory of the video information receiving end.

[0003] 2. When the existing video surveillance and analysis technology monitors instruments and equipment, it obtains the full image of the instrument and equipment. Different instruments and equipment need to monitor different parts. The existing technology does not adjust the camera deflection angle according to the location of the key monitoring parts of the instrument and equipment, and thus cannot obtain close-up images of the key monitoring parts of the instrument and equipment, and cannot perform targeted analysis on the instrument and equipment, thereby reducing the accuracy of the monitoring and analysis results of the instrument and equipment. Summary of the invention

[0004] In response to the above problems, the present invention proposes a video intelligent analysis method based on location information. The specific technical solution is as follows: A video intelligent analysis method based on location information, comprising the following steps: Step 1, acquiring key parts of fixed equipment: acquiring the parts that need to be monitored in each fixed equipment in the set area of ​​the target factory workshop, and recording them as the key parts of each fixed equipment.

[0005] Step 2. Obtain the camera deflection parameters corresponding to the fixed equipment: obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed equipment, and then obtain the camera deflection parameters corresponding to each fixed equipment, where the camera deflection parameters include the first arm rotation angle and the second arm rotation angle.

[0006] Step 3: Obtaining the inspection order of fixed equipment: According to the camera deflection parameters corresponding to each fixed equipment, obtain the order in which the first camera inspects each fixed equipment.

[0007] Step 4: Input parameters of the execution end of the first camera: input the camera deflection parameters corresponding to each fixed device and the order in which the first camera inspects each fixed device into the execution end of the first camera.

[0008] Step 5: Monitoring and analysis of fixed equipment: Obtain images of each fixed equipment in each round of inspection by the first camera during the monitoring period, analyze whether there is any abnormality in the operation of each fixed equipment, and issue an early warning if there is any abnormality.

[0009] Step 6. Obtain the camera deflection parameters corresponding to the mobile device: obtain the three-dimensional coordinates of the center point of the lens in the second coordinate system when the second camera monitors the mobile device on the assembly line in the set area of ​​the target factory workshop at each sampling time point within the tracking period, and then obtain the camera deflection parameter set corresponding to the mobile device, where the camera deflection parameters include the first arm rotation angle and the second arm rotation angle.

[0010] Step 7: Inputting parameters of the second camera execution end: inputting the camera deflection parameter set corresponding to the mobile device into the execution end of the second camera.

[0011] Step 8. Mobile device monitoring and analysis: Use the second camera to track and monitor each mobile device on the assembly line in the set area of ​​the target factory workshop in turn, obtain images of each mobile device at each sampling time point during the tracking period, analyze whether each mobile device has a fault, and perform corresponding processing.

[0012] On the basis of the above embodiment, the specific analysis process of step one is: obtain images of each fixed device in a set area of ​​the target factory workshop through the first camera, extract standard images of each type of fixed equipment from the database, compare the images of each fixed device with the standard images of each type of fixed equipment, obtain the similarity between the images of each fixed device and the standard images of each type of fixed equipment, take the type of fixed equipment corresponding to the maximum similarity as the type of the fixed equipment, and obtain the type of each fixed equipment by statistics.

[0013] The parts that need to be monitored in each type of fixed equipment stored in the database are extracted, and the parts that need to be monitored in each fixed equipment are screened according to the type of each fixed equipment, and recorded as the key parts of each fixed equipment.

[0014] Based on the above embodiment, the specific analysis process of step two is: construct a three-dimensional coordinate system in the area where the first camera is located according to the set coordinate system construction method, record it as the first coordinate system, set the initial position of the first camera, obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera is in the initial position, and record it as the initial coordinates of the first camera.

[0015] Debug the first camera, obtain the position of the center point of the first camera lens when the first camera monitors the center point of the key area of ​​each fixed device, and then obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed device, and record them as the camera monitoring coordinates corresponding to each fixed device.

[0016] According to a preset principle, the positive direction of rotation of the first arm and the positive direction of rotation of the second arm in the first camera are set; based on the initial coordinates of the first camera and the camera monitoring coordinates corresponding to each fixed device, the angle of rotation of the first arm in the positive direction and the angle of rotation of the second arm in the positive direction in the first camera when the initial coordinates of the first camera are moved to the camera monitoring coordinates corresponding to each fixed device are obtained, and they are recorded as the first arm rotation angle and the second arm rotation angle corresponding to each fixed device, respectively.

[0017] Based on the above embodiment, the order of the first camera inspecting each fixed device in step 3 is obtained by substituting the first arm rotation angle and the second arm rotation angle corresponding to each fixed device into the formula Get the inspection priority coefficient β of each fixed equipment i , i represents the number of the i-th fixed device, i=1,2,...,n, where χ represents the inspection priority coefficient correction factor of the preset fixed device, e represents the natural constant, Δθ represents the preset threshold value of the rotation angle of the first camera arm, represents the rotation angle of the first arm corresponding to the i-th fixed device, represents the rotation angle of the second arm corresponding to the i-th fixed device, i=1,2,...,n,δ 1 , δ 2 Respectively represent the weight factors of the first arm rotation angle and the second arm rotation angle corresponding to the preset fixing device.

[0018] Sort the fixed devices in descending order according to the inspection priority coefficient, and then obtain the order in which the first camera inspects the fixed devices.

[0019] Based on the above embodiment, the specific analysis process of step five is: inspect each fixed device through the first camera, set the duration of the monitoring time period, and obtain the image of each fixed device in each round of inspection by the first camera within the monitoring time period.

[0020] Various fault images corresponding to various types of fixed equipment stored in the database are extracted, and various fault images corresponding to various fixed equipment are screened according to the types of various fixed equipment.

[0021] The image of each fixed device in each round of inspection by the first camera within the monitoring time period is compared with its corresponding various fault images. If the image of a fixed device in a round of inspection by the first camera within the monitoring time period is the same as its corresponding certain fault image, it indicates that the fixed device is working abnormally, and the fixed device is recorded as an abnormal fixed device. The number of each abnormal fixed device is counted, and the number of each abnormal fixed device is sent to the monitoring background of the target factory workshop, and an early warning is issued. If the image of a fixed device in a round of inspection by the first camera within the monitoring time period is different from its corresponding various fault images, it indicates that the fixed device is working normally, and the fixed device is recorded as a marked fixed device. The image of each marked fixed device in each round of inspection by the first camera within the monitoring time period is obtained, and the display information corresponding to each marked fixed device image in each round of inspection by the first camera within the monitoring time period is extracted by using image processing technology, and a display information set of each marked fixed device is constructed and recorded as i′ represents the number of the i′th marking fixture, i′=1′,2′,...,n′, Indicates the display information corresponding to the i′th marked fixed device image in the bth round of inspection by the first camera within the monitoring period. It represents the display information corresponding to the image of the i′th marked fixed device in the cth round of inspection by the first camera within the monitoring time period. c represents the total number of inspection rounds by the first camera within the monitoring time period. The display information set of each marked fixed device is sent to the monitoring background of the target factory workshop.

[0022] Based on the above embodiment, the specific analysis process of step six includes: constructing a three-dimensional coordinate system in the area where the second camera is located according to the set coordinate system construction method, recording it as the second coordinate system, setting the initial position of the second camera, and obtaining the three-dimensional coordinates of the center point of the second camera lens in the second coordinate system when the second camera is in the initial position, and recording it as the initial coordinates of the second camera.

[0023] Set the duration of the tracking cycle, set each sampling time point within the tracking cycle according to the principle of equal time intervals, obtain the position of the mobile device on the assembly line in the set area of ​​the monitoring target factory workshop at each sampling time point within the tracking cycle, record it as the detection point position of each mobile device, debug the second camera, obtain the position of the center point of the second camera lens when the second camera monitors the detection point position of each mobile device, and then obtain the three-dimensional coordinates of the center point of the second camera lens in the second coordinate system when the second camera monitors the detection point position of each mobile device, and record it as the camera monitoring coordinates corresponding to the detection point position of each mobile device.

[0024] On the basis of the above embodiment, the specific analysis process of step six also includes: setting the positive direction of rotation of the first arm and the positive direction of rotation of the second arm in the second camera according to a preset principle, and obtaining the angle of rotation of the first arm in the second camera in the positive direction and the angle of rotation of the second arm in the positive direction when the initial coordinates of the second camera are moved to the camera monitoring coordinates corresponding to the detection point positions of each mobile device according to the initial coordinates of the second camera and the camera monitoring coordinates corresponding to the detection point positions of each mobile device, and recording them as the first arm rotation angle and the second arm rotation angle corresponding to the detection point positions of each mobile device; and constructing a camera deflection parameter set corresponding to the mobile device according to the first arm rotation angle and the second arm rotation angle corresponding to the detection point positions of each mobile device, and recording them as j represents the number of the jth mobile device detection point, j = 1, 2, ..., m, where represents the rotation angle of the first arm corresponding to the jth mobile device detection point position, represents the rotation angle of the second arm corresponding to the jth mobile device detection point position, Indicates the rotation angle of the first arm corresponding to the position of the mth mobile device detection point, represents the rotation angle of the second arm corresponding to the position of the mth mobile device detection point, and m represents the total number of mobile device detection points.

[0025] Based on the above embodiment, the specific process of step eight is: numbering each mobile device as 1, 2, ..., u, ..., v in the order in which the mobile devices are placed on the assembly line in the set area of ​​the target factory workshop.

[0026] Through the second camera, each mobile device on the assembly line in the set area of ​​the target factory workshop is tracked and monitored in turn, and the image of each mobile device at each sampling time point in the tracking period is obtained, and the standard image of the mobile device moving on the assembly line stored in the database is extracted and recorded as the mobile device reference image. The image of each mobile device at each sampling time point in the tracking period is compared with the mobile device reference image to obtain the similarity between the image of each mobile device at each sampling time point in the tracking period and the mobile device reference image. The similarity between the image of each mobile device at each sampling time point in the tracking period and the mobile device reference image is compared with a preset similarity threshold. If the similarity between the image of a mobile device at a sampling time point in the tracking period and the mobile device reference image is less than the preset similarity threshold, the mobile device is faulty and is recorded as a faulty mobile device. The faulty mobile devices are screened out and the numbers of the faulty mobile devices are sent to the monitoring background of the target factory workshop.

[0027] Compared with the prior art, the video intelligent analysis method based on location information described in the present invention has the following beneficial effects: 1. The video intelligent analysis method based on location information provided by the present invention obtains the camera deflection parameters corresponding to each fixed device and the order of the first camera inspecting each fixed device, and inputs them into the execution end of the first camera, obtains the image of each fixed device in each round of inspection by the first camera within the monitoring time period, and analyzes whether each fixed device has any working abnormality; obtains the camera deflection parameter set corresponding to the mobile device, and inputs it into the execution end of the second camera, obtains the image of each mobile device at each sampling time point within the tracking period, analyzes whether each mobile device has a fault, and realizes one-to-many monitoring of multiple fixed devices by a single camera and multiple mobile devices by a single camera, thereby realizing high-precision and high-efficiency inspection of specific areas.

[0028] 2. The present invention obtains the three-dimensional coordinates of the center point of the lens of the first camera in the first coordinate system when the first camera monitors the key parts of each fixed device, obtains the camera deflection parameters corresponding to each fixed device, and then patrols multiple fixed devices through the first camera; obtains the three-dimensional coordinates of the center point of the lens in the second coordinate system when the second camera monitors the mobile devices on the assembly line in the set area of ​​the target factory workshop at each sampling time point within the tracking period, obtains the camera deflection parameter set corresponding to the mobile device, and then tracks the multiple mobile devices through the second camera. In combination with the characteristics of fixed instruments and mobile instruments, one-to-many patrol monitoring and one-to-many tracking monitoring are performed on each fixed device and each mobile device, respectively, which greatly saves resources, reduces the data transmission volume of the video information receiving end, and is more inclusive of the video information receiving end.

[0029] 3. The present invention obtains the key parts of each fixed device, further obtains the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed device, obtains the camera deflection parameters corresponding to each fixed device and the order of the first camera inspecting each fixed device, and inputs them into the execution end of the first camera, obtains the image of each fixed device in each round of inspection by the first camera within the monitoring time period, analyzes whether there is any abnormal working condition in each fixed device, can identify different types of equipment and key parts of different types of equipment, and then obtains images of key parts of different types of equipment, realizes targeted analysis of instruments and equipment, and improves the accuracy of instrument and equipment monitoring and analysis results. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0031] Figure 1 It is a schematic diagram of the method flow of the present invention.

[0032] Figure 2 It is a schematic diagram of the camera structure principle of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] See also Figure 1 As shown, the present invention provides a video intelligent analysis method based on location information, including the following steps: Step 1, acquiring key parts of fixed equipment: acquiring the parts that need to be monitored in each fixed equipment in the set area of ​​the target factory workshop, and recording them as the key parts of each fixed equipment.

[0035] As a preferred solution, the specific analysis process of step one is: obtain images of each fixed device in a set area of ​​the target factory workshop through a first camera, extract standard images of each type of fixed equipment from a database, compare the images of each fixed device with the standard images of each type of fixed equipment, obtain the similarity between the images of each fixed device and the standard images of each type of fixed equipment, take the type of fixed equipment corresponding to the maximum similarity as the type of the fixed equipment, and obtain the type of each fixed equipment by statistics.

[0036] The parts that need to be monitored in each type of fixed equipment stored in the database are extracted, and the parts that need to be monitored in each fixed equipment are screened according to the type of each fixed equipment, and recorded as the key parts of each fixed equipment.

[0037] It should be noted that the target factory workshop may be a washing machine production workshop, the fixed equipment may be a washing machine voltage detection equipment, a washing machine current detection equipment, a washing machine power detection equipment, etc., the key parts may be a washing machine voltage detection equipment display screen, a washing machine current detection equipment display screen, a washing machine power detection equipment display screen, etc., and the mobile device may be a washing machine on an assembly line in a washing machine production workshop.

[0038] Step 2. Obtain the camera deflection parameters corresponding to the fixed equipment: obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed equipment, and then obtain the camera deflection parameters corresponding to each fixed equipment, where the camera deflection parameters include the first arm rotation angle and the second arm rotation angle.

[0039] As a priority solution, the specific analysis process of step two is: construct a three-dimensional coordinate system in the area where the first camera is located according to the set coordinate system construction method, record it as the first coordinate system, set the initial position of the first camera, obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera is in the initial position, and record it as the initial coordinates of the first camera.

[0040] Debug the first camera, obtain the position of the center point of the first camera lens when the first camera monitors the center point of the key area of ​​each fixed device, and then obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed device, and record them as the camera monitoring coordinates corresponding to each fixed device.

[0041] According to a preset principle, the positive direction of rotation of the first arm and the positive direction of rotation of the second arm in the first camera are set; based on the initial coordinates of the first camera and the camera monitoring coordinates corresponding to each fixed device, the angle of rotation of the first arm in the positive direction and the angle of rotation of the second arm in the positive direction in the first camera when the initial coordinates of the first camera are moved to the camera monitoring coordinates corresponding to each fixed device are obtained, and they are recorded as the first arm rotation angle and the second arm rotation angle corresponding to each fixed device, respectively.

[0042] It should be noted that the positive rotation direction of the first arm may be clockwise or counterclockwise, and the positive rotation direction of the second arm may be clockwise or counterclockwise.

[0043] Step 3: Obtaining the inspection order of fixed equipment: According to the camera deflection parameters corresponding to each fixed equipment, obtain the order in which the first camera inspects each fixed equipment.

[0044] As a priority solution, the order of the first camera inspecting each fixed device in step 3 is obtained by substituting the first arm rotation angle and the second arm rotation angle corresponding to each fixed device into the formula Get the inspection priority coefficient β of each fixed equipment i , i represents the number of the i-th fixed device, i=1,2,...,n, where χ represents the inspection priority coefficient correction factor of the preset fixed device, e represents the natural constant, Δθ represents the preset threshold value of the rotation angle of the first camera arm, represents the rotation angle of the first arm corresponding to the i-th fixed device, represents the rotation angle of the second arm corresponding to the i-th fixed device, i=1,2,...,n,δ 1 ,δ 2 Respectively represent the weight factors of the first arm rotation angle and the second arm rotation angle corresponding to the preset fixing device.

[0045] Sort the fixed devices in descending order according to the inspection priority coefficient, and then obtain the order in which the first camera inspects the fixed devices.

[0046] Step 4: Input parameters of the execution end of the first camera: input the camera deflection parameters corresponding to each fixed device and the order in which the first camera inspects each fixed device into the execution end of the first camera.

[0047] Step 5: Monitoring and analysis of fixed equipment: Obtain images of each fixed equipment in each round of inspection by the first camera during the monitoring period, analyze whether there is any abnormality in the operation of each fixed equipment, and issue an early warning if there is any abnormality.

[0048] As a preferred solution, the specific analysis process of step five is: inspect each fixed device through the first camera, set the duration of the monitoring time period, and obtain the image of each fixed device in each round of inspection by the first camera within the monitoring time period.

[0049] Various fault images corresponding to various types of fixed equipment stored in the database are extracted, and various fault images corresponding to various fixed equipment are screened according to the types of various fixed equipment.

[0050] The image of each fixed device in each round of inspection by the first camera within the monitoring time period is compared with its corresponding various fault images. If the image of a fixed device in a round of inspection by the first camera within the monitoring time period is the same as its corresponding certain fault image, it indicates that the fixed device is working abnormally, and the fixed device is recorded as an abnormal fixed device. The number of each abnormal fixed device is counted, and the number of each abnormal fixed device is sent to the monitoring background of the target factory workshop, and an early warning is issued. If the image of a fixed device in a round of inspection by the first camera within the monitoring time period is different from its corresponding various fault images, it indicates that the fixed device is working normally, and the fixed device is recorded as a marked fixed device. The image of each marked fixed device in each round of inspection by the first camera within the monitoring time period is obtained, and the display information corresponding to each marked fixed device image in each round of inspection by the first camera within the monitoring time period is extracted by using image processing technology, and a display information set of each marked fixed device is constructed and recorded as i′ represents the number of the i′th marking fixture, i′=1′,2′,...,n′, Indicates the display information corresponding to the i′th marked fixed device image in the bth round of inspection by the first camera within the monitoring period. It represents the display information corresponding to the image of the i′th marked fixed device in the cth round of inspection by the first camera within the monitoring time period. c represents the total number of inspection rounds by the first camera within the monitoring time period. The display information set of each marked fixed device is sent to the monitoring background of the target factory workshop.

[0051] It should be noted that the fixed device is, for example, a voltage detection device for a washing machine, and the fault image corresponding to the fixed device is, for example, an image corresponding to a display screen of the voltage detection device for a washing machine when the display screen is not lit.

[0052] It should be noted that the display information of each fixed device includes the voltage displayed by the washing machine voltage detection device, the current displayed by the washing machine current detection device, and the power displayed by the washing machine power detection device.

[0053] In this embodiment, the present invention obtains the key parts of each fixed device, and further obtains the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed device, obtains the camera deflection parameters corresponding to each fixed device and the order of the first camera inspecting each fixed device, and inputs them into the execution end of the first camera, obtains the image of each fixed device in each round of inspection by the first camera within the monitoring time period, analyzes whether each fixed device has any working abnormality, can identify different types of equipment and key parts of different types of equipment, and then obtains images of key parts of different types of equipment, realizes targeted analysis of instruments and equipment, and improves the accuracy of instrument and equipment monitoring and analysis results.

[0054] Step 6. Obtain the camera deflection parameters corresponding to the mobile device: obtain the three-dimensional coordinates of the center point of the lens in the second coordinate system when the second camera monitors the mobile device on the assembly line in the set area of ​​the target factory workshop at each sampling time point within the tracking period, and then obtain the camera deflection parameter set corresponding to the mobile device, where the camera deflection parameters include the first arm rotation angle and the second arm rotation angle.

[0055] As a preferred scheme, the specific analysis process of step six includes: constructing a three-dimensional coordinate system in the area where the second camera is located according to the set coordinate system construction method, recording it as the second coordinate system, setting the initial position of the second camera, obtaining the three-dimensional coordinates of the center point of the second camera lens in the second coordinate system when the second camera is in the initial position, and recording it as the initial coordinates of the second camera.

[0056] Set the duration of the tracking cycle, set each sampling time point within the tracking cycle according to the principle of equal time intervals, obtain the position of the mobile device on the assembly line in the set area of ​​the monitoring target factory workshop at each sampling time point within the tracking cycle, record it as the detection point position of each mobile device, debug the second camera, obtain the position of the center point of the second camera lens when the second camera monitors the detection point position of each mobile device, and then obtain the three-dimensional coordinates of the center point of the second camera lens in the second coordinate system when the second camera monitors the detection point position of each mobile device, and record it as the camera monitoring coordinates corresponding to the detection point position of each mobile device.

[0057] As a preferred solution, the specific analysis process of step six also includes: setting the positive direction of rotation of the first arm and the positive direction of rotation of the second arm in the second camera according to a preset principle, and obtaining the angle of rotation of the first arm and the second arm in the second camera in the positive direction when the initial coordinates of the second camera are moved to the camera monitoring coordinates corresponding to the detection point positions of each mobile device according to the initial coordinates of the second camera and the camera monitoring coordinates corresponding to the detection point positions of each mobile device, and recording them as the first arm rotation angle and the second arm rotation angle corresponding to the detection point positions of each mobile device; and constructing a camera deflection parameter set corresponding to the mobile device according to the first arm rotation angle and the second arm rotation angle corresponding to the detection point positions of each mobile device, and recording them as j represents the number of the jth mobile device detection point, j = 1, 2, ..., m, where represents the rotation angle of the first arm corresponding to the jth mobile device detection point position, represents the rotation angle of the second arm corresponding to the jth mobile device detection point position, Indicates the rotation angle of the first arm corresponding to the position of the mth mobile device detection point, represents the rotation angle of the second arm corresponding to the position of the mth mobile device detection point, and m represents the total number of mobile device detection points.

[0058] Step 7: Inputting parameters of the second camera execution end: inputting the camera deflection parameter set corresponding to the mobile device into the execution end of the second camera.

[0059] Step 8. Mobile device monitoring and analysis: Use the second camera to track and monitor each mobile device on the assembly line in the set area of ​​the target factory workshop in turn, obtain images of each mobile device at each sampling time point during the tracking period, analyze whether each mobile device has a fault, and perform corresponding processing.

[0060] As a preferred solution, the specific process of step eight is: numbering each mobile device as 1, 2, ..., u, ..., v in the order in which the mobile devices are placed on the assembly line in the set area of ​​the target factory workshop.

[0061] Through the second camera, each mobile device on the assembly line in the set area of ​​the target factory workshop is tracked and monitored in turn, and the image of each mobile device at each sampling time point in the tracking period is obtained, and the standard image of the mobile device moving on the assembly line stored in the database is extracted and recorded as the mobile device reference image. The image of each mobile device at each sampling time point in the tracking period is compared with the mobile device reference image to obtain the similarity between the image of each mobile device at each sampling time point in the tracking period and the mobile device reference image. The similarity between the image of each mobile device at each sampling time point in the tracking period and the mobile device reference image is compared with a preset similarity threshold. If the similarity between the image of a mobile device at a sampling time point in the tracking period and the mobile device reference image is less than the preset similarity threshold, the mobile device is faulty and is recorded as a faulty mobile device. The faulty mobile devices are screened out and the numbers of the faulty mobile devices are sent to the monitoring background of the target factory workshop.

[0062] It should be noted that the second camera execution end is provided with a reset instruction. After the monitoring of a mobile device is completed, the reset instruction is executed and the second camera is restored to its initial position, that is, the first arm and the second arm in the second camera are restored to their initial positions.

[0063] In this embodiment, the present invention obtains the three-dimensional coordinates of the center point of the lens of the first camera in the first coordinate system when the first camera monitors the key parts of each fixed device, obtains the camera deflection parameters corresponding to each fixed device, and then patrols multiple fixed devices through the first camera; obtains the three-dimensional coordinates of the center point of the lens in the second coordinate system when the second camera monitors the mobile device on the assembly line in the set area of ​​the target factory workshop at each sampling time point within the tracking period, obtains the camera deflection parameter set corresponding to the mobile device, and then tracks the multiple mobile devices through the second camera. In combination with the characteristics of fixed instruments and mobile instruments, one-to-many patrol monitoring and one-to-many tracking monitoring are performed on each fixed device and each mobile device, respectively, which greatly saves resources, reduces the data transmission volume of the video information receiving end, and is more inclusive of the video information receiving end.

[0064] The above contents are merely examples and explanations of the concept of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A video intelligent analysis method based on location information, characterized in that: The steps include: Step 1: Obtaining the key parts of fixed equipment: Obtain the parts that need to be monitored in each fixed equipment in the set area of ​​the target factory workshop, and record them as the key parts of each fixed equipment; Step 2, obtaining camera deflection parameters corresponding to the fixed device: obtaining the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key parts of each fixed device, and then obtaining the camera deflection parameters corresponding to each fixed device, wherein the camera deflection parameters corresponding to each fixed device include the first arm rotation angle and the second arm rotation angle; Step 3: Obtaining the inspection order of fixed equipment: according to the camera deflection parameters corresponding to each fixed equipment, obtaining the order in which the first camera inspects each fixed equipment; Step 4: Inputting parameters of the first camera execution end: inputting the camera deflection parameters corresponding to each fixed device and the order in which the first camera inspects each fixed device into the execution end of the first camera; Step 5: Monitoring and analysis of fixed equipment: Obtain images of each fixed equipment in each round of inspection by the first camera during the monitoring period, analyze whether each fixed equipment has any abnormal working conditions, and issue an early warning if any abnormal working conditions exist; Step 6, obtaining the camera deflection parameters corresponding to the mobile device: obtaining the three-dimensional coordinates of the center point of the lens in the second coordinate system when the second camera monitors the mobile device on the assembly line in the set area of ​​the target factory workshop at each sampling time point in the tracking period, and then obtaining the camera deflection parameter set corresponding to the mobile device, wherein the camera deflection parameters corresponding to the mobile device include the third arm rotation angle and the fourth arm rotation angle; Step 7: Inputting parameters of the second camera execution end: inputting the camera deflection parameter set corresponding to the mobile device into the execution end of the second camera; Step 8: Monitoring and analysis of mobile devices: Use the second camera to sequentially track and monitor each mobile device on the assembly line in the set area of ​​the target factory workshop, obtain images of each mobile device at each sampling time point during the tracking period, analyze whether each mobile device has a fault, and perform corresponding processing; The specific analysis process of step 1 is as follows: The first camera is used to obtain images of each fixed device in a set area of ​​a target factory workshop, and standard images of each type of fixed device are extracted from a database. The images of each fixed device are compared with the standard images of each type of fixed device to obtain similarities between the images of each fixed device and the standard images of each type of fixed device. The type of fixed device corresponding to the maximum similarity is used as the type of the fixed device, and the type of each fixed device is obtained by statistics; Extract the parts that need to be monitored in each type of fixed equipment stored in the database, and screen the parts that need to be monitored in each fixed equipment according to the type of each fixed equipment, and record them as the key parts of each fixed equipment; The specific analysis process of step 2 is as follows: Construct a three-dimensional coordinate system in the area where the first camera is located according to the set coordinate system construction method, record it as the first coordinate system, set the initial position of the first camera, obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera is at the initial position, and record it as the initial coordinates of the first camera; Debug the first camera, obtain the position of the center point of the first camera lens when the first camera monitors the center point of the key part area of ​​each fixed device, and then obtain the three-dimensional coordinates of the center point of the first camera lens in the first coordinate system when the first camera monitors the key part of each fixed device, and record it as the camera monitoring coordinates corresponding to each fixed device; According to a preset principle, the positive direction of rotation of the first arm and the positive direction of rotation of the second arm in the first camera are set, and according to the initial coordinates of the first camera and the camera monitoring coordinates corresponding to each fixed device, the angle of rotation of the first arm in the first camera in the positive direction and the angle of rotation of the second arm in the positive direction when the initial coordinates of the first camera are moved to the camera monitoring coordinates corresponding to each fixed device are obtained, and the angles are recorded as the first arm rotation angle and the second arm rotation angle corresponding to each fixed device respectively; In step 3, the order of the first camera inspecting each fixed device is obtained, and the specific process is as follows: Substitute the first arm rotation angle and the second arm rotation angle corresponding to each fixed device into the formula Get the inspection priority coefficient of each fixed equipment , Indicates The number of fixed equipment, ,in It represents the inspection priority coefficient correction factor of the preset fixed equipment, e represents the natural constant, Indicates the preset threshold of the first camera arm rotation angle. Indicates The rotation angle of the first arm corresponding to the fixed device, Indicates The rotation angle of the second arm corresponding to the fixed device, , Respectively represent weight factors of the first arm rotation angle and the second arm rotation angle corresponding to the preset fixing device; Sort the fixed devices in descending order according to the inspection priority coefficient, and then obtain the order in which the first camera inspects the fixed devices; The specific analysis process of step five is as follows: Conducting inspections on each fixed device through the first camera, setting the duration of the monitoring time period, and obtaining images of each fixed device in each round of inspections by the first camera within the monitoring time period; Extract various fault images corresponding to various types of fixed equipment stored in the database, and filter and obtain various fault images corresponding to each fixed equipment according to the type of each fixed equipment; The image of each fixed device in each round of inspection by the first camera within the monitoring time period is compared with its corresponding various fault images. If the image of a fixed device in a round of inspection by the first camera within the monitoring time period is the same as its corresponding certain fault image, it indicates that the fixed device is working abnormally, and the fixed device is recorded as an abnormal fixed device. The number of each abnormal fixed device is counted, and the number of each abnormal fixed device is sent to the monitoring background of the target factory workshop, and an early warning is issued. If the image of a fixed device in a round of inspection by the first camera within the monitoring time period is different from its corresponding various fault images, it indicates that the fixed device is working normally, and the fixed device is recorded as a marked fixed device. The image of each marked fixed device in each round of inspection by the first camera within the monitoring time period is obtained, and the display information corresponding to each marked fixed device image in each round of inspection by the first camera within the monitoring time period is extracted by using image processing technology, and a display information set of each marked fixed device is constructed and recorded as , Indicates A number to mark the fixed device, , Indicates the first camera in the bth round of inspection during the monitoring period. The display information corresponding to the fixed device image is Indicates the first camera in the cth round of inspection during the monitoring period. The display information corresponding to the image of the marked fixed device, c represents the total number of rounds of inspection by the first camera during the monitoring period, and the display information set of each marked fixed device is sent to the monitoring background of the target factory workshop; The specific analysis process of step six includes: Construct a three-dimensional coordinate system in the area where the second camera is located according to the set coordinate system construction method, record it as the second coordinate system, set the initial position of the second camera, obtain the three-dimensional coordinates of the center point of the second camera lens in the second coordinate system when the second camera is at the initial position, and record it as the initial coordinates of the second camera; The duration of the tracking cycle is set, and each sampling time point is set within the tracking cycle according to the principle of equal time intervals, and the position of the mobile device on the assembly line in the set area of ​​the monitoring target factory workshop at each sampling time point within the tracking cycle is obtained, and it is recorded as the detection point position of each mobile device, and the second camera is debugged to obtain the position of the center point of the second camera lens when the second camera monitors the detection point position of each mobile device, and then the three-dimensional coordinates of the center point of the second camera lens in the second coordinate system when the second camera monitors the detection point position of each mobile device are obtained, and it is recorded as the camera monitoring coordinates corresponding to the detection point position of each mobile device; The specific analysis process of step six also includes: According to the preset principle, the positive direction of rotation of the first arm and the positive direction of rotation of the second arm in the second camera are set; according to the initial coordinates of the second camera and the camera monitoring coordinates corresponding to the detection point positions of each mobile device, the angle of rotation of the first arm in the second camera in the positive direction and the angle of rotation of the second arm in the positive direction when the initial coordinates of the second camera are moved to the camera monitoring coordinates corresponding to the detection point positions of each mobile device are obtained, and they are recorded as the third arm rotation angle and the fourth arm rotation angle corresponding to the detection point positions of each mobile device; according to the third arm rotation angle and the fourth arm rotation angle corresponding to the detection point positions of each mobile device, a camera deflection parameter set corresponding to the mobile device is constructed, and recorded as , Indicates The number of the mobile device detection point, ,in represents the rotation angle of the third arm corresponding to the j-th mobile device detection point position, represents the rotation angle of the fourth arm corresponding to the j-th mobile device detection point position, Indicates the rotation angle of the third arm corresponding to the detection point position of the mth mobile device, represents the rotation angle of the fourth arm corresponding to the position of the mth mobile device detection point, and m represents the total number of mobile device detection points.

2. The method for intelligent video analysis based on location information according to claim 1, characterized in that: The specific process of step eight is as follows: The mobile devices are numbered in the order in which they are placed on the assembly line in the set area of ​​the target factory workshop. ; Through the second camera, each mobile device on the assembly line in the set area of ​​the target factory workshop is tracked and monitored in turn, and the image of each mobile device at each sampling time point in the tracking period is obtained, and the standard image of the mobile device moving on the assembly line stored in the database is extracted and recorded as the mobile device reference image. The image of each mobile device at each sampling time point in the tracking period is compared with the mobile device reference image to obtain the similarity between the image of each mobile device at each sampling time point in the tracking period and the mobile device reference image. The similarity between the image of each mobile device at each sampling time point in the tracking period and the mobile device reference image is compared with a preset similarity threshold. If the similarity between the image of a mobile device at a sampling time point in the tracking period and the mobile device reference image is less than the preset similarity threshold, the mobile device is faulty and is recorded as a faulty mobile device. The faulty mobile devices are screened out and the numbers of the faulty mobile devices are sent to the monitoring background of the target factory workshop.

Citation Information

Patent Citations

  • Intelligent head portrait tracking system and method

    CN111131701A

  • Construction site personnel safety helmet wearing condition inspection method and system

    CN111191586A