Event detection method, electronic equipment and computer readable storage medium

By using a multi-lens monitoring system in the monitoring device, where the focal length of the first lens is greater than the second lens, the problem of loss of remote focus information in traditional monitoring methods is solved, and accurate monitoring and efficient event detection of the monitoring area is achieved.

CN120128683AActive Publication Date: 2025-06-10ZHEJIANG DAHUA TECH CO LTD

Patent Information

Application Number
CN202510602784.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-06-10
Estimated Expiration
2045-05-12

AI Technical Summary

Technical Problem

In traditional monitoring methods, when a single lens is used for large-area monitoring, the analytical ability of distant objects decreases, resulting in the loss of far-focus information, affecting the event detection effect and monitoring accuracy.

Method used

A monitoring device is adopted with at least two lenses, wherein the focal length of the first lens is greater than the second lens, the first lens is used to capture the picture information of the monitoring area in the lens acquisition area corresponding to the second lens, and configure target event triggering rules to achieve accurate monitoring.

Benefits of technology

By using multi-lens monitoring equipment, the screen information in the monitoring area can be clearly captured, avoiding the loss of far-focus information, and improving the accuracy of event detection and monitoring accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128683A_ABST
    Figure CN120128683A_ABST
Patent Text Reader

Abstract

The invention discloses an event detection method, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring a target monitoring picture of at least one first lens of monitoring equipment; wherein a first lens is configured to monitor a target area, the monitoring device is further configured with a second lens, the target area is a monitoring area in a lens acquisition area corresponding to the second lens, and the focal length of the first lens is larger than that of the second lens; and performing event detection on the target monitoring picture of each first lens to obtain an event detection result corresponding to each first lens. By means of the mode, the accuracy of the event detection effect of the monitoring area can be improved, and accurate monitoring of the monitoring area is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of monitoring technology, and in particular to an event detection method, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the continuous development of monitoring technology, monitoring equipment is widely used in various scenarios to achieve security monitoring of specific areas. Traditional monitoring methods often use a single lens to monitor a large area. Generally speaking, a single lens for large-area monitoring has a wider viewing angle and can cover a larger scene range. Therefore, a single lens for large-area monitoring has a reduced ability to analyze distant objects and is difficult to capture distant image information, resulting in the loss of telefocus information, which affects the event detection effect and further affects the monitoring accuracy. Summary of the invention

[0003] The main technical problem solved by the present application is to provide an event detection method, an electronic device and a computer-readable storage medium, which can improve the accuracy of event detection effect on the monitored area and realize precise monitoring of the monitored area.

[0004] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide an event detection method, the method comprising: obtaining a target monitoring picture of at least one first lens of a monitoring device; wherein a first lens is configured to monitor a target area, and the monitoring device is also configured with a second lens, the target area is a monitoring area in a lens acquisition area corresponding to the second lens, and the focal length of the first lens is greater than that of the second lens; performing event detection on the target monitoring picture of each first lens, and obtaining the event detection result corresponding to each first lens.

[0005] Among them, the lens acquisition area corresponding to the first lens is configured as the corresponding target area.

[0006] Among them, the target monitoring screen is configured with target event trigger rules; before obtaining the target monitoring screen of at least one first lens of the monitoring device, the event detection method also includes: obtaining each target area and the target event trigger rules associated with each target area; assigning a matching first lens to each target area so that the first lens can monitor the corresponding target area; configuring the target monitoring screen corresponding to each target area with the target event trigger rules associated with the corresponding target area.

[0007] Among them, the step of obtaining the target event trigger rules associated with each target area includes: displaying the acquisition interface of the second lens; wherein the acquisition interface is configured with at least one divided area, and the lens acquisition area corresponding to a divided area is a target area; in response to the user's rule configuration operation on the acquisition interface, a number of initial event trigger rules are obtained; for each target area, the initial event trigger rules of the divided area corresponding to the target area are covered as the target event trigger rules associated with the target area.

[0008] Among them, in response to the user's rule configuration operation on the collection interface, a number of initial event trigger rules are obtained, including: in response to the user's rule drawing operation on the collection interface, a number of reference event trigger rules are displayed on the collection interface; in response to the user's adjustment operation on at least one reference event trigger rule, the adjusted reference event trigger rule and the remaining unadjusted reference event trigger rules are used as a number of initial event trigger rules.

[0009] The event detection method further includes: displaying a number of initial event triggering rules on the collection interface.

[0010] The step of acquiring each target area includes: displaying the acquisition interface of the second lens; acquiring a number of divided areas in response to the user's area division operation on the acquisition interface; and for each divided area, taking the acquisition area corresponding to the divided area as the target area.

[0011] Among them, in response to the user's area division operation on the collection interface, a number of divided areas are obtained, including: in response to the user's area division operation on the collection interface, a number of initial areas corresponding to the area division operation are displayed on the collection interface; in response to the user's adjustment operation on at least one initial area, the adjusted initial area and the remaining unadjusted initial area are used as a number of divided areas.

[0012] The event detection method further includes: displaying a plurality of divided areas on the collection interface.

[0013] Among them, allocating a matching first lens to each target area includes: for each target area, determining a first lens matching the target area; adjusting lens parameters of the first lens matching the target area; wherein the lens parameters include at least one of the following: focal length, magnification ratio.

[0014] Among them, the number of target areas is greater than the number of first lenses; assigning a matching first lens to each target area includes: obtaining the monitoring priority of each target area; assigning a matching first lens to each target area according to the monitoring priority of each target area until all the first lenses are assigned.

[0015] Among them, the event detection method further includes: fusing the target monitoring images of each first lens and the captured images of the second lens to obtain a fused monitoring image; performing quality evaluation on the fused monitoring image to obtain a quality evaluation result; based on the quality evaluation result, reallocating at least one first lens to a target area, and the degree of matching between the reallocated first lens and the target area is greater than that between the historically allocated first lens and the target area.

[0016] Among them, the target lens of the monitoring device is communicatively connected to an external platform, and the target lens is one of the following: the second lens, a first lens; after performing event detection on the target monitoring images of each first lens to obtain event detection results corresponding to each first lens, the event detection method further includes: summarizing the event detection results corresponding to each first lens to obtain a summary detection result; and feeding back the summary detection result to the target lens so that the target lens reports the summary detection result to the external platform.

[0017] To solve the above technical problems, another technical solution adopted by this application is: to provide an electronic device, which includes a memory and a processor. The memory stores program instructions, and the processor is configured to execute the program instructions to implement the above event detection method.

[0018] To solve the above technical problems, another technical solution adopted by this application is: to provide a computer-readable storage medium, which is used to store program instructions, and the program instructions can be executed to implement the above event detection method.

[0019] In the above technical solution, since the focal length of the first lens in the monitoring device is greater than that of the second lens, and the first lens is configured to monitor the monitoring area in the lens capture area corresponding to the second lens; therefore, the first lens can clearly capture the image information of the corresponding monitoring area, and there will be no distortion in the monitoring image of the first lens. Therefore, performing event detection on the target monitoring image of the first lens can ensure the event detection result of the monitoring area in the lens capture area corresponding to the second lens, and achieve precise monitoring of the monitoring area in the lens capture area corresponding to the second lens. Description of the Drawings

[0020] Figure 1 is a flowchart of an embodiment of the event detection method provided by this application; Figure 2 is a schematic diagram of an embodiment of the lens capture area corresponding to the short-focus lens provided by this application; Figure 3 is a schematic diagram of an embodiment of the lens capture area corresponding to the first lens a provided by this application; Figure 4It is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens b provided by this application; Figure 5 It is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens c provided by this application; Figure 6 It is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens d provided by this application; Figure 7 It is a schematic flowchart of another embodiment of the event detection method provided by this application; Figure 8 It is a schematic structural diagram of an embodiment of the event detection device provided by this application; Fig. 9 It is a schematic structural diagram of an embodiment of the electronic device provided by this application; Fig.10 It is a schematic structural diagram of an embodiment of the computer-readable storage medium provided by this application. Detailed implementation manners

[0021] Next, in conjunction with the accompanying drawings of the specification, the solutions of the embodiments of this application will be described in detail.

[0022] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures, interfaces, and technologies are presented in order to thoroughly understand this application.

[0023] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after. In addition, "multiple" in this article means two or more than two. In addition, the term "at least one" in this article represents any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set composed of A, B, and C.

[0024] Please refer to Figure 1 , Figure 1 It is a schematic flowchart of an embodiment of the event detection method provided by this application. It should be noted that if there are substantially the same results, this embodiment is not limited to Figure 1 the process sequence shown. As Figure 1 shown, this embodiment includes: Step S11: Obtain the target monitoring screen of at least one first lens of the monitoring device.

[0025] In this embodiment, a target monitoring image of at least one first lens of a monitoring device is obtained; wherein, one first lens is configured to monitor a target area, the monitoring device is further configured with a second lens, the target area is a monitoring area in the lens acquisition area corresponding to the second lens, and the focal length of the first lens is greater than that of the second lens.

[0026] The monitoring device is configured with a first lens and a second lens. The focal length of the second lens is smaller than that of the first lens. Therefore, the second lens has a wider viewing angle than the first lens and can cover a larger scene range. However, because the second lens has a wider viewing angle and can cover a larger scene range, the resolution ability of the second lens for distant objects decreases, and it is difficult to capture the picture information in the distance, resulting in the loss of telephoto information. The loss of telephoto information will lead to the loss of a large amount of detail information in the monitoring area of the lens acquisition area corresponding to the second lens, thus affecting the event detection result of the monitoring area in the lens acquisition area corresponding to the second lens, and further affecting the precise monitoring of the monitoring area in the lens acquisition area corresponding to the second lens. In addition, in order for the second lens to cover a wider viewing angle, a complex curved surface design is often required, which will cause distortion in the second lens image, thus affecting the event detection result of the monitoring area in the lens acquisition area corresponding to the second lens, and further affecting the precise monitoring of the monitoring area in the lens acquisition area corresponding to the second lens.

[0027] The focal length of the first lens in the monitoring device is greater than that of the second lens. Since the focal length of the first lens is large, the first lens can clearly capture the picture information of the monitoring area in the lens acquisition area corresponding to the second lens, and there is no distortion in the first lens image, ensuring the event detection result of the monitoring area in the lens acquisition area corresponding to the second lens and realizing the precise monitoring of the monitoring area in the lens acquisition area corresponding to the second lens.

[0028] That is to say, by using a single monitoring device with lenses of different focal lengths, the picture information of the monitoring area in the lens acquisition area corresponding to the second lens can be clearly captured, the problem of loss of telephoto information can be avoided, and there is no distortion in the lens acquisition image, ensuring the event detection result of the monitoring area in the lens acquisition area corresponding to the second lens and realizing the precise monitoring of the monitoring area in the lens acquisition area corresponding to the second lens.

[0029] It should be noted that the number of the first lenses configured for the monitoring device is not limited and can be specifically set according to actual usage needs. For example, the monitoring device is configured with 2, 3, 5, 10 or other numbers of first lenses. In addition, the focal lengths of the respective first lenses configured for the monitoring device are not limited, and the focal lengths of the respective first lenses can be the same or different. Furthermore, the focal lengths of the first lenses configured for the monitoring device can be set to be adjustable, and subsequently, the focal lengths of the first lenses can be adjusted within their adjustable ranges according to needs, and the adjustable ranges of the focal lengths of the respective first lenses can be the same or different.

[0030] For example, taking the second lens as a short-focus lens and the first lenses as 3 for illustration: As Figure 2 shown, Figure 2 is a schematic diagram of an embodiment of the lens acquisition area corresponding to the short-focus lens provided by the present application. Since the focal length of the short-focus lens is small, the short-focus lens has a wider viewing angle and can cover a larger scene range. However, because the short-focus lens has a wider viewing angle and can cover a larger scene range, the resolution ability of the short-focus lens for distant objects decreases, and it is difficult to capture the picture information of distant objects. For example, for the monitoring area A ( Figure 2 the mid-shot area in), the monitoring area B ( Figure 2 the long-shot 1 area in), the monitoring area C ( Figure 2 the long-shot 2 area in), and the monitoring area D ( Figure 2 the ultra-long-shot area in), the resolution ability decreases, and it is difficult to capture the picture information of the monitoring areas A, B, C, and D, thereby affecting the event detection results of the monitoring areas A, B, C, and D, and further affecting the accurate monitoring of the monitoring areas A, B, C, and D.

[0031] As Figure 3 shown, Figure 3 is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens a provided by the present application. The monitoring device is configured with the first lens a, and the first lens a is a mid-focus lens. The focal length of the mid-focus lens is greater than that of the short-focus lens. The mid-focus lens can clearly capture the picture information of the monitoring area A, and there is no distortion in the picture of the mid-focus lens, ensuring the event detection result of the monitoring area A and realizing the accurate monitoring of the monitoring area A. As Figure 4 shown, Figure 4 is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens b provided by the present application. The monitoring device is configured with the first lens b, and the first lens b is a long-focus lens. The focal length of the long-focus lens is greater than that of the short-focus lens. The long-focus lens can clearly capture the picture information of the monitoring area B, and there is no distortion in the picture of the long-focus lens, ensuring the event detection result of the monitoring area B and realizing the accurate monitoring of the monitoring area B. Figure 5 As shown Figure 5 This is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens c provided by the present application. The monitoring device is configured with the first lens c, and the first lens c is also a telephoto lens. The focal length of the telephoto lens is greater than that of the short-focus lens. The telephoto lens can clearly capture the picture information of the monitoring area C, and there is no distortion in the telephoto lens picture, ensuring the event detection result of the monitoring area C and realizing the precise monitoring of the monitoring area C. As Figure 6 shown Figure 6 This is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens d provided by the present application. The monitoring device is configured with the first lens d, and the first lens d is an ultra-telephoto lens. The focal length of the ultra-telephoto lens is greater than that of the short-focus lens. The ultra-telephoto lens can clearly capture the picture information of the monitoring area D, and there is no distortion in the ultra-telephoto lens picture, ensuring the event detection result of the monitoring area D and realizing the precise monitoring of the monitoring area D.

[0032] It should be noted that which monitoring area in the lens acquisition area corresponding to the second lens the first lens is specifically configured to monitor is determined according to the focal length or adjustable focal length range of the first lens and the distance of the monitoring area in the lens acquisition area corresponding to the second lens, so as to configure a matching first lens for the monitoring area in the lens acquisition area corresponding to the second lens, so that the first lens can clearly capture the picture information of the monitoring area, ensure the event detection result of the monitoring area, and realize the precise monitoring of the monitoring area.

[0033] In an embodiment, each first lens of the monitoring device can be equipped with an electric control device. When there are not many monitoring areas in the lens acquisition area corresponding to the second lens, the idle first lens (that is, the first lens that does not participate in monitoring the monitoring area in the lens acquisition area corresponding to the second lens) can be controlled to rotate through the electric control device to expand the lens coverage range of the monitoring device.

[0034] In an embodiment, the lens acquisition area corresponding to the first lens is configured as the corresponding target area. Configuring the lens acquisition area corresponding to the first lens as the corresponding target area can ensure that the first lens precisely monitors the target area, avoiding resource waste and monitoring blind spots. Through precise lens configuration, each first lens can efficiently serve a specific target area, maximizing the use of monitoring resources.

[0035] Step S12: Perform event detection on the target monitoring pictures of each first lens to obtain the event detection results corresponding to each first lens.

[0036] In this embodiment, event detection is performed on the target monitoring images of each first lens to obtain the event detection results corresponding to each first lens. Since the focal length of the first lens in the monitoring device is greater than that of the second lens, and the first lens is configured to monitor the monitoring area in the lens acquisition area corresponding to the second lens, the first lens can clearly capture the image information of the corresponding monitoring area, and there is no distortion in the monitoring image of the first lens. Therefore, performing event detection on the target monitoring image of the first lens can ensure the event detection results of the monitoring area in the lens acquisition area corresponding to the second lens, and achieve precise monitoring of the monitoring area in the lens acquisition area corresponding to the second lens.

[0037] In one embodiment, the event detection method provided by this application is executed by an event detection device, which includes an intelligent analyzer. The intelligent analyzer is respectively connected to each first lens of the monitoring device. The target monitoring images of each first lens are sent to the intelligent analyzer, and the intelligent analyzer performs event detection after receiving the target monitoring images sent by each first lens to obtain the event detection results corresponding to each first lens.

[0038] In one embodiment, the target lens of the monitoring device is communicatively connected to an external platform. The target lens is one of the following: the second lens, a first lens. After performing event detection on the target monitoring images of each first lens to obtain the event detection results corresponding to each first lens, the event detection results corresponding to each first lens are also aggregated to obtain an aggregated detection result. The aggregated detection result is fed back to the target lens so that the target lens reports the aggregated detection result to the external platform. That is to say, the target lens of the monitoring device serves as the main external channel to aggregate and report the event detection results corresponding to each first lens of the monitoring device to the target lens serving as the main external channel, so that the target lens reports to the external platform (such as an event center), and then the external platform reports to a third-party platform such as a WEB.

[0039] In one specific embodiment, it is also possible to only aggregate and report the event detection results for which a specific event is detected. Of course, in other specific embodiments, when the event detection results corresponding to each first lens of the monitoring device do not have a specific event, it is also possible not to aggregate and report the event detection results corresponding to each first lens, which is not limited here.

[0040] Among them, the specific event can be the appearance of a specific face, the occurrence of a specific behavior, the appearance of specific natural language text, crossing or staying in a preset specific area, etc.

[0041] In one embodiment, the target monitoring images of each first lens and the captured images of the second lens are fused to obtain a fused monitoring image; the quality of the fused monitoring image is evaluated to obtain a quality evaluation result; based on the quality evaluation result, at least one first lens is reassigned to a target area, and the degree of matching between the first lens reassigned to the target area and the target area is greater than the degree of matching between the historically assigned first lens and the target area. That is to say, the quality of the fused monitoring image is evaluated, and the first lens is adjusted backward according to the quality evaluation result, so that the first lens monitors a target area with a higher degree of matching, achieving a high-quality restoration of the event scene, and thus obtaining event information more comprehensively. By assigning appropriate first lenses to the target areas, the event response speed is significantly improved, the linkage between multiple first lenses can cover a wider monitoring range, improve the monitoring effect, and optimize the utilization of lens resources.

[0042] Please refer to Figure 7 , Figure 7 which is a schematic flowchart of another embodiment of the event detection method provided by this application. It should be noted that if there are substantially the same results, this embodiment is not limited to Figure 7 the process sequence shown. As Figure 7 shown, the target monitoring image is configured with a target event trigger rule. Before obtaining the target monitoring images of at least one first lens of the monitoring device, a series of configuration operations need to be performed. This embodiment includes: Step S71: Obtain each target area and the target event trigger rule associated with each target area.

[0043] In this embodiment, each target area and the target event trigger rule associated with each target area are obtained.

[0044] In one embodiment, the step of obtaining the target event trigger rule associated with each target area is specifically: display the captured interface of the second lens, where the captured interface is configured with at least one divided area, and the lens captured area corresponding to a divided area is a target area; in response to the user's rule configuration operation on the captured interface, obtain a number of initial event trigger rules; for each target area, use the initial event trigger rule covering the divided area corresponding to the target area as the target event trigger rule associated with the target area. By performing the rule configuration operation on the captured interface of the second lens, the event trigger rule configuration for all lenses of the monitoring device can be completed, simplifying the cumbersome process of separately configuring the event trigger rules on each lens of the monitoring device.

[0045] For example, in response to a user's rule configuration operation on the acquisition interface, the initial event trigger rule A - wire intrusion line and the initial event trigger rule B - face detection frame are obtained. The initial event trigger rule A - wire intrusion line and the initial event trigger rule B - face detection frame cover the divided area a corresponding to the target area α; then, the initial event trigger rule A - wire intrusion line and the initial event trigger rule B - face detection frame are used as the target event trigger rules associated with the target area α. The initial event trigger rule A - wire intrusion line covers the divided area b corresponding to the target area β; then, the initial event trigger rule A - wire intrusion line is used as the target event trigger rule associated with the target area β.

[0046] It should be noted that the user's rule configuration operation on the acquisition interface of the second lens can be an event trigger rule drawing operation on the acquisition interface of the second lens, or an event trigger rule parameter input operation in the event trigger rule configuration area on the acquisition interface of the second lens.

[0047] In a specific embodiment, in response to a user's rule configuration operation on the acquisition interface, a number of initial event trigger rules are obtained. Specifically: in response to a user's rule drawing operation on the acquisition interface, a number of reference event trigger rules are displayed on the acquisition interface; in response to a user's adjustment operation on at least one reference event trigger rule, the adjusted reference event trigger rule and the remaining unadjusted reference event trigger rules are used as a number of initial event trigger rules. After the user draws a reference event trigger rule on the acquisition interface of the second lens, it will be displayed on the acquisition interface of the second lens to intuitively display the reference event trigger rule drawn by the user. For a reference event trigger rule that the user believes is drawn incorrectly or not precisely enough, the user can adjust it to obtain an accurate event trigger rule.

[0048] In a specific embodiment, a number of initial event trigger rules are also displayed on the acquisition interface of the second lens. All the preset intelligent rule schemes on the first lens are displayed at once through the acquisition interface of the second lens. Through the display of the second lens, the rule configuration information of all the first lenses can be known from the picture information of a single channel, greatly simplifying the operation complexity. At the same time, detailed adjustments can be made in a specific first lens to improve the scene layout efficiency.

[0049] In an embodiment, the steps for obtaining each target area are specifically: the acquisition interface of the second lens is displayed; in response to a user's area division operation on the acquisition interface, a number of divided areas are obtained; for each divided area, the acquisition area corresponding to the divided area is used as the target area. By performing an area division operation on the acquisition interface of the second lens, the division of all monitoring areas of the lens acquisition area corresponding to the second lens can be completed, and the division of the monitoring area is simple and convenient.

[0050] It should be noted that the area division operation of the user on the acquisition interface of the second lens can be an area drawing operation on the acquisition interface of the second lens, or an area parameter input operation on the configured area on the acquisition interface of the second lens.

[0051] In a specific embodiment, in response to the user's area division operation on the acquisition interface, several divided areas are obtained. Specifically: in response to the user's area division operation on the acquisition interface, several initial areas corresponding to the area division operation are displayed on the acquisition interface; in response to the user's adjustment operation on at least one initial area, the adjusted initial area and the remaining unadjusted initial areas are used as several divided areas. After the user performs area division on the acquisition interface of the second lens, it will be displayed on the acquisition interface of the second lens to visually display several initial areas divided by the user. For the initial areas that the user believes have incorrect area division or inaccurate area division, the user can adjust them to obtain accurate several divided areas.

[0052] In a specific embodiment, several divided areas are also displayed on the acquisition interface of the second lens. Through the acquisition interface of the second lens, all monitoring areas in the lens acquisition area corresponding to the second lens are displayed at one time. Through the display of the second lens, all monitoring areas can be known from the picture information of a single channel, greatly simplifying the operation complexity.

[0053] Step S72: Assign a matching first lens to each target area so that the first lens can monitor the corresponding target area.

[0054] In this embodiment, a matching first lens is assigned to each target area so that the first lens can monitor the corresponding target area. By assigning a matching first lens to each target area, the first lens can clearly capture the picture information of the corresponding target area, avoid the problem of loss of telephoto information, and there will be no distortion in the lens acquisition picture, ensuring the event detection result of the corresponding target area and achieving precise monitoring of the corresponding target area.

[0055] In an embodiment, assigning a matching first lens to each target area is specifically: for each target area, determine the first lens matching the target area; adjust the lens parameters of the first lens matching the target area; where the lens parameters include at least one of the following: focal length, magnification ratio. That is to say, by adjusting the lens parameters of the first lens matching the target area, the first lens focuses on the target area to achieve a clear display effect, that is, the first lens can precisely monitor the target area.

[0056] Of course, in other embodiments, after determining the first lens that matches the target area, the target area may be sent to the first lens, and the first lens can automatically focus, zoom in or out according to the focal length until the focused target area achieves a clear display effect.

[0057] In one embodiment, the number of target areas is greater than the number of first lenses; a matching first lens is assigned to each target area. Specifically: obtain the monitoring priorities of each target area; according to the monitoring priorities of each target area, assign a matching first lens to each target area until all the first lenses are assigned. That is to say, since the number of first lenses of the monitoring device is limited, when the number of first lenses of the monitoring device is insufficient, the first lenses are assigned to the target areas according to the monitoring priorities of the target areas, so as to preferentially perform precise monitoring on the target areas with higher monitoring priorities.

[0058] Step S73: Configure a target event trigger rule associated with the corresponding target area for the target monitoring screen corresponding to each target area.

[0059] In this embodiment, a target event trigger rule associated with the corresponding target area is configured for the target monitoring screen corresponding to each target area. In one embodiment, after determining the first lens that matches the target area, the target event trigger rule associated with the target area may be sent to the first lens to draw the target event trigger rule associated with the target area on the first lens.

[0060] Step S74: Obtain the target monitoring screens of at least one first lens of the monitoring device.

[0061] Step S74 is similar to step S11 and will not be elaborated here.

[0062] Step S75: Perform event detection on the target monitoring screens of each first lens to obtain the event detection results corresponding to each first lens.

[0063] Step S75 is similar to step S12 and will not be elaborated here.

[0064] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of an embodiment of the event detection device provided in the present application. The event detection device 80 includes an acquisition module 81 and a detection module 82; the acquisition module 81 is used to obtain the target monitoring screens of at least one first lens of the monitoring device; wherein, a first lens is configured to monitor a target area, the monitoring device is further configured with a second lens, the target area is a monitoring area in the lens acquisition area corresponding to the second lens, and the focal length of the first lens is greater than that of the second lens; the detection module 82 is used to perform event detection on the target monitoring screens of each first lens to obtain the event detection results corresponding to each first lens.

[0065] Among them, the shot acquisition area corresponding to the first shot is configured as a corresponding target area.

[0066] Among them, the target monitoring screen is configured with a target event trigger rule; the event detection device 80 further includes a configuration module 83, and the configuration module 83 is used to obtain each target area and the target event trigger rule associated with each target area before obtaining the target monitoring screen of at least one first shot of the monitoring device; allocate a matching first shot to each target area so that the first shot can monitor the corresponding target area; configure the target monitoring screen corresponding to each target area with the target event trigger rule associated with the corresponding target area.

[0067] Among them, the configuration module 83 is used to obtain the target event trigger rule associated with each target area, including: displaying the acquisition interface of the second shot; wherein, the acquisition interface is configured with at least one divided area, and the shot acquisition area corresponding to a divided area is a target area; in response to the user's rule configuration operation on the acquisition interface, obtain a number of initial event trigger rules; for each target area, use the initial event trigger rule covering the divided area corresponding to the target area as the target event trigger rule associated with the target area.

[0068] Among them, the configuration module 83 is used to obtain a number of initial event trigger rules in response to the user's rule configuration operation on the acquisition interface, including: in response to the user's rule drawing operation on the acquisition interface, display a number of reference event trigger rules on the acquisition interface; in response to the user's adjustment operation on at least one reference event trigger rule, use the adjusted reference event trigger rule and the remaining unadjusted reference event trigger rules as a number of initial event trigger rules.

[0069] Among them, the configuration module 83 is used to display a number of initial event trigger rules on the acquisition interface.

[0070] Among them, the configuration module 83 is used to obtain each target area, including: displaying the acquisition interface of the second shot; in response to the user's area division operation on the acquisition interface, obtain a number of divided areas; for each divided area, use the acquisition area corresponding to the divided area as the target area.

[0071] Among them, the configuration module 83 is used to obtain a number of divided areas in response to the user's area division operation on the acquisition interface, including: in response to the user's area division operation on the acquisition interface, display a number of initial areas corresponding to the area division operation on the acquisition interface; in response to the user's adjustment operation on at least one initial area, use the adjusted initial area and the remaining unadjusted initial areas as a number of divided areas.

[0072] Among them, the configuration module 83 is used to display a number of divided areas on the acquisition interface.

[0073] Among them, the configuration module 83 is used to allocate a matching first lens for each target area, including: for each target area, determining a first lens matching the target area; adjusting the lens parameters of the first lens matching the target area; where the lens parameters include at least one of the following: focal length, magnification ratio.

[0074] Among them, the number of the above-mentioned target areas is greater than the number of first lenses; the configuration module 83 is used to allocate a matching first lens for each target area, including: obtaining the monitoring priorities of each target area; according to the monitoring priorities of each target area, allocating a matching first lens for each target area until all the first lenses are allocated.

[0075] Among them, the configuration module 83 is used to fuse the target monitoring images of each first lens and the captured images of the second lens to obtain a fused monitoring image; perform a quality assessment on the fused monitoring image to obtain a quality assessment result; based on the quality assessment result, re-allocate a first lens for at least one target area, and the matching degree between the re-allocated first lens for the target area and the target area is greater than the matching degree between the historically allocated first lens and the target area.

[0076] Among them, the target lens of the above-mentioned monitoring device is communicatively connected to an external platform, and the target lens is one of the following: the second lens, a first lens; the event detection device 80 further includes a summarization module 84, and the summarization module 84 is used for after performing event detection on the target monitoring images of each first lens to obtain event detection results corresponding to each first lens, including: summarizing the event detection results corresponding to each first lens to obtain a summarized detection result; feeding back the summarized detection result to the target lens so that the target lens reports the summarized detection result to the external platform.

[0077] Please refer to Fig. 9 , Fig. 9 which is a schematic structural diagram of an embodiment of an electronic device provided by the present application. The electronic device 90 includes a memory 91 and a processor 92 that are coupled to each other, and the processor 92 is used to execute program instructions stored in the memory 91 to implement the steps of any of the above event detection method embodiments. In a specific implementation scenario, the electronic device 90 may include, but is not limited to: a microcomputer, a server. In addition, the electronic device 90 may also include mobile devices such as a laptop computer, a tablet computer, etc., which are not limited herein.

[0078] Specifically, the processor 92 is used to control itself and the memory 91 to implement the steps of any of the above-mentioned event detection method embodiments. The processor 92 may also be referred to as a CPU (Central Processing Unit). The processor 92 may be an integrated circuit chip with signal processing capabilities. The processor 92 may also be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Additionally, the processor 92 may be implemented jointly by integrated circuit chips.

[0079] Please refer to Fig.10 , Fig.10 FIG. is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present application. The computer-readable storage medium 100 of the embodiment of the present application stores program instructions 101, and when the program instructions 101 are executed, the methods provided by any of the event detection method embodiments of the present application and any non-conflicting combinations are implemented. Among them, the program instructions 101 may form a program file and be stored in the above-mentioned computer-readable storage medium 100 in the form of a software product, so that a computer device (which may be a personal computer, a server, or a network device, etc.) can execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned computer-readable storage medium 100 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, or a terminal device such as a computer, a server, a mobile phone, or a tablet.

[0080] If the technical solution of this application involves personal information, the product using the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using the technical solution of this application has obtained the individual's separate consent before processing the sensitive personal information, and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, clear and prominent signs are set to inform that the personal information collection scope has been entered and personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that he or she agrees to the collection of his or her personal information; or on the device that processes personal information, the personal information processing rules are notified by obvious signs / information, and the individual's authorization is obtained through pop-up information or by asking the individual to upload his or her personal information; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.

[0081] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An event detection method, characterized in that: The method comprises: Acquire a target monitoring picture of at least one first lens of a monitoring device; wherein the first lens is configured to monitor a target area, the monitoring device is further configured with a second lens, the target area is a monitoring area in a lens acquisition area corresponding to the second lens, and the focal length of the first lens is greater than that of the second lens; Event detection is performed on the target monitoring screen of each of the first lenses to obtain event detection results corresponding to each of the first lenses.

2. The method according to claim 1, characterized in that The lens acquisition area corresponding to the first lens is configured as the corresponding target area.

3. The method according to claim 1, characterized in that The target monitoring screen is configured with a target event triggering rule; before acquiring the target monitoring screen of at least one first lens of the monitoring device, the method further includes: Acquire each of the target areas and a target event triggering rule associated with each of the target areas; Allocating a matching first lens to each of the target areas, so that the first lens can monitor the corresponding target area; A target event triggering rule associated with the corresponding target area is configured for the target monitoring screen corresponding to each target area.

4. The method according to claim 3, characterized in that The step of acquiring the target event triggering rules associated with each of the target areas includes: Displaying a collection interface of the second lens; wherein the collection interface is configured with at least one divided area, and a lens collection area corresponding to one of the divided areas is one of the target areas; In response to a rule configuration operation performed by a user on the collection interface, obtaining a plurality of initial event triggering rules; For each of the target areas, the initial event triggering rule covering the divided area corresponding to the target area is used as the target event triggering rule associated with the target area.

5. The method according to claim 4, characterized in that The step of obtaining a plurality of initial event triggering rules in response to the user's rule configuration operation on the collection interface includes: In response to a rule drawing operation performed by a user on the collection interface, displaying a plurality of reference event triggering rules on the collection interface; In response to a user's adjustment operation on at least one of the reference event trigger rules, the adjusted reference event trigger rules and the remaining unadjusted reference event trigger rules are used as the plurality of initial event trigger rules.

6. The method according to claim 4, characterized in that The method further comprises: The plurality of initial event triggering rules are displayed on the collection interface.

7. The method according to claim 3, characterized in that The step of acquiring each target area includes: Displaying the acquisition interface of the second lens; In response to a region division operation performed by a user on the acquisition interface, acquiring a plurality of divided regions; For each divided area, the acquisition area corresponding to the divided area is used as the target area.

8. The method according to claim 7, characterized in that The step of obtaining a plurality of divided areas in response to the user's area division operation on the acquisition interface includes: In response to a region division operation performed by a user on the acquisition interface, displaying a plurality of initial regions corresponding to the region division operation on the acquisition interface; In response to a user's adjustment operation on at least one of the initial regions, the adjusted initial region and the remaining unadjusted initial regions are used as the plurality of divided regions.

9. The method according to claim 7, characterized in that: The method further comprises: The plurality of divided areas are displayed on the collection interface.

10. The method according to claim 3, characterized in that The step of allocating a matching first shot to each target area comprises: For each of the target areas, determining a first shot matching the target area; Adjust lens parameters of a first lens that matches the target area; wherein the lens parameters include at least one of the following: focal length, magnification ratio.

11. The method according to claim 3, characterized in that The number of the target areas is greater than the number of the first lenses; and the step of assigning a matching first lens to each of the target areas comprises: Obtaining the monitoring priority of each target area; According to the monitoring priority of each target area, a matching first lens is allocated to each target area until all the first lenses are allocated.

12. The method according to claim 3, characterized in that The method further comprises: fusing the target monitoring images of each of the first lenses and the captured images of the second lenses to obtain a fused monitoring image; Performing quality assessment on the fused monitoring picture to obtain a quality assessment result; Based on the quality assessment result, a first lens is reallocated to at least one of the target areas, and a matching degree between the first lens reallocated to the target area and the target area is greater than a matching degree between the first lens historically allocated and the target area.

13. The method according to claim 1, characterized in that The target lens of the monitoring device is communicatively connected to the external platform, and the target lens is one of the following: the second lens and the first lens; after performing event detection on the target monitoring screens of each of the first lenses to obtain event detection results corresponding to each of the first lenses, the method further includes: Aggregating the event detection results corresponding to the first shots to obtain a summary detection result; The summary detection result is fed back to the target lens, so that the target lens reports the summary detection result to the external platform.

14. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the method according to any one of claims 1-13.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed to implement the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Methods, devices and systems for controlling video surveillance arrays

    CN102263932A

  • Multi-machine linkage control method for improving urban road monitoring efficiency

    CN106303431A

  • Monitoring device and method for fusing panorama with detail

    CN106791419A

  • Video monitoring method and devices based on long-range perspective and close-range perspective, and computer readable storage medium

    CN109120883A

  • Drawing method and electronic equipment

    CN110851062A

Cited By

  • Monitoring method and device based on target tracking, equipment and medium

    CN120897128A