Target detection method and device, electronic equipment and storage medium

By dividing the target defense zone into areas and object directions, and using limited shooting equipment to effectively detect and record multiple objects to be tested, the problem of detection vulnerabilities in security detection is solved, and security and detection efficiency are improved.

CN118865221APending Publication Date: 2024-10-29XIAN UNIVIEW INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310470251.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In security detection scenarios, it is difficult for a limited number of shooting devices to effectively detect multiple target objects, resulting in detection loopholes and security risks.

Method used

By dividing the target defense area into sub-detection areas, and dividing the objects to be measured into objects moving closer to or away from the target defense area, the same shooting device can be used to track or capture multiple objects at the same time to maximize detection of high-risk objects. Detection and recording of objects.

Benefits of technology

In the case of limited shooting equipment, effective tracking, detection and capture of multiple objects to be tested are achieved, ensuring a complete clue chain, avoiding detection omissions, and improving safety and traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865221A_ABST
    Figure CN118865221A_ABST
Patent Text Reader

Abstract

The invention discloses a target detection method and device, electronic equipment and a storage medium. The method comprises the following steps: determining at least one to-be-detected object in a sub-detection area, wherein the sub-detection area is obtained by performing area division on a target detection area of a target defense area; determining a first object from the at least one to-be-detected object, wherein the first object is the to-be-detected object moving in the direction close to the target defense area; and tracking and detecting the first object, and enabling the same shooting device in at least part of shooting devices to track and detect at least two first objects at the same time. According to the scheme, each to-be-detected object close to the target defense area can be tracked and detected in real time, the to-be-detected object with high dangerousness can be maximally shot under the condition that shooting equipment is limited, the integrity of a clue chain is ensured, and the traceability of each to-be-detected object in the sub-detection area under limited shooting equipment resources is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security detection technology, and in particular to a target detection method, device, electronic equipment and storage medium. Background Art

[0002] In security detection scenarios, target objects entering the detection area can usually be detected through shooting equipment (such as cameras, etc.).

[0003] In the related scheme, after the camera detects that the target object enters the detection area, the camera can track and shoot the target object, especially track and shoot multiple target objects entering the detection area. However, in actual use, it is found that the number of target objects entering the detection area is relatively large, and it is difficult for the limited number of cameras to effectively detect the target objects, resulting in reduced effectiveness of target detection, and there will be relatively large detection loopholes, which will lead to safety hazards. Summary of the invention

[0004] The present invention provides a target detection method, device, electronic device and storage medium to solve the problem of missed detection during multi-target detection due to insufficient number of cameras.

[0005] According to one aspect of the present invention, a target detection method is provided, the method comprising:

[0006] Determine at least one object to be detected in a sub-detection area, wherein the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone into regions;

[0007] Determine a first object from the at least one object to be detected, where the first object is an object to be detected moving in a direction close to the target defense zone;

[0008] The first objects are tracked and detected, and at least one of the at least some of the shooting devices is enabled to track and detect at least two first objects simultaneously.

[0009] According to another aspect of the present invention, there is provided a target detection device, the device comprising:

[0010] A first determination module is used to determine at least one object to be detected in a sub-detection area, wherein the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone;

[0011] A second determination module is used to determine a first object from the at least one object to be detected, where the first object is an object to be detected moving in a direction close to the target defense zone;

[0012] The target detection module is used to track and detect the first object, and enable the same shooting device in at least some of the shooting devices to track and detect at least two first objects at the same time.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the target detection method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target detection method described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention determines at least one object to be measured in each sub-detection area obtained by dividing the target detection area of ​​the target defense area into areas, and divides at least one object to be measured in the sub-detection area into a first object that moves in the direction close to the target defense area, thereby ensuring that each object to be measured close to the target defense area can be tracked and detected in real time, thereby maximizing the capture of high-risk objects to be measured when the shooting equipment is limited, ensuring the integrity of the clue chain, and achieving traceability of each object to be measured in the sub-detection area with limited shooting equipment resources, thereby avoiding omission of objects to be measured as much as possible.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a flow chart of a target detection method provided according to an embodiment of the present invention;

[0022] Figure 2 is a schematic diagram of a scenario of a target defense zone and a target detection zone applicable to an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of dividing a target detection area of ​​a target defense zone according to an embodiment of the present invention;

[0024] Figure 4 is a schematic diagram of visible areas of different sub-detection areas of a target detection area of ​​a photographing device applicable to an embodiment of the present invention;

[0025] Figure 5 is a flow chart of another target detection method provided according to an embodiment of the present invention;

[0026] Figure 6 is a schematic diagram of determining a tracking object in a sub-detection area of ​​a target detection area according to an embodiment of the present invention;

[0027] Figure 7 is a schematic structural diagram of a target detection device provided according to an embodiment of the present invention;

[0028] Figure 8 It is a schematic diagram of the structure of an electronic device for implementing the target detection method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Figure 1A flow chart of a target detection method is provided for an embodiment of the present invention. This embodiment is applicable to the case where the number of photographing devices is limited and adaptive full coverage detection is performed on the objects to be detected that enter the detection area. The method can be executed by a target detection device, which can be implemented in the form of hardware and / or software. The target detection device can be configured in any electronic device with network communication function. Figure 1 As shown, the target detection method of this embodiment may include the following process:

[0032] S110, determining at least one object to be detected in a sub-detection area, where the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone.

[0033] The target defense zone may be an area that needs to be detected for security. The target detection zone may include a radar detection zone allowed by a target radar for detecting the target defense zone. The detection edge zone of the radar detection zone at least partially overlaps with the edge zone of the target defense zone. According to the direction from near to far from the target defense zone in the target detection zone, the target detection zone is pre-divided into at least two sub-detection zones in sequence, and the object to be detected is identified in each sub-detection zone.

[0034] Optionally, the target detection area formed for the target defense zone may be in the shape of a sector or a 360-degree circular area, and the sector or 360-degree circular area may be divided into at least two sub-detection areas according to the direction from near to far in the target detection area.

[0035] See also Figure 2 , taking the target defense zone as a building area that needs to be protected as an example, the protection area corresponding to the target defense zone and the radar detection area range of the target radar for the target defense zone are mapped onto a plane, and the boundary line on one side of the target defense zone close to the radar detection area is taken as the bottom line. Starting from the bottom line to the direction away from the bottom line, the radar detection area is divided into four sub-detection areas: emergency sub-detection area, dangerous sub-detection area, serious sub-detection area, and general sub-detection area. The number and names of the above area divisions are only examples and are not limited. Figure 2 By identifying the objects to be detected in the sub-detection areas, object A can be identified in the emergency sub-detection area, objects B and C can be identified in the danger sub-detection area, object D can be identified in the serious sub-detection area, and object E can be identified in the general sub-detection area.

[0036] As an optional but non-limiting implementation method, at least two sub-detection areas divided in the target detection area are arranged adjacent to each other in sequence along a reference direction starting from a reference baseline, the reference direction is a direction extending from the target defense area to the target detection area, the reference baseline is obtained by connecting at least two reference base points, and at least two reference base points are configured based on edge points of the target defense area close to one side of the target detection area.

[0037] See also Figure 2 The reference base point can be a position point selected from the edge point of the target defense zone close to one side of the target detection area. Each selected reference base point is located in the target detection area, and the reference baseline is obtained by connecting at least two selected reference base points. For example, the longitude and latitude of each position selected from the edge point of the target defense zone is used as the base point, and the reference base points are connected to form a reference baseline for dividing the target detection area, which is recorded as the bottom protection line I.

[0038] See also Figure 2 The reference direction is the direction extending from the target defense area to the target detection area on one side of the target defense area, that is, from Figure 2 The target defense zone in the middle extends to the target detection zone on the right side of the target defense zone. Starting from the reference baseline along the reference direction, the target detection zone is divided into at least two sub-detection zones from the inside to the outside. For example, Figure 2 The emergency sub-detection area, dangerous sub-detection area, serious sub-detection area, general sub-detection area, etc. are divided into the following areas.

[0039] As an optional but non-limiting implementation method, at least two sub-detection areas divided in the target detection area are obtained by dividing the target detection area of ​​the target defense zone based on at least three protection lines. The at least three protection lines include a reference baseline and a reference line obtained by translating the reference baseline toward a reference position point. The reference position point includes a first position point and a second position point. The first position point is determined based on a position point that is farthest from the reference baseline and is located in the target detection area. The second position point is determined based on an equally divided position point or an equally divided distance when the distance from the first position point to the reference baseline is equally divided.

[0040] See also Figure 2 , taking the target defense area as a building area that needs to be protected as an example, a position point selected from the edge point of the target defense area close to the target detection area is used as a reference base point in advance, and a reference baseline is obtained by connecting at least two selected reference base points. The reference baseline constitutes the bottom protection line I of the target detection area. The position point farthest from the reference baseline in the target detection area is used as the end point, which is recorded as the first position point here. The distance L between the end point and the bottom protection line is calculated, and L is divided into preset parts (for example Figure 2), and obtain the equal-division distance or equal-division position point of each portion.

[0041] Continue to see Figure 2 and Figure 3 , based on the bottom protection line I, starting from the reference baseline, the reference baseline is translated toward the end point, and when it moves to the first position point and the second position point in sequence, a protection line similar to the reference baseline is formed, so that the protection lines I, II, III, IV, and V divided in the target detection area can be obtained. Among them, the fan-shaped area formed by the dotted line is the target detection area formed by radar scanning, base point 1_0-base point 1_4 is the bottom protection line I of the target defense area, and the triangle shape mark is the end point farthest from the bottom protection line I of the target defense area in the target detection area formed by radar scanning.

[0042] Continue to see Figure 2 and Figure 3 , an exemplary description is given of at least two sub-detection areas divided in the target detection area and arranged adjacently in sequence starting from the reference baseline along the reference direction: the protection line I formed by base point 1_0-base point 1_4 and the protection line II formed by base point 2_0-base point 2_4 can constitute the longitude and latitude matrix of the first sub-detection area, which can be called the emergency area; the protection line II formed by base point 2_0-base point 2_4 and the protection line III formed by base point 3_0-base point 3_4 can constitute the longitude and latitude matrix of the second sub-detection area, which can be called the danger area; the protection line III formed by base point 3_0-base point 3_4 and the protection line IV formed by base point 4_0-base point 4_4 can constitute the longitude and latitude matrix of the third sub-detection area, which can be called the serious area; the protection line IV formed by base point 4_0-base point 4_4 and the protection line V formed by base point 4_0-base point 4_4 can constitute the longitude and latitude matrix of the fourth sub-detection area, which can be called the general area, and so on to form more sub-detection areas.

[0043] By adopting the above scheme, the target detection area is divided into multiple sub-detection areas. After multiple objects to be detected enter the target detection area of ​​the radar defense, the multiple objects to be detected can be classified into target sets in different areas, so as to realize differentiated multi-target tracking and detection according to different levels of different sub-detection areas. In addition, the visual range of the shooting equipment is limited and cannot cover the entire target detection area at one time, so it can be divided into each sub-detection area for detection.

[0044] S120. Determine a first object and a second object from at least one object to be detected, wherein the first object is an object to be detected that moves toward a direction close to a target defense zone, and the second object is an object to be detected that does not move toward a direction close to the target defense zone.

[0045] See also Figure 2, according to the actual scenario, some objects to be detected in each sub-detection area will not only pass through the sub-detection area but also move towards the target defense area (for example Figure 2 In the sub-detection area, some objects to be detected will pass through the sub-detection area and move away from the target defense area (for example, Figure 2 and some objects to be detected only pass through the sub-detection area and will neither pass through the sub-detection area to move to the target defense area, nor pass through the sub-detection area to move to other sub-detection areas far away from the target defense area (for example Figure 2 The above-mentioned object to be detected D) can be summarized as the object to be detected that does not move in the direction close to the target defense zone, and is recorded as the second object. For at least one object to be detected identified in the sub-detection area, the identified object to be detected can be classified according to the moving direction of the object to be detected relative to the target defense zone.

[0046] S130, tracking and detecting the first object, and enabling the same shooting device in at least some of the shooting devices to simultaneously track and detect at least two first objects; and, capturing and detecting the second object, and enabling the same shooting device in at least some of the shooting devices to simultaneously track and detect at least two second objects.

[0047] After the radar fixes the scanning area of ​​the target defense zone, it can associate the shooting equipment (such as PTZ cameras) that can shoot these sub-detection areas for joint detection to achieve the shooting of the target. However, the reality is that the number of shooting equipment cannot match the number of objects to be tested, and it is impossible to track and shoot each object to be tested.

[0048] In this case, at least one object to be tested in the sub-detection area is divided into a first object that moves toward the target defense area and a second object that does not move toward the target defense area. By screening out the first object and the second object, it is ensured that each object to be tested close to the target defense area can be tracked and detected in real time. At the same time, the object to be tested far away from the target defense area is captured once to leave image evidence, thereby maximizing the capture of high-risk objects to be tested when the shooting equipment is limited, ensuring the integrity of the clue chain, and achieving traceability of each object to be tested in the sub-detection area.

[0049] At the same time, considering that using one camera to track and detect a first object, although directional tracking is achieved, it also limits the possibility that the camera cannot track other first objects at the same time. For this reason, according to the shooting range of the camera, the same camera in some of the cameras can simultaneously track and detect multiple first objects that are adjacent in position when performing tracking detection, so that only one camera is needed to track and detect multiple first objects. In addition, for the snapshot detection of the second object in the sub-detection area, the same camera in some of the cameras can also be used to capture multiple second objects at the same time, so that only one camera is needed to capture multiple second objects.

[0050] As an optional but non-limiting implementation, determining the first object and the second object from at least one object to be detected may include the following steps A1-A3:

[0051] Step A1: determine the moving direction of at least one object to be detected in the sub-detection area.

[0052] The target detection area and the target defense zone are mapped to a plane, and the radar data reported by the radar when scanning the object to be detected in the sub-detection area is obtained. For example, the radar data set of the target detection area scanned and reported by the radar includes the following: [(x1, y1), (x2, y2), (x3, y3), (x4, y4), (x5, y5), (x6, y6), (x7, y7), (x8, y8), (x9, y9), (a, b), (a1, b1)].

[0053] For radar data reported by the radar when scanning the object to be detected in the sub-detection area, the moving speed of the object to be detected in the sub-detection area in the horizontal and vertical directions and the distance relative to the radar in the horizontal and vertical directions are extracted from the radar data, and the sub-detection area where the object to be detected is located is determined based on the distance relative to the radar in the horizontal and vertical directions, that is, whether the object to be detected is in a sub-detection area in the target detection area is determined, and the object to be detected is assigned to the radar data set of the sub-detection area where it is located, so that the objects to be detected that need to be protected in different sub-detection areas can be obtained. An exemplary division is as follows: the emergency area corresponds to [(x1, y1), (x2, y2), (x10, y10)]; the danger area corresponds to [(x4, y4), (x6, y6), (x8, y8)]; the serious area corresponds to [(x7, y7), (x3, y3)]; the general area corresponds to [(x9, y9), (x5, y5)].

[0054] Step A2: If it is detected that the object to be tested is in a first state based on the moving direction of at least one object to be tested, the object to be tested in the first state is identified as a first object, and the first state is moving toward a first reference boundary line in a sub-detection area where at least one object to be tested is located, and the first reference boundary line is an area boundary line corresponding to the sub-detection area close to the target defense zone.

[0055] For any sub-detection area, the area boundary line corresponding to the sub-detection area close to the target defense zone is used as the first reference boundary line. According to the moving direction of each object to be detected in the sub-detection area, the objects to be detected that move toward the first reference boundary line in the sub-detection area can be screened out as the first objects. The screened out first objects are formed into a set of objects to be detected located in the sub-detection area and moving in the direction close to the first reference boundary line, so as to call the shooting device for tracking and shooting.

[0056] Step A3: If it is detected that the object to be detected is in the second state based on the moving direction of at least one object to be detected, the object to be detected in the second state is identified as a second object, and the second state is moving toward the second reference boundary line in the sub-detection area where the at least one object to be detected is located, or passing through the sub-detection area between the first reference boundary line and the second reference boundary line, and the second reference boundary line is the area boundary line corresponding to the sub-detection area away from the target defense zone side.

[0057] For any sub-detection area, the area boundary line corresponding to the sub-detection area away from the target defense area is used as the second reference boundary line. According to the moving direction of each object to be detected in the sub-detection area, the objects to be detected that move toward the second reference boundary line in the sub-detection area or just pass through the sub-detection area and neither move toward the first reference boundary line nor the second reference boundary line can be screened out as second objects. The screened out second objects are formed into a set of objects to be detected that are located in the sub-detection area and move toward the second reference boundary line or pass through the sub-detection area between the first reference boundary line and the second reference boundary line, so as to call the shooting device to capture.

[0058] Optionally, the objects to be tested that are screened as the first object and the second object can be scanned and detected in real time by radar. When it is detected that the object to be tested that is screened as the first object is in the second state, it is promptly adjusted to the second object for screening out; when it is detected that the object to be tested that is screened as the second object is in the first state, it is promptly adjusted to the first object for screening out.

[0059] As an optional but non-limiting implementation method, the number of objects to be detected in the target detection area is greater than the number of shooting devices used for target detection in the target detection area. With this solution, even if the number of shooting devices is limited, by dividing at least one object to be detected in the sub-detection area to track and detect the key objects to be detected, only a small number of shooting devices are needed to capture and detect the uncritical objects to be detected, ensuring that no objects to be detected in the target detection area are missed, and achieving full coverage detection.

[0060] According to the technical solution of the embodiment of the present invention, at least one object to be tested in each sub-detection area obtained by dividing the target detection area of ​​the target defense area into regions is determined, and at least one object to be tested in the sub-detection area is divided into a first object moving in a direction close to the target defense area and a second object not moving in a direction close to the target defense area, so as to ensure that each object to be tested close to the target defense area can be tracked and detected in real time, and at the same time, the object to be tested far away from the target defense area is captured once to leave image evidence, so as to maximize the capture of high-risk objects to be tested when the shooting equipment is limited, ensure the integrity of the clue chain, realize the traceability of each object to be tested in the sub-detection area, and avoid omission of objects to be tested as much as possible.

[0061] Based on the above embodiment, optionally, tracking detection of the first object and capturing detection of the second object may include the following steps B1-B2:

[0062] Step B1, determining a preset shooting focal length parameter when using a shooting device in a sub-detection area, and configuring that the farther the sub-detection area where the shooting device is used is from the target defense area, the smaller the preset shooting focal length adapted by the shooting device in the corresponding sub-detection area.

[0063] The radar in the target defense zone can bind N shooting devices to detect each sub-detection area in the target detection area, namely C1, C2, C3..., CN.

[0064] The preset shooting focal length parameters of the shooting device in the sub-detection area are adjusted based on the distance between the sub-detection area and the target defense area. According to the different levels of different sub-detection areas, the shooting focal lengths of different sub-detection areas can be gradually reduced, and the equipment resources can be saved through adaptive adjustment. For example, the farther the sub-detection area is from the target defense area, the smaller the preset shooting focal length is adapted, and correspondingly, the closer the sub-detection area is to the target defense area, the larger the preset shooting focal length is adapted. As shown in Table 1 below, the shooting focal lengths used for different types of first objects or second objects in the same sub-detection area can be the same or different.

[0065] Step B2: Using a shooting device and using an adaptive preset shooting focal length parameter, the first object is tracked and detected, and the second object is captured and detected.

[0066] Optionally, each camera has a testable shooting focal length P when taking clear pictures of people, cars, and other objects in different sub-detection areas. It can be seen that in addition to ensuring the adaptive adjustment of the focal length, the shooting clarity also needs to be ensured. Therefore, when adaptively adjusting the shooting focal length, it is also necessary to ensure that the image clarity collected by the camera using the adaptive preset shooting focal length parameters in the corresponding sub-detection area meets the preset clarity. In this way, a clear target can be captured when using the camera to detect the sub-detection area.

[0067] Table 1 The shooting focal lengths adapted by the shooting equipment in different sub-detection areas

[0068]

[0069] Based on the above embodiment, optionally, tracking detection of the first object and capturing detection of the second object may include the following steps C1-C2:

[0070] Step C1, select available shooting devices from the shooting device group associated with the sub-detection area in order from large to small according to the preset visible area; wherein each shooting device in the shooting device is configured in sequence according to the preset visible area size of the shooting device in the sub-detection area.

[0071] The focal lengths used by the photographing devices in different sub-detection areas may be the same or different, so the visible areas of different photographing devices can be obtained according to the different focal lengths. In this way, for any sub-detection area, the visible area size of different photographing devices in the sub-detection area is obtained. Because as many targets as possible should be photographed, each sub-detection area is sorted from large to small according to the visible area size of each photographing device in the sub-detection area to form a dispatchable photographing device sequence set, which is recorded as the photographing device group associated with the sub-detection area, such as the photographing devices corresponding to the emergency area [C1, C3, C2, ...], the photographing devices corresponding to the danger area [C3, C4, C2, ...], the photographing devices corresponding to the severe area [C5, C9, C1, ...], and the photographing devices corresponding to the general area [C5, C3, C1, ...].

[0072] As shown in Table 2, when using a camera in a sub-detection area, a camera with a large visible area can be used preferentially for multi-target tracking detection, that is, a camera with a large visible area is preferentially selected for tracking detection.

[0073] Table 2 The visible area size of the camera in different sub-detection areas

[0074]

[0075] Alternatively, see Figure 4 The preset visible area is based on the visible area in which the shooting device adjusts the shooting focus in the sub-detection area and can make the image clarity collected by the shooting device in the sub-detection area meet the preset clarity. The size of the preset visible area is expressed by the maximum horizontal distance and the maximum vertical distance that the shooting device can shoot in the sub-detection area.

[0076] Step C2: Tracking and detecting the first object and capturing and detecting the second object by using the selected shooting device.

[0077] By adopting the above scheme, the bound shooting equipment is allocated according to the number, direction, target type, sub-detection area, etc. of the radar target, and dynamically scheduled according to the principle of tracking clarity and including multiple targets at the same time, to ensure that every target close to the defense zone is captured by the camera and to retain the video information of the intruder as much as possible.

[0078] Figure 5 The present invention provides another flow chart of a target detection method. The technical solution of this embodiment further optimizes the process of tracking and detecting the first object and capturing and detecting the second object in the above embodiment. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 5 As shown, the target detection method of this embodiment includes but is not limited to the following processes S510-S570:

[0079] S510: Determine at least one object to be detected in a sub-detection area, where the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone.

[0080] S520: Determine a first object and a second object from at least one object to be detected, wherein the first object is an object to be detected that moves toward a direction close to the target defense zone, and the second object is an object to be detected that does not move toward a direction close to the target defense zone.

[0081] S530: Determine a reference object and a position of the reference object in the detection area from the remaining first objects that have not been tracked in the sub-detection area, wherein the reference object is selected from outside of the remaining first objects.

[0082] Optionally, for the remaining untracked first objects in the sub-detection area, a first object can be selected from the outermost side as a reference object, and the lateral and longitudinal distances of the reference object relative to the radar can be extracted through radar data as the position of the reference object in the detection area.

[0083] S540: Determine a shooting device to be used for tracking detection in the sub-detection area using the reference object as a detection base point.

[0084] Optionally, determining the shooting device to be used for tracking detection in the sub-detection area with the reference object as the detection base point may include: selecting available shooting devices from the shooting device group associated with the sub-detection area in order from large to small according to the preset visible area; wherein each shooting device in the shooting device is configured in sequence according to the preset visible area size of the shooting device in the sub-detection area, and the shooting device with a large visible area is preferentially selected for tracking detection.

[0085] As an optional but non-limiting implementation, determining the reference object from the remaining untracked detected first objects in the sub-detection area may include the following:

[0086] Along a direction parallel to the reference baseline, the first first object is selected from the remaining untracked first objects in the sub-detection area as the reference object, the reference baseline is obtained by connecting at least two reference base points, and at least two reference base points are configured based on edge points of the target defense zone located in the target detection area.

[0087] See also Figure 6 , in the direction of the parallel protection line (the direction of the reference baseline), map each point and find the point set [(x1,y1),(x10,y10),(x2,y2)] from near to far in the direction of the parallel protection line in the sub-detection area. The reverse direction is also possible, that is, [(x2,y2),(x10,y10),(x1,y1)]. Select the first first object from the remaining untracked first objects in the sub-detection area along the direction of the parallel protection line as the reference object.

[0088] S550, determining a tracking detection position area of ​​the camera device in the sub-detection area according to the size of the visible area of ​​the camera device in the sub-detection area and the position of the reference object, wherein the reference object is located within a preset distance from an edge of the tracking detection position area.

[0089] See also Figure 6 The size of the visible area of ​​the camera in the sub-detection area is the area that can be observed when the camera tracks the sub-detection area, that is, when the shooting angle of the camera remains unchanged, the position exceeding the size of the visible area is difficult to be photographed by the camera. In order to include more objects to be measured in the visible area, the reference object can be used as the detection base point, so that the tracking detection position area is formed in the sub-detection area according to the size of the visible area of ​​the camera, and the reference object is located at the edge of the tracking detection position area, so as to avoid the situation where the reference object is located in the middle of the visible area, and due to the outside of the reference object, no tracking detection is performed in a part of the visible area, resulting in a waste of the visible area.

[0090] As an optional but non-limiting implementation, determining the tracking detection position area of ​​the camera device in the sub-detection area according to the size of the visible area of ​​the camera device in the sub-detection area and the position of the reference object may include the following steps D1-D2:

[0091] Step D1, taking the position of the reference object as the detection base point position, according to the horizontal distance and vertical distance corresponding to the size of the visible area of ​​the shooting device in the sub-detection area, four points are determined along the direction parallel to the reference baseline and the direction perpendicular to the reference baseline. The reference baseline is obtained by connecting at least two reference base points, and at least two reference base points are configured based on the edge points of the target defense zone located in the target detection area.

[0092] Step D2: determine the area marked by the four point connection lines in the sub-detection area as the tracking detection position area of ​​the shooting device in the sub-detection area.

[0093] See also Figure 6 , taking the reference object as the base point, in the horizontal and vertical directions with respect to the reference baseline, taking the horizontal distance XN_X and the vertical distance YN_X_ corresponding to the visible area of ​​the camera with the largest visible area size among the available cameras in the sub-detection area, and then intersecting to obtain four points, a tracking detection position area with the reference object as the base point is obtained. After calculation, the selected camera is adjusted to be unavailable for other tracking detection position areas of the same sub-detection area and other sub-detection areas, and is removed from the set of available cameras in the sub-detection area.

[0094] S560: Track and detect the first object in the tracking detection position area by using a photographing device, and return to continue to determine the next reference object from the remaining first objects in the sub-detection area that have not been tracked and detected as the next detection base point for tracking and detection.

[0095] The first object in the tracking detection position area is tracked and detected by the shooting device. For the remaining first objects that have not been tracked and detected, the next reference object and the position of the next reference object in the detection area can be determined from the remaining first objects that have not been tracked and detected in the sub-detection area, and the next tracking detection position area is determined with the next reference object as the detection base point until all the first objects that need to be tracked and detected are tracked. In this way, all N targets in the area are photographed, and a camera allocation plan for tracking and shooting is obtained.

[0096] See also Figure 6, the first object is selected: [(x1, y1), (x10, y10)] is tracked and photographed by the camera C1, and the remaining [(x2, y2)] is tracked and photographed by the camera C3. After the camera is allocated, it cannot be used again, and the camera in the camera set of other sub-detection areas needs to be cleared.

[0097] As an optional but non-limiting implementation, tracking and detecting the first object may include the following process:

[0098] After allocating a camera to the first object in the first sub-detection area for tracking detection, allocating a camera to the first object in the second sub-detection area and using the allocated camera to track the first object in the second sub-detection area, the same camera is no longer allocated to the second detection area after being allocated to the first detection area for tracking detection;

[0099] Among them, the distance from the first sub-detection area to the target defense area in the target detection area is smaller than the distance from the second sub-detection area to the target defense area.

[0100] See also Figure 2 and Figure 3 , from the emergency area, danger area, serious area, and general area, the tracking detection position area for tracking the first object in the sub-detection area is calculated in sequence and the shooting equipment is allocated, and the first object in the sub-detection area close to the target defense area is tracked first. Using the above scheme, according to the different visible areas of different cameras, the emergency area is prioritized for simultaneous tracking of multiple targets to allocate cameras, and multiple target tracking according to severity is achieved.

[0101] In addition, after the same camera is assigned to a sub-detection area for use, it cannot be assigned to other sub-detection areas for use at the same time. That is, some of the camera devices in the camera set of the second detection area need to be excluded when they are assigned to the second detection area because they have been assigned to use in the first sub-detection area. For example, the camera set of the first detection area includes camera 1, camera 2, and camera 3, and camera 1 and camera 2 are used. The camera set of the second detection area includes camera 2, camera 5, and camera 6. Since camera 2 is used in the first detection area, the camera set of the second detection area currently needs to exclude camera 2 before making a selection.

[0102] Optionally, after the allocation of shooting devices is completed, if there are still first objects that have not been tracked by the shooting devices, the calculation of the number of shooting devices required to track the remaining first objects can be retained and performed every few hours to record the curve corresponding to the number of first objects and the missing shooting devices. Subsequently, by following up the curve analysis, the shooting devices can be reasonably increased to achieve better shooting effects.

[0103] S570: Snapshot and detect the second object, and enable the same shooting device in at least some of the shooting devices to track and detect at least two second objects simultaneously.

[0104] The specific process of realizing the detection of multiple second objects as much as possible with the same photographing device can refer to the logic of detecting multiple first objects at the same time, and the specific selection process is the same.

[0105] According to the technical solution of the embodiment of the present invention, at least one object to be tested in each sub-detection area obtained by dividing the target detection area of ​​the target defense area into regions is determined, and at least one object to be tested in the sub-detection area is divided into a first object moving in a direction close to the target defense area and a second object not moving in a direction close to the target defense area, so as to ensure that each object to be tested close to the target defense area can be tracked and detected in real time, and at the same time, the object to be tested far away from the target defense area is captured once to leave image evidence, so as to maximize the capture of high-risk objects to be tested when the shooting equipment is limited, ensure the integrity of the clue chain, realize the traceability of each object to be tested in the sub-detection area, and avoid omission of objects to be tested as much as possible.

[0106] Figure 7 A structural block diagram of a target detection device is provided for an embodiment of the present invention. This embodiment can be applied to the case where adaptive full coverage detection of objects to be detected entering the detection area is performed when the number of shooting devices is limited. The target detection device can be implemented in the form of hardware and / or software, and the target detection device can be configured in any electronic device with network communication function.

[0107] like Figure 7 As shown, the target detection of this embodiment may include:

[0108] A first determination module 710 is used to determine at least one object to be detected in a sub-detection area, where the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone;

[0109] A second determination module 720 is used to determine a first object and a second object from the at least one object to be detected, wherein the first object is an object to be detected that moves toward the direction close to the target defense zone, and the second object is an object to be detected that does not move toward the direction close to the target defense zone;

[0110] The target detection module 730 is used to track and detect the first object, and enable the same shooting device in at least some of the shooting devices to simultaneously track and detect at least two first objects; and to capture and detect the second object, and enable the same shooting device in at least some of the shooting devices to simultaneously track and detect at least two second objects.

[0111] Based on the above embodiment, optionally, the number of objects to be detected in the target detection area is greater than the number of shooting devices used for target detection in the target detection area.

[0112] Based on the above embodiment, optionally, at least two sub-detection areas divided in the target detection area are arranged adjacent to each other in sequence starting from a reference baseline along a reference direction, the reference direction is a direction extending from the target defense area to the target detection area, and the reference baseline is obtained by connecting at least two reference base points, and the at least two reference base points are configured based on edge points of the target defense area close to one side of the target detection area.

[0113] On the basis of the above embodiment, optionally, at least two sub-detection areas divided in the target detection area are obtained by dividing the target detection area of ​​the target defense zone based on at least three protection lines, and the at least three protection lines include a reference baseline and a reference line obtained by translating the reference baseline toward a reference position point, and the reference position point includes a first position point and a second position point, and the first position point is determined based on a position point that is farthest from the reference baseline and located in the target detection area, and the second position point is determined based on an equally divided position point or an equally divided distance when the distance from the first position point to the reference baseline is equally divided.

[0114] Based on the above embodiment, optionally, determining the first object and the second object from the at least one object to be detected includes:

[0115] Determining a moving direction of the at least one object to be detected in the sub-detection area;

[0116] If it is detected that there is an object to be detected in a first state according to the moving direction of the at least one object to be detected, the object to be detected in the first state is identified as a first object, the first state is moving toward a first reference boundary line in the sub-detection area where the at least one object to be detected is located, and the first reference boundary line is a boundary line of the area close to the target defense area corresponding to the sub-detection area;

[0117] If it is detected that there is an object to be detected in a second state based on the moving direction of the at least one object to be detected, the object to be detected in the second state is identified as a second object, and the second state is moving toward a second reference boundary line in the sub-detection area where the at least one object to be detected is located, or passing through the sub-detection area between the first reference boundary line and the second reference boundary line, and the second reference boundary line is an area boundary line corresponding to the sub-detection area away from the target defense zone side.

[0118] Based on the above embodiment, optionally, the tracking detection of the first object and the snapshot detection of the second object include:

[0119] Determine a preset shooting focal length parameter when using a shooting device in the sub-detection area, and configure that the farther the sub-detection area where the shooting device is used is from the target defense area, the smaller the preset shooting focal length adapted by the shooting device in the corresponding sub-detection area;

[0120] The shooting device uses an adaptive preset shooting focal length parameter to track and detect the first object and to capture and detect the second object.

[0121] On the basis of the above embodiment, optionally, the clarity of the image captured by the photographing device in the corresponding sub-detection area using the adapted preset photographing focal length parameters meets the preset clarity.

[0122] Based on the above embodiment, optionally, the tracking detection of the first object and the snapshot detection of the second object include:

[0123] Selecting available photographing devices from the photographing device group associated with the sub-detection area in descending order according to the preset visible area; wherein each photographing device in the photographing device is sequentially configured according to the preset visible area size of the photographing device in the sub-detection area;

[0124] The first object is tracked and detected by the selected shooting device, and the second object is captured and detected.

[0125] On the basis of the above embodiment, optionally, the preset visible area is based on the visible area in which the shooting device adjusts the shooting focus in the sub-detection area and can make the image clarity captured by the shooting device in the sub-detection area meet the preset clarity. The size of the preset visible area is expressed by the maximum horizontal distance and the maximum vertical distance that the shooting device can shoot in the sub-detection area.

[0126] Based on the above embodiment, optionally, the tracking and detecting the first object includes:

[0127] Determine a reference object and a position of the reference object in the detection area from the remaining untracked first objects in the sub-detection area, wherein the reference object is selected from the outside of the remaining first objects;

[0128] Determine a photographing device used for tracking detection in the sub-detection area using the reference object as a detection base point;

[0129] Determine a tracking detection position area of ​​the camera in the sub-detection area according to the size of the visible area of ​​the camera in the sub-detection area and the position of the reference object, wherein the reference object is located within a preset distance from an edge of the tracking detection position area;

[0130] Tracking and detecting the first object in the tracking and detecting position area is performed by using a photographing device, and returning to continue to determine a next reference object from the remaining first objects in the sub-detection area that have not been tracked and detected as the next detection base point for tracking and detecting.

[0131] Based on the above embodiment, optionally, determining the reference object from the remaining untracked detected first objects in the sub-detection area includes:

[0132] Along a direction parallel to a reference baseline, a first first object is selected as a reference object from the remaining first objects that have not been tracked and detected in the sub-detection area, wherein the reference baseline is obtained by connecting at least two reference base points, and the at least two reference base points are configured based on edge points of the target defense zone located in the target detection area.

[0133] Based on the above embodiment, optionally, determining the tracking detection position area of ​​the shooting device in the sub-detection area according to the size of the visible area of ​​the shooting device in the sub-detection area and the position of the reference object includes:

[0134] Taking the position of the reference object as the detection base point position, according to the horizontal distance and the vertical distance corresponding to the size of the visible area of ​​the sub-detection area of ​​the shooting device, four points are determined along the direction parallel to the reference baseline and the direction perpendicular to the reference baseline, the reference baseline is obtained by connecting at least two reference base points, and the at least two reference base points are configured based on the edge points of the target defense zone located in the target detection area;

[0135] The area marked by the connecting line of the four points in the sub-detection area is determined as the tracking detection position area of ​​the photographing device in the sub-detection area.

[0136] Based on the above embodiment, optionally, the tracking and detecting the first object includes:

[0137] After allocating a photographing device to the first object in the first sub-detection area for tracking detection, allocating a photographing device to the first object in the second sub-detection area and using the allocated photographing device to track and detect the first object in the second sub-detection area, the same photographing device is no longer allocated to the second detection area after being allocated to the first detection area for tracking detection;

[0138] Among them, the distance from the first sub-detection area to the target defense area in the target detection area is smaller than the distance from the second sub-detection area to the target defense area.

[0139] The target detection device provided in the embodiment of the present invention can execute the target detection method provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the target detection method. For detailed process, please refer to the relevant operations of the target detection method in the above embodiment.

[0140] Figure 8 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0141] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0142] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0143] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a target detection method.

[0144] In some embodiments, the target detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the target detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the target detection method in any other appropriate manner (e.g., by means of firmware).

[0145] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0146] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0147] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0148] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0149] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0150] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0151] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0152] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A target detection method, characterized in that: The method comprises: Determine at least one object to be detected in a sub-detection area, wherein the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone into regions; Determine a first object from the at least one object to be detected, where the first object is an object to be detected moving in a direction close to the target defense zone; The first objects are tracked and detected, and at least one of the at least some of the shooting devices is enabled to track and detect at least two first objects simultaneously.

2. The method according to claim 1, characterized in that The method further comprises: Determine a second object from the at least one object to be detected, where the second object is an object to be detected that has not moved in a direction close to the target defense zone; The second object is captured and detected, and the same shooting device in at least some of the shooting devices is enabled to track and detect at least two second objects simultaneously.

3. The method according to claim 1, characterized in that At least two sub-detection areas divided in the target detection area are arranged adjacent to each other in sequence starting from a reference baseline along a reference direction, wherein the reference direction is a direction extending from the target defense area to the target detection area, and the reference baseline is obtained by connecting at least two reference base points, and the at least two reference base points are configured based on edge points of the target defense area close to one side of the target detection area; The at least two sub-detection areas are obtained by dividing the target detection area based on at least three protection lines, and the at least three protection lines include a reference baseline and a reference line obtained by translating the reference baseline toward a reference position point, and the reference position point includes a first position point and a second position point, and the first position point is determined based on the position point that is farthest from the reference baseline and located in the target detection area, and the second position point is determined based on the equally divided position point or the equally divided distance when the distance from the first position point to the reference baseline is equally divided.

4. The method according to claim 1, characterized in that: The determining of the first object from the at least one object to be detected comprises: Determining a moving direction of the at least one object to be detected in the sub-detection area; If it is detected that there is an object to be tested in a first state based on the moving direction of the at least one object to be tested, the object to be tested in the first state is identified as a first object, and the first state is moving toward a first reference boundary line in the sub-detection area where the at least one object to be tested is located, and the first reference boundary line is an area boundary line corresponding to the sub-detection area close to the target defense zone side.

5. The method according to claim 1, characterized in that The tracking and detecting the first object includes: Selecting available photographing devices from the photographing device group associated with the sub-detection area in descending order according to the preset visible area; wherein each photographing device in the photographing device is sequentially configured according to the preset visible area size of the photographing device in the sub-detection area; The first object is tracked and detected by using the selected shooting device.

6. The method according to claim 1, characterized in that The tracking and detecting the first object includes: Determine a reference object and a position of the reference object in the detection area from the remaining untracked first objects in the sub-detection area, wherein the reference object is selected from the outside of the remaining first objects; Determine a photographing device used for tracking detection in the sub-detection area using the reference object as a detection base point; Determine a tracking detection position area of ​​the camera in the sub-detection area according to the size of the visible area of ​​the camera in the sub-detection area and the position of the reference object, wherein the reference object is located within a preset distance from an edge of the tracking detection position area; Tracking and detecting the first object in the tracking and detecting position area is performed by using a photographing device, and returning to continue to determine a next reference object from the remaining first objects in the sub-detection area that have not been tracked and detected as the next detection base point for tracking and detecting.

7. The method according to claim 6, characterized in that The determining of the reference object from the remaining untracked detected first objects in the sub-detection area comprises: Along a direction parallel to a reference baseline, a first first object is selected as a reference object from the remaining first objects that have not been tracked and detected in the sub-detection area, wherein the reference baseline is obtained by connecting at least two reference base points, and the at least two reference base points are configured based on edge points of the target defense zone located in the target detection area.

8. The method according to claim 6, characterized in that Determining the tracking detection position area of ​​the shooting device in the sub-detection area according to the size of the visible area of ​​the shooting device in the sub-detection area and the position of the reference object includes: Taking the position of the reference object as the detection base point position, according to the horizontal distance and the vertical distance corresponding to the size of the visible area of ​​the sub-detection area of ​​the shooting device, four points are determined along the direction parallel to the reference baseline and the direction perpendicular to the reference baseline, the reference baseline is obtained by connecting at least two reference base points, and the at least two reference base points are configured based on the edge points of the target defense zone located in the target detection area; The area marked by the connecting line of the four points in the sub-detection area is determined as the tracking detection position area of ​​the photographing device in the sub-detection area.

9. The method according to any one of claims 1 to 8, characterized in that: The tracking and detecting the first object includes: After allocating a photographing device to the first object in the first sub-detection area for tracking detection, allocating a photographing device to the first object in the second sub-detection area and using the allocated photographing device to track and detect the first object in the second sub-detection area, the same photographing device is no longer allocated to the second detection area after being allocated to the first detection area for tracking detection; Among them, the distance from the first sub-detection area to the target defense area in the target detection area is smaller than the distance from the second sub-detection area to the target defense area.

10. A target detection device, characterized in that: The device comprises: A first determination module is used to determine at least one object to be detected in a sub-detection area, wherein the sub-detection area is obtained by dividing the target detection area of ​​the target defense zone; A second determination module is used to determine a first object from the at least one object to be detected, where the first object is an object to be detected moving in a direction close to the target defense zone; The target detection module is used to track and detect the first object, and enable the same shooting device in at least some of the shooting devices to track and detect at least two first objects at the same time.

11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the target detection method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target detection method according to any one of claims 1 to 9 when executed.

Citation Information

Patent Citations

  • Radar-guided video linkage monitoring system and control method

    CN108965809A

  • Moving target tracking method based on cascade detector

    CN110222585A

  • Target detection method, device and equipment and storage medium

    CN112312068A

  • Parameter calibration method, target object tracking method, device and system

    CN114693799A

  • Target collision early warning method and device, electronic equipment and storage medium

    CN114987463A