Event detection method, electronic device, and computer-readable storage medium

CN120128683BActive Publication Date: 2025-08-29ZHEJIANG DAHUA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In traditional monitoring equipment, the wide-angle viewing angle of a single lens leads to a decrease in the resolution ability of distant objects, making it difficult to capture distant picture information, affecting the event detection effect and monitoring accuracy.

Method used

Multiple lenses with different focal lengths, especially the first lens with a focal length greater than the second lens, accurately monitor the lens acquisition area of ​​the second lens, and obtain and fuse the monitoring screen through event detection methods to ensure that the picture is clear and without distortion.

Benefits of technology

Accurate monitoring of the monitoring area is realized, avoiding the loss of far-focus information and picture distortion, and improving the accuracy and efficiency of event detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128683B_ABST
    Figure CN120128683B_ABST
Patent Text Reader

Abstract

This application discloses an event detection method, electronic device, and computer-readable storage medium. The method comprises: obtaining a target monitoring image from 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 within 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; performing event detection on the target monitoring image of each first lens, and obtaining event detection results corresponding to each first lens. Through the above-mentioned method, the present application can improve the accuracy of event detection in the monitoring area and achieve precise monitoring of the monitoring area.
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 surveillance technology, surveillance equipment is widely used in various scenarios to achieve security monitoring of specific areas. Traditional surveillance methods often use a single lens to monitor large areas. Generally speaking, a single lens for large-area monitoring has a wider viewing angle and can cover a larger scene range. However, the single lens used for large-area monitoring has a reduced ability to resolve distant objects, making it difficult to capture distant image information. This leads to the loss of out-of-focus information, which in turn affects event detection and monitoring accuracy. Summary of the Invention

[0003] The main technical problem solved by this 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 effects 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 screen 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 screen of each first lens to obtain an event detection result corresponding to each first lens.

[0005] The lens collection 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 triggering 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 triggering rules associated with each target area; allocating 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 triggering 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, several initial event trigger rules are obtained, including: in response to the user's rule drawing operation on the collection interface, several 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 several 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 steps of acquiring each target area include: 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, using 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, several divided areas are obtained, including: in response to the user's area division operation on the collection interface, several 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 several divided areas.

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

[0013] The step of assigning a matching first lens to each target area includes: determining, for each target area, a first lens that matches the target area; and adjusting lens parameters of the first lens that matches the target area. The lens parameters include at least one of the following: focal length and 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 also includes: fusing the target monitoring screen of each first lens and the captured screen of the second lens to obtain a fused monitoring screen; performing quality assessment on the fused monitoring screen to obtain a quality assessment result; based on the quality assessment result, reallocating the first lens to at least one target area, and the degree of matching between the first lens reallocated to the target area and the target area is greater than the degree of matching between the historically allocated first lens and the target area.

[0016] In which, the target lens of the monitoring device is communicatively connected to the external platform, and the target lens is one of the following: a second lens, a first lens; after performing event detection on the target monitoring screen of each first lens and obtaining the event detection results corresponding to each first lens, the event detection method also includes: summarizing the event detection results corresponding to each first lens to obtain a summarized detection result; and feeding back the summarized detection result to the target lens so that the target lens reports the summarized detection result to the external platform.

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

[0018] In order to solve the above technical problems, another technical solution adopted in the present application is: providing 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, because 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 within the lens acquisition area corresponding to the second lens, the first lens can clearly capture the image information of the corresponding monitoring area, and the monitoring image of the first lens is not distorted. Therefore, performing event detection on the target monitoring image of the first lens can ensure the event detection results for the monitoring area within the lens acquisition area corresponding to the second lens, achieving accurate monitoring of the monitoring area within the lens acquisition area corresponding to the second lens. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is a flow chart of an embodiment of an event detection method provided by the present application;

[0021] Figure 2 This is a schematic diagram of an embodiment of a lens acquisition area corresponding to a short-focus lens provided in this application;

[0022] Figure 3 is a schematic diagram of an embodiment of a lens acquisition area corresponding to the first lens a provided in this application;

[0023] Figure 4 is a schematic diagram of an embodiment of a lens acquisition area corresponding to the first lens b provided in this application;

[0024] Figure 5 is a schematic diagram of an embodiment of a lens acquisition area corresponding to the first lens c provided in this application;

[0025] Figure 6 2 is a schematic diagram of an embodiment of a lens acquisition area corresponding to the first lens d provided in this application;

[0026] Figure 7 This is a flow chart of another embodiment of the event detection method provided by the present application;

[0027] Figure 8 This is a schematic structural diagram of an embodiment of an event detection device provided by the present application;

[0028] Figure 9 This is a structural diagram of an embodiment of an electronic device provided by the present application;

[0029] Figure 10 It is a structural diagram of an embodiment of a computer-readable storage medium provided by this application. DETAILED DESCRIPTION

[0030] The following describes the embodiments of the present application in detail with reference to the accompanying drawings.

[0031] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.

[0032] The term "and / or" in this article is simply a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0033] See also Figure 1 , Figure 1 It is a flow chart 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 does not Figure 1 The process sequence shown is limited. Figure 1 As shown, this embodiment includes:

[0034] Step S11: Acquire a target monitoring image of at least one first lens of a monitoring device.

[0035] In this embodiment, a target monitoring image of at least one first lens of the monitoring device is obtained; 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 the 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.

[0036] The monitoring device is equipped 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, since the second lens has a wider viewing angle and can cover a larger scene range, the second lens's ability to resolve distant objects is reduced, making it difficult to capture distant image information, resulting in the loss of far-focus information; and the loss of far-focus information will result in the loss of a large amount of detailed information of the monitoring area in the lens acquisition area corresponding to the second lens, thereby affecting the event detection results 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 may cause the second lens image to be distorted, thereby affecting the event detection results 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.

[0037] The focal length of the first lens in the monitoring device is greater than that of the second lens. The focal length of the first lens is large, so the first lens can clearly capture the image information of the monitoring area in the lens acquisition area corresponding to the second lens, and there will be no distortion in the image of the first lens, thereby ensuring the event detection results of the monitoring area in the lens acquisition area corresponding to the second lens, and realizing accurate monitoring of the monitoring area in the lens acquisition area corresponding to the second lens.

[0038] In other words, by using a single monitoring device with lenses of different focal lengths, it is possible to clearly capture the image information of the monitoring area in the lens acquisition area corresponding to the second lens, avoiding the problem of loss of far-focus information, and there will be no distortion in the lens acquisition image, thereby ensuring the event detection results of the monitoring area in the lens acquisition area corresponding to the second lens, and realizing accurate monitoring of the monitoring area in the lens acquisition area corresponding to the second lens.

[0039] It should be noted that there is no limit on the number of first lenses configured for the monitoring device, and the number can be set according to actual usage needs. For example, the monitoring device can be configured with 2, 3, 5, or 10 first lenses. In addition, there is no limit on the focal length of each first lens configured for the monitoring device, and the focal lengths of each first lens can be the same or different. Furthermore, the focal length of the first lens configured for the monitoring device can be set to be adjustable, and the focal length of the first lens can be adjusted within its adjustable range as needed. The adjustable range of the focal length of each first lens can be the same or different.

[0040] For example, the second lens is a short-focus lens and the first lens is 3. Figure 2 As shown, Figure 2 This is a schematic diagram of an embodiment of the lens acquisition area corresponding to the short-focus lens provided in this application. The short-focus lens has a short focal length, so it has a wider viewing angle and can cover a larger scene range. However, since the short-focus lens has a wider viewing angle and can cover a larger scene range, the short-focus lens has a reduced ability to resolve distant objects, making it difficult to capture distant image information, such as monitoring area A ( Figure 2 The middle ground area in the middle ground), monitoring area B ( Figure 2 View 1 area in the monitoring area C ( Figure 2 View 2 area in the image) and monitoring area D ( Figure 2 The resolution capability of the ultra-long-range area in the monitoring area A is reduced, making it difficult to capture the image information of monitoring area A, monitoring area B, monitoring area C, and monitoring area D, thereby affecting the event detection results of monitoring area A, monitoring area B, monitoring area C, and monitoring area D, and further affecting the accurate monitoring of monitoring area A, monitoring area B, monitoring area C, and monitoring area D.

[0041] like Figure 3 As shown, Figure 3 This is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens a provided in this application. The monitoring device is equipped with the first lens a, which is a medium-focus lens. The focal length of the medium-focus lens is greater than that of the short-focus lens. The medium-focus lens can clearly capture the image information of the monitoring area A, and the medium-focus lens image will not be distorted, ensuring the event detection results of the monitoring area A and realizing accurate monitoring of the monitoring area A. Figure 4 As shown, Figure 4 This is a schematic diagram of an embodiment of the lens collection area corresponding to the first lens b provided in this application. The monitoring device is equipped with the first lens b, which is 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 image information of the monitoring area B, and the telephoto lens image will not be distorted, ensuring the event detection results of the monitoring area B and realizing accurate monitoring of the monitoring area B. Figure 5 As shown, Figure 5 This is a schematic diagram of an embodiment of the lens collection area corresponding to the first lens c provided in this application. The monitoring device is equipped with the first lens c, which 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 image information of the monitoring area C, and the telephoto lens image will not be distorted, ensuring the event detection results of the monitoring area C and realizing accurate monitoring of the monitoring area C. Figure 6 As shown, Figure 6 This is a schematic diagram of an embodiment of the lens acquisition area corresponding to the first lens d provided in the present application. The monitoring equipment is equipped with a first lens d, which 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 image information of the monitoring area D, and the image of the ultra-telephoto lens will not be distorted, thereby ensuring the event detection results of the monitoring area D and realizing accurate monitoring of the monitoring area D.

[0042] It should be noted that the specific configuration of the first lens to monitor which monitoring area in the lens acquisition area corresponding to the second lens is determined based on 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. The first lens is configured to match the monitoring area in the lens acquisition area corresponding to the second lens, so that the first lens can be used to clearly capture the image information of the monitoring area, ensure the event detection results of the monitoring area, and achieve accurate monitoring of the monitoring area.

[0043] In one 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 (i.e., 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 by the electric control device to expand the lens coverage of the monitoring device.

[0044] In one embodiment, the camera capture area corresponding to the first lens is configured as the corresponding target area. This ensures that the first lens accurately monitors the target area, avoiding resource waste and monitoring blind spots. Through precise lens configuration, the first lens can efficiently serve a specific target area, maximizing the use of monitoring resources.

[0045] Step S12: performing event detection on the target monitoring screen of each first shot to obtain the event detection result corresponding to each first shot.

[0046] In this embodiment, event detection is performed on the target monitoring screen of each first lens to obtain the event detection results corresponding to each first lens. Because 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 within the lens acquisition area corresponding to the second lens, the first lens can clearly capture the image information of the corresponding monitoring area, and the monitoring screen of the first lens will not be distorted. Therefore, performing event detection on the target monitoring screen of the first lens can ensure the event detection results for the monitoring area within the lens acquisition area corresponding to the second lens, thereby achieving accurate monitoring of the monitoring area within the lens acquisition area corresponding to the second lens.

[0047] In one embodiment, the event detection method provided in the present application is executed by an event detection device, which includes an intelligent analyzer, which is respectively connected to each first lens of the monitoring device; the target monitoring screen of each first lens is sent to the intelligent analyzer, and the intelligent analyzer performs event detection after receiving the target monitoring screen sent by each first lens to obtain the event detection results corresponding to each first lens.

[0048] In one embodiment, a target camera of a monitoring device is communicatively connected to an external platform. The target camera is one of the following: a second camera or a first camera. After performing event detection on the target monitoring images of each first camera and obtaining the event detection results corresponding to each first camera, the event detection results corresponding to each first camera are aggregated to obtain an aggregated detection result. The aggregated detection result is fed back to the target camera, which then reports the aggregated detection result to the external platform. In other words, the target camera of the monitoring device serves as the main external channel, and the event detection results corresponding to each first camera of the monitoring device are aggregated and reported to the target camera, which serves as the main external channel, so that the target camera reports the aggregated detection results to an external platform (e.g., an event center). The external platform then reports the results to a third-party platform such as a web-based platform.

[0049] In one specific embodiment, only the event detection results for detecting a specific event may be aggregated and reported. Of course, in other specific embodiments, when the event detection results corresponding to each first lens of the monitoring device all indicate that no specific event exists, the event detection results corresponding to each first lens may not be aggregated and reported. This is not a limitation here.

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

[0051] In one embodiment, the target monitoring images from each first lens and the captured images from the second lens are fused to obtain a fused monitoring image; a quality assessment is performed on the fused monitoring image to obtain a quality assessment result; and based on the quality assessment result, a first lens is reallocated to at least one target area, such that the degree of match between the reallocated first lens and the target area is greater than the degree of match between the previously allocated first lens and the target area. In other words, the fused monitoring image is quality assessed, and the first lens is reversely adjusted based on the quality assessment result, so that the first lens monitors the target area with a higher degree of match, achieving high-quality reconstruction of the event scene and thus more comprehensive acquisition of event information. By assigning an appropriate first lens to the target area, event response speed is significantly improved. The linkage between multiple first lenses can cover a wider monitoring range, improve monitoring effectiveness, and optimize the utilization of lens resources.

[0052] See also Figure 7 , Figure 7 It is a flow chart 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 does not Figure 7 The process sequence shown is limited. Figure 7 As shown, the target monitoring screen is configured with a target event triggering rule. Before obtaining the target monitoring screen of at least one first lens of the monitoring device, a series of configuration tasks need to be performed. This embodiment includes:

[0053] Step S71: Acquire each target area and target event triggering rules associated with each target area.

[0054] In this embodiment, each target area and a target event triggering rule associated with each target area are obtained.

[0055] In one embodiment, the steps for obtaining target event trigger rules associated with each target area include: displaying a capture interface for a second camera, wherein the capture interface is configured with at least one partitioned area, with the camera capture area corresponding to each partitioned area being a target area; obtaining a plurality of initial event trigger rules in response to a user's rule configuration operation on the capture interface; and, for each target area, using the initial event trigger rule that covers the partitioned area corresponding to the target area as the target event trigger rule associated with the target area. By performing rule configuration operations on the capture interface of the second camera, event trigger rules can be configured for all cameras of the monitoring device, simplifying the tedious process of configuring event trigger rules for each camera of the monitoring device.

[0056] For example, in response to the 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 are covered in 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 rule associated with the target area α. The initial event trigger rule A—wire intrusion line is covered in 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 β.

[0057] It should be noted that the user's rule configuration operation on the acquisition interface of the second lens can be to draw the event trigger rule on the acquisition interface of the second lens, or to input the event trigger rule parameters in the event trigger rule configuration area on the acquisition interface of the second lens.

[0058] In one specific embodiment, in response to a user's rule configuration operation on the capture interface, several initial event triggering rules are obtained. Specifically, in response to a user's rule drawing operation on the capture interface, several reference event triggering rules are displayed on the capture interface. In response to a user's adjustment operation on at least one reference event triggering rule, the adjusted reference event triggering rule and the remaining unadjusted reference event triggering rules are used as the initial event triggering rules. After the user draws a reference event triggering rule on the capture interface of the second lens, the reference event triggering rule is displayed on the capture interface of the second lens to intuitively illustrate the user-drawn reference event triggering rule. For reference event triggering rules that the user deems to be incorrectly drawn or inaccurate, the user can adjust them to obtain a more accurate event triggering rule.

[0059] In one specific embodiment, several initial event triggering rules are also displayed on the capture interface of the second camera. This interface displays all pre-set intelligent rule schemes for the first camera at once. Through the second camera display, the rule configuration information for all first cameras can be viewed from the image information of a single channel, greatly simplifying operation and allowing detailed adjustments within a specific first camera, improving scene layout efficiency.

[0060] In one embodiment, the steps for acquiring each target area include: displaying the capture interface of the second camera; acquiring a plurality of divided areas in response to a user's region division operation on the capture interface; and determining the capture area corresponding to each divided area as the target area. By performing the region division operation on the capture interface of the second camera, all monitoring areas corresponding to the camera capture area of ​​the second camera can be divided, making the division of monitoring areas simple and convenient.

[0061] It should be noted that the user's area division operation on the capture interface of the second lens can be an area drawing operation on the capture interface of the second lens, or an area parameter input operation in the configuration area on the capture interface of the second lens.

[0062] In one specific embodiment, in response to a user's region division operation on the capture interface, a plurality of divided regions are obtained. Specifically, in response to the user's region division operation on the capture interface, a plurality of initial regions corresponding to the region division operation are displayed on the capture interface; in response to the user's region division operation on the capture interface, the adjusted initial region and the remaining unadjusted initial regions are used as the plurality of divided regions. After the user divides the region on the capture interface of the second lens, the region division is displayed on the capture interface of the second lens to intuitively illustrate the plurality of initial regions divided by the user. For initial regions that the user deems to be incorrect or inaccurate, the user can adjust them to obtain more accurate regions.

[0063] In one embodiment, several divided areas are also displayed on the capture interface of the second lens. The capture interface of the second lens displays all monitoring areas within the lens capture area corresponding to the second lens at once. Through the display of the second lens, all monitoring areas can be viewed from the image information of a single channel, greatly simplifying the operation.

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

[0065] In this implementation, a matching first lens is assigned to each target area, enabling the first lens to monitor the corresponding target area. By assigning a matching first lens to each target area, the first lens can clearly capture the image information of the corresponding target area, avoiding the problem of loss of far-focus information. The image captured by the lens will not be distorted, ensuring event detection results for the corresponding target area and achieving accurate monitoring of the corresponding target area.

[0066] In one embodiment, assigning a matching first lens to each target area involves: for each target area, determining a matching first lens for the target area; and adjusting lens parameters of the matching first lens. The lens parameters include at least one of the following: focal length and magnification. In other words, by adjusting the lens parameters of the matching first lens, the first lens is focused on the target area to achieve a clear display effect, enabling the first lens to accurately monitor the target area.

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

[0068] In one embodiment, the number of target areas is greater than the number of first lenses; assigning a matching first lens to each target area specifically comprises: obtaining a monitoring priority for each target area; and assigning a matching first lens to each target area according to the monitoring priority of each target area, until all first lenses have been assigned. In other words, since the number of first lenses of a monitoring device is limited, when the number of first lenses of a monitoring device is insufficient, first lenses are assigned to the target areas according to their monitoring priorities, so that target areas with higher monitoring priorities are preferentially and accurately monitored.

[0069] Step S73: configuring target event triggering rules associated with the corresponding target area for the target monitoring screen corresponding to each target area.

[0070] In this embodiment, target event triggering rules associated with the target area are configured for the target monitoring screen corresponding to each target area. In one embodiment, after determining the first shot matching the target area, the target event triggering rules associated with the target area can be sent to the first shot, so that the target event triggering rules associated with the target area are drawn on the first shot.

[0071] Step S74: Acquire a target monitoring image of at least one first lens of the monitoring device.

[0072] Step S74 is similar to step S11 and will not be described again here.

[0073] Step S75: performing event detection on the target monitoring screen of each first shot to obtain the event detection result corresponding to each first shot.

[0074] Step S75 is similar to step S12 and will not be described again here.

[0075] See also Figure 8 , Figure 8 is a schematic structural diagram of an embodiment of an event detection device provided herein. Event detection device 80 includes an acquisition module 81 and a detection module 82. Acquisition module 81 is configured to acquire a target monitoring image from at least one first lens of a monitoring device. A first lens is configured to monitor a target area. The monitoring device is also configured with a second lens. The target area is a monitoring area within the lens acquisition area corresponding to the second lens. The focal length of the first lens is greater than that of the second lens. Detection module 82 is configured to perform event detection on the target monitoring image of each first lens, obtaining an event detection result corresponding to each first lens.

[0076] Among them, the lens collection area corresponding to the above-mentioned first lens is configured as the corresponding target area.

[0077] Among them, the above-mentioned target monitoring screen is configured with target event trigger rules; the event detection device 80 also includes a configuration module 83, which is used to obtain each target area and the target event trigger rules associated with each target area before obtaining the target monitoring screen of at least one first lens of the monitoring device; assign a matching first lens to each target area so that the first lens can monitor the corresponding target area; and configure the target event trigger rules associated with the corresponding target area for the target monitoring screen corresponding to each target area.

[0078] Among them, the configuration module 83 is used to obtain the target event trigger rules associated with each target area, including: 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 will be covered as the target event trigger rules associated with the target area.

[0079] Among them, the configuration module 83 is used to obtain several initial event trigger rules in response to the user's rule configuration operation on the collection interface, including: in response to the user's rule drawing operation on the collection interface, displaying several reference event trigger rules on the collection interface; in response to the user's adjustment operation on at least one reference event trigger rule, using the adjusted reference event trigger rule and the remaining unadjusted reference event trigger rules as several initial event trigger rules.

[0080] The configuration module 83 is used to display a number of initial event triggering rules on the collection interface.

[0081] Among them, the configuration module 83 is used to obtain each target area, including: displaying the acquisition interface of the second lens; obtaining several divided areas in response to the user's area division operation on the acquisition interface; for each divided area, using the acquisition area corresponding to the divided area as the target area.

[0082] Among them, the configuration module 83 is used to obtain several 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, displaying several 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, using the adjusted initial area and the remaining unadjusted initial area as several divided areas.

[0083] The configuration module 83 is used to display several divided areas on the acquisition interface.

[0084] The configuration module 83 is used to assign a matching first lens to each target area, including: for each target area, determining the first lens that matches the target area; adjusting the lens parameters of the first lens that matches the target area; wherein the lens parameters include at least one of the following: focal length, magnification ratio.

[0085] 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 assign a matching first lens to each target area, including: obtaining the monitoring priority of each target area; according to the monitoring priority of each target area, assigning a matching first lens to each target area until all the first lenses are assigned.

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

[0087] In which, the target lens of the above-mentioned monitoring equipment is communicatively connected with the external platform, and the target lens is one of the following: a second lens, a first lens; the event detection device 80 also includes a summary module 84, which is used to perform event detection on the target monitoring screen of each first lens and obtain the event detection results corresponding to each first lens, including: 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.

[0088] See also Figure 9 , Figure 9 is a schematic diagram of the structure of an embodiment of an electronic device provided in this application. Electronic device 90 includes a memory 91 and a processor 92 coupled to each other. Processor 92 is configured to execute program instructions stored in memory 91 to implement the steps of any of the above-described event detection method embodiments. In a specific implementation scenario, electronic device 90 may include, but is not limited to, a microcomputer and a server. Furthermore, electronic device 90 may also include mobile devices such as laptops and tablet computers, which are not limited herein.

[0089] Specifically, the processor 92 is used to control itself and the memory 91 to implement the steps of any of the above-mentioned embodiments of the fault detection method. The processor 92 can also be called a CPU (Central Processing Unit). The processor 92 may be an integrated circuit chip with signal processing capabilities. The processor 92 can 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 can be a microprocessor or the processor can also be any conventional processor. In addition, the processor 92 can be implemented by an integrated circuit chip.

[0090] See also Figure 10 , Figure 10 This is a schematic diagram of the structure 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. When executed, the program instructions 101 implement the method provided by any embodiment of the event detection method of the present application and any non-conflicting combination. The program instructions 101 can be stored in the computer-readable storage medium 100 in the form of a program file in the form of a software product, so that a computer device (which can be a personal computer, server, or network device, etc.) can execute all or part of the steps of the method of each embodiment of the present application. The aforementioned computer-readable storage medium 100 includes: various media that can store program code, 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 disk, or terminal devices such as a computer, server, mobile phone, and tablet.

[0091] If the technical solution of this application involves personal information, the product that applies the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing personal information. If the technical solution of this application involves sensitive personal information, the product that applies the technical solution of this application has obtained the individual's separate consent before processing sensitive personal information, and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, a clear and prominent sign is 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 they agree to the collection of their personal information; or on the personal information processing device, when the personal information processing rules are notified by obvious signs / information, the individual's authorization is obtained through pop-up information or by asking the individual to upload their personal information; among which, 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.

[0092] 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 description and drawings of this application, or directly or indirectly applied 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 image 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 within a lens acquisition area corresponding to the second lens, the focal length of the first lens is greater than that of the second lens, and a target event triggering rule corresponding to the target monitoring image of the first lens is configured through an acquisition interface of the second lens; Performing event detection on the target monitoring images of each of the first lenses to obtain event detection results corresponding to each of the first lenses; The target monitoring screen is configured with target event triggering rules, and the steps of obtaining the target event triggering rules associated with each target area include: Displaying a capture interface of the second lens; wherein the capture interface is configured with at least one divided area, and a lens capture area corresponding to one of the divided areas is the target area; In response to a user's rule configuration operation on the collection interface, obtaining a plurality of initial event triggering rules; For each target area, 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.

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

3. The method according to claim 1, characterized in that Before acquiring the target monitoring picture of at least one first lens of the monitoring device, the method further includes: Acquire each of the target areas and target event triggering rules associated with each of the target areas; Allocating a matching first lens to each target area 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 1, wherein 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 triggering rules, the adjusted reference event triggering rule and the remaining unadjusted reference event triggering rules are used as the initial event triggering rules.

5. The method according to claim 1, wherein The method further comprises: The plurality of initial event triggering rules are displayed on the collection interface.

6. The method according to claim 3, characterized in that The steps of acquiring each target area include: Displaying the acquisition interface of the second lens; In response to a user's region division operation on the acquisition interface, obtaining a plurality of divided regions; For each divided area, the acquisition area corresponding to the divided area is used as the target area.

7. The method according to claim 6, 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 user's region division operation 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.

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

9. The method according to claim 3, characterized in that The allocating a matching first shot to each target area includes: For each target area, determining a first shot that matches the target area; Adjusting 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.

10. 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 assigning a matching first lens to each of the target areas includes: 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.

11. 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 a quality assessment on the fused monitoring image 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 reallocated first lens and the target area is greater than a matching degree between the historically allocated first lens and the target area.

12. The method according to claim 1, characterized in that 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 and the first lens; after performing event detection on the target monitoring images 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 an aggregated 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.

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

14. 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 12.

Citation Information

Patent Citations

  • Methods, devices and systems for controlling video surveillance arrays

    CN102263932A

  • Monitoring method, multi-view camera device, electronic device and storage medium

    CN113691771A

  • Rule line drawing method and device, electronic device and storage medium

    CN116342737A