A method, device and equipment for deploying video surveillance facilities
By obtaining the target area, sampling points, determining the monitoring area and calculating the optimal layout status in the layout of indoor video surveillance facilities, the problem of deployment in the existing technology is solved, and a more efficient and economical video surveillance facilities are achieved.
Patent Information
- Application Number
- CN202510001171.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-01
AI Technical Summary
The existing technology is greatly affected by subjective factors in the layout of indoor video surveillance facilities, making it difficult to achieve reasonable layout, resulting in waste of resources and low monitoring performance.
By obtaining the target monitoring area, sampling on the area boundary based on the preset sampling interval, obtaining the coordinates of the laid-out point, and combining the visible angle of the monitoring equipment, the monitoring area under different layout angles is determined, the optimal layout status is calculated, and the unmonitored and monitored areas are updated.
It reduces the impact of engineering personnel experience on the layout plan, improves the efficiency of solving video surveillance layout problems, reduces the cost of layout plans, and realizes a more reasonable layout of video surveillance facilities.
Smart Images

Figure CN119743582A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of geographic space information technology, and in particular to a method, device and equipment for deploying video monitoring facilities. Background Art
[0002] In today's highly modernized society, indoor activities occupy a lot of human time, such as stations, office buildings and shopping malls. Indoor video surveillance has become an indispensable part of urban security prevention and control and comprehensive management, and is the most important link in indoor security prevention. However, the current research on the deployment of video surveillance terminals is more inclined to outdoor deployment. For closed but more complex and changeable indoor environments, there is relatively little research on the deployment of related situations. The research on the deployment of indoor video surveillance facilities lacks scientific and reasonable methodological guidance, and is mainly based on the existing experience of engineering personnel. There are problems such as unreasonable distribution of cameras, low coverage of monitoring range, low monitoring and maintenance efficiency, etc. It is difficult to fully meet actual needs and there is a waste of equipment costs.
[0003] At present, the mainstream methods for indoor video surveillance deployment are mainly hierarchical analysis, expert evaluation and other methods. Although such methods also quantitatively process some factors affecting surveillance deployment, the deployment results still rely mainly on empirical knowledge and are greatly affected by subjective factors. Therefore, it is difficult to reasonably deploy video surveillance, which easily leads to waste of resources and cannot guarantee the efficient monitoring performance of the video surveillance system. Summary of the invention
[0004] The purpose of the present invention is to solve the problem that the current indoor video surveillance deployment is greatly affected by subjective factors and it is difficult to achieve reasonable deployment of video surveillance. The present invention provides a deployment method, device and equipment for video surveillance facilities.
[0005] The technical solution of the embodiment of the present application is implemented as follows: A first aspect of an embodiment of the present application provides a method for deploying a video surveillance facility, comprising: Acquire a target monitoring area; the target monitoring area includes an unmonitored area and a monitored area; Sampling is performed on the boundary of the target monitoring area based on a preset sampling interval to obtain coordinates of deployable points; According to the deployable point coordinates and the visual angle of the monitoring device, the monitoring area of the monitoring device at different deployment angles is determined to obtain a deployable state set S: ; in, Indicates the coordinates of the monitoring device location, Indicates the layout angle of the monitoring equipment. Indicates the monitoring area of the monitoring device in the current state; Based on the deployable state set S and in combination with the currently monitored area, the current optimal deployment state is calculated; The unmonitored area and the monitored area are updated according to the current optimal deployment state.
[0006] Optionally, obtaining the target monitoring area includes: The target monitoring area A is set according to the area to be deployed; the target monitoring area A and the unmonitored area , monitored areas satisfy: ; The target monitoring area A is edge simplified to remove irregular boundaries of the target monitoring area.
[0007] Optionally, the calculating of the current optimal deployment state based on the deployable state set S and in combination with the currently monitored area includes: Based on the monitored area of the deployable state set S and currently monitored areas The union of gets the monitored area of the current round : ; Among them, k represents the round of algorithm iteration, is the monitored area in round k; Will The largest monitored area in the current round is recorded as , and The corresponding deployable state is recorded as the deployment state of the kth video surveillance device : ; ; in, Represents a function that calculates the area of a region.
[0008] Optionally, updating the unmonitored area and the monitored area according to the current optimal deployment state includes: according to Update monitored and unmonitored areas: ; ; If the monitored area If the area reaches the expected value, stop updating; otherwise, recalculate the current optimal layout state.
[0009] The second aspect of the embodiment of the present application provides a method system for deploying video surveillance facilities, including: an acquisition module, a sampling module, a determination module, a calculation module and an update module; wherein, The acquisition module is configured to acquire a target monitoring area; the target monitoring area includes an unmonitored area and a monitored area; The sampling module is configured to perform sampling on the boundary of the target monitoring area based on a preset sampling interval to obtain the coordinates of deployable points; The determination module is configured to determine the monitoring area of the monitoring device at different deployment angles according to the deployable point coordinates and the visual angle of the monitoring device, and obtain a deployable state set S: ; in, Indicates the coordinates of the monitoring device location, Indicates the layout angle of the monitoring equipment. Indicates the monitoring area of the monitoring device in the current state; The calculation module is configured to calculate the current optimal deployment state based on the deployable state set S and in combination with the currently monitored area; The updating module is configured to update the unmonitored area and the monitored area according to the current optimal deployment state.
[0010] Optionally, the acquisition module is specifically configured as follows: The target monitoring area A is set according to the area to be deployed; the target monitoring area A and the unmonitored area , monitored areas satisfy: ; The target monitoring area A is edge simplified to remove irregular boundaries of the target monitoring area.
[0011] Optionally, the calculation module is specifically configured as follows: Based on the monitored area of the deployable state set S and currently monitored areas The union of gets the monitored area of the current round : ; Among them, k represents the round of algorithm iteration, is the monitored area in round k; Will The largest monitored area in the current round is recorded as , and The corresponding deployable state is recorded as the deployment state of the kth video surveillance device : ; ; in, Represents a function that calculates the area of a region.
[0012] Optionally, the update module is specifically configured as follows: according to Update monitored and unmonitored areas: ; ; If the monitored area If the area reaches the expected value, stop updating; otherwise, recalculate the current optimal layout state.
[0013] A third aspect of an embodiment of the present application provides an electronic device, including a processor and a memory; the memory stores a computer program, wherein the computer program, when executed by the processor, implements the method for deploying video surveillance facilities described in the first aspect.
[0014] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0015] Compared with the prior art, the technical solution provided by this application has the following beneficial effects: The present invention provides a method, device and equipment for deploying video surveillance facilities, which obtains a target monitoring area, samples on the boundary of the target monitoring area based on a preset sampling interval, obtains deployable point coordinates, determines the monitoring area of the monitoring device at different deployment angles based on the deployable point coordinates and the visual angle of the monitoring device, obtains a deployable state set, calculates the current optimal deployment state based on the deployable state set and in combination with the current monitored area, and then updates the unmonitored area and the monitored area based on the current optimal deployment state. The technical solution of the present invention reduces the influence of engineering personnel's experience and knowledge on the deployment plan, so that the indoor video surveillance deployment plan does not rely on personal experience, converts the indoor video surveillance deployment problem into a set coverage problem, improves the efficiency of solving the video surveillance deployment problem, and reduces the deployment plan cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a flow chart of a method for deploying video surveillance facilities provided in an embodiment of the present application; Figure 2A schematic diagram of the layout state provided for an embodiment of the present application; Figure 3 A schematic diagram of the structure of a video surveillance facility deployment system provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] Below, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present application. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present application. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present application. The terms used herein are only for describing specific embodiments and are not intended to limit the present application. The terms "include", "comprising", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components. All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0018] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some blocks or combinations thereof in the block diagrams and / or flow charts may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions, when executed by the processor, may create a device for implementing the functions / operations described in these block diagrams and / or flow charts.
[0019] In some embodiments, see Figure 1 , Figure 1 A schematic diagram of a flow chart of a method for deploying video surveillance facilities provided in an embodiment of the present application; the method for deploying video surveillance facilities provided in an embodiment of the present application includes: S110, obtaining a target monitoring area; the target monitoring area includes an unmonitored area and a monitored area.
[0020] In this embodiment, the effective range of the camera's field of view can be calculated based on the width of the camera image sensor and the focal length of the camera, and the room can be divided into a visible area or an invisible area based on the line of sight from the camera image sensor's viewpoint to the target point, and the target monitoring area of the indoor video surveillance can be determined based on the effective range of the camera's field of view, the visible area, and the invisible area.
[0021] In some embodiments, S110, obtaining a target monitoring area includes: Set the target monitoring area A according to the area to be deployed; the target monitoring area A and the unmonitored area , monitored areas satisfy: ; The target monitoring area A is edge simplified to remove the irregular boundaries of the target monitoring area.
[0022] In this embodiment, it involves simplifying the image edge of the target monitoring area A. For example, an edge detection algorithm is used to detect the edge of the image, continuous edge pixels are found, and they are connected into closed curves or contours, morphological operations (such as dilation and erosion) are applied to smooth the contour, remove small protrusions and depressions, and a contour simplification algorithm (such as the Douglas-Peucker algorithm) is used to reduce the number of points on the contour while maintaining the main shape features of the contour, and the simplified contour is curve fitted to generate a smoother and more regular boundary.
[0023] S120, sampling is performed on the boundary of the target monitoring area based on a preset sampling interval to obtain coordinates of deployable points.
[0024] S130, determining the monitoring area of the monitoring device at different deployment angles according to the deployable point coordinates and the visual angle of the monitoring device, and obtaining a deployable state set S: ; in, Indicates the coordinates of the monitoring device location, Indicates the layout angle of the monitoring equipment. Indicates the monitoring area of the monitoring device in the current state.
[0025] Here, the viewing angle of the monitoring device can be 30 degrees or 45 degrees, and there is no limitation on this.
[0026] S140, based on the deployable state set S and in combination with the currently monitored area, calculate the current optimal deployment state.
[0027] In some embodiments, S140, based on the deployable state set S and in combination with the currently monitored area, the current optimal deployment state is calculated, including: Monitored area based on deployable state set S and currently monitored areas The union of gets the monitored area of the current round : ; Among them, k represents the round of algorithm iteration, is the monitored area in round k; Will The largest monitored area in the current round is recorded as , and The corresponding deployable state is recorded as the deployment state of the kth video surveillance device : ; ; in, Represents a function that calculates the area of a region.
[0028] For an example, see Figure 2 , Figure 2 The schematic diagram of the layout state provided by the embodiment of the present application; taking the visual angle of the monitoring device as 30 degrees as an example, the three layout states A, B, and C are calculated in sequence. When calculating each layout state, the algorithm traverses all the deployable states on each layout point and calculates the layout state according to the following formula: By comparison, we get The layout state when it is maximum is the optimal layout state.
[0029] S150: Update the unmonitored area and the monitored area according to the current optimal deployment status.
[0030] In some embodiments, S150, updating the unmonitored area and the monitored area according to the current optimal deployment state includes: according to Update monitored and unmonitored areas: ; ; If the monitored area When the area reaches the expected value, the update stops.
[0031] Here, the expected value of the monitoring area can be 90% of the total area of the target monitoring area. If the area of the monitored area reaches the expected value, the update is stopped; otherwise, the current optimal layout state is recalculated.
[0032] The embodiment of the present invention obtains the target monitoring area, samples on the boundary of the target monitoring area based on a preset sampling interval, obtains the coordinates of deployable points, determines the monitoring area of the monitoring device under different deployment angles based on the coordinates of the deployable points and the visual angle of the monitoring device, obtains a deployable state set, calculates the current optimal deployment state based on the deployable state set and in combination with the current monitored area, and then updates the unmonitored area and the monitored area based on the current optimal deployment state. The technical solution of the present invention reduces the influence of the experience and knowledge of engineering personnel on the deployment plan, so that the indoor video monitoring deployment plan does not rely on personal experience, converts the indoor video monitoring deployment problem into a set coverage problem, improves the efficiency of solving the video monitoring deployment problem, and reduces the cost of the deployment plan.
[0033] In some embodiments, see Figure 3 , Figure 3 A schematic diagram of a video surveillance facility deployment system provided in an embodiment of the present application; The present application provides a video surveillance facility deployment system 300, including: an acquisition module 310, a sampling module 320, a determination module 330, a calculation module 340 and an update module 350; wherein, The acquisition module 310 is configured to acquire a target monitoring area; the target monitoring area includes an unmonitored area and a monitored area; The sampling module 320 is configured to perform sampling on the boundary of the target monitoring area based on a preset sampling interval to obtain the coordinates of deployable points; The determination module 330 is configured to determine the monitoring area of the monitoring device at different deployment angles according to the deployable point coordinates and the visual angle of the monitoring device, and obtain a deployable state set S: ; in, Indicates the coordinates of the monitoring device location, Indicates the layout angle of the monitoring equipment. Indicates the monitoring area of the monitoring device in the current state; The calculation module 340 is configured to calculate the current optimal deployment state based on the deployable state set S and in combination with the currently monitored area; The updating module 350 is configured to update the unmonitored areas and the monitored areas according to the current optimal deployment status.
[0034] In some embodiments, the acquisition module 310 is specifically configured as follows: Set the target monitoring area A according to the area to be deployed; the target monitoring area A and the unmonitored area , monitored areas satisfy: ; The target monitoring area A is edge simplified to remove the irregular boundaries of the target monitoring area.
[0035] In some embodiments, the calculation module 340 is specifically configured as follows: Monitored area based on deployable state set S and currently monitored areas The union of gets the monitored area of the current round : ; Among them, k represents the round of algorithm iteration, is the monitored area in round k; Will The largest monitored area in the current round is recorded as , and The corresponding deployable state is recorded as the deployment state of the kth video surveillance device : ; ; in, Represents a function that calculates the area of a region.
[0036] In some embodiments, the update module 350 is specifically configured as follows: according to Update monitored and unmonitored areas: ; ; If the monitored area If the area reaches the expected value, stop updating; otherwise, recalculate the current optimal layout state.
[0037] The video surveillance facility deployment device provided in the embodiment of the present application can implement each process in the embodiment corresponding to the above-mentioned video surveillance facility deployment method, and will not be described again here to avoid repetition.
[0038] It should be noted that the video surveillance facility deployment device provided in the embodiment of the present application and the video surveillance facility deployment method provided in the embodiment of the present application are based on the same application concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned video surveillance facility deployment method, and the repeated parts will not be repeated.
[0039] In some embodiments, see Figure 4 , Figure 4The electronic device 400 provided in the embodiment of the present application includes a processor 410 and a memory 420; the memory 420 stores a computer program, wherein the computer program implements the above-mentioned video surveillance facility deployment method when executed by the processor. Specifically, the processor 410 may include, for example, a general-purpose microprocessor, an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 410 may also include an onboard memory for cache purposes. The processor 410 may be a single processing unit or multiple processing units for executing different actions of the method flow according to the embodiment of the present application.
[0040] The memory 420 may be any medium capable of containing, storing, conveying, propagating or transmitting instructions. For example, the memory 420 may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device, component or propagation medium. Specific examples of the memory 420 include: a magnetic storage device, such as a magnetic tape or a hard disk (HDD); an optical storage device, such as a compact disk (CD-ROM); a random access memory (RAM) or flash memory; and / or a wired / wireless communication link.
[0041] The present application also provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned method for deploying video surveillance facilities is implemented. The computer-readable medium may be included in the device / apparatus / system described in the above-mentioned embodiments; or it may exist independently without being assembled into the device / apparatus / system. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed, the method according to the embodiment of the present application is implemented.
[0042] According to an embodiment of the present application, a computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical cable, radio frequency signal, etc., or any suitable combination of the above.
[0043] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present application. Therefore, the scope of the present application should not be limited to the above-described embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.
Claims
1. A method for deploying video surveillance facilities, characterized in that: include: Acquire a target monitoring area; the target monitoring area includes an unmonitored area and a monitored area; Sampling is performed on the boundary of the target monitoring area based on a preset sampling interval to obtain coordinates of deployable points; According to the deployable point coordinates and the visual angle of the monitoring device, the monitoring area of the monitoring device at different deployment angles is determined to obtain a deployable state set S: ; in, Indicates the coordinates of the monitoring device location, Indicates the layout angle of the monitoring equipment. Indicates the monitoring area of the monitoring device in the current state; Based on the deployable state set S and in combination with the currently monitored area, the current optimal deployment state is calculated; The unmonitored area and the monitored area are updated according to the current optimal deployment state.
2. The method for deploying video surveillance facilities according to claim 1, characterized in that: The step of obtaining the target monitoring area includes: The target monitoring area A is set according to the area to be deployed; the target monitoring area A and the unmonitored area , monitored areas satisfy: ; The target monitoring area A is edge simplified to remove irregular boundaries of the target monitoring area.
3. The method for deploying video surveillance facilities according to claim 1, characterized in that: The calculating the current optimal deployment state based on the deployable state set S and in combination with the currently monitored area includes: Based on the monitored area of the deployable state set S and currently monitored areas The union of gets the monitored area of the current round : ; Among them, k represents the round of algorithm iteration, is the monitored area in round k; Will The largest monitored area in the current round is recorded as , and The corresponding deployable state is recorded as the deployment state of the kth video surveillance device : ; ; in, Represents a function that calculates the area of a region.
4. The method for deploying video surveillance facilities according to claim 3, characterized in that: The updating of the unmonitored area and the monitored area according to the current optimal deployment state includes: according to Update monitored and unmonitored areas: ; ; If the monitored area If the area reaches the expected value, stop updating; otherwise, recalculate the current optimal layout state.
5. A device for deploying video surveillance facilities, characterized in that: include: Acquisition module, sampling module, determination module, calculation module and update module; among them, The acquisition module is configured to acquire a target monitoring area; the target monitoring area includes an unmonitored area and a monitored area; The sampling module is configured to perform sampling on the boundary of the target monitoring area based on a preset sampling interval to obtain the coordinates of deployable points; The determination module is configured to determine the monitoring area of the monitoring device at different deployment angles according to the deployable point coordinates and the visual angle of the monitoring device, and obtain a deployable state set S: ; in, Indicates the coordinates of the monitoring device location, Indicates the layout angle of the monitoring equipment. Indicates the monitoring area of the monitoring device in the current state; The calculation module is configured to calculate the current optimal deployment state based on the deployable state set S and in combination with the currently monitored area; The updating module is configured to update the unmonitored area and the monitored area according to the current optimal deployment state.
6. The video surveillance facility deployment device according to claim 5, characterized in that: The acquisition module is specifically configured as follows: The target monitoring area A is set according to the area to be deployed; the target monitoring area A and the unmonitored area , monitored areas satisfy: ; The target monitoring area A is edge simplified to remove irregular boundaries of the target monitoring area.
7. The video surveillance facility deployment device according to claim 5, characterized in that: The calculation module is specifically configured as follows: Based on the monitored area of the deployable state set S and currently monitored areas The union of gets the monitored area of the current round : ; Among them, k represents the round of algorithm iteration, is the monitored area in round k; Will The largest monitored area in the current round is recorded as , and The corresponding deployable state is recorded as the deployment state of the kth video surveillance device : ; ; in, Represents a function that calculates the area of a region.
8. The video surveillance facility deployment device according to claim 7, characterized in that: The update module is specifically configured as follows: according to Update monitored and unmonitored areas: ; ; If the monitored area If the area reaches the expected value, stop updating; otherwise, recalculate the current optimal layout state.
9. An electronic device comprising a processor and a memory; the memory stores a computer program, wherein: When the computer program is executed by the processor, the computer program implements the method for deploying the video surveillance facility according to any one of claims 1 to 4.
10. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.