Visual area adjusting method and device, electronic equipment and storage medium
By obtaining the visual area time and position information of the monitoring equipment, and determining and adjusting the visual area of the monitoring equipment, the monitoring blind spots and overlapping areas caused by the installation error of the monitoring equipment is solved, and the rationality of the monitoring layout is improved.
Patent Information
- Application Number
- CN202311776461.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-06-24
AI Technical Summary
There are errors in the installation of existing monitoring equipment, which leads to some areas being repeatedly monitored in monitoring blind spots or being repeatedly monitored by multiple monitoring equipment, reducing the rationality of monitoring layout.
By obtaining the moment when the targets corresponding to each monitoring device enter and leave the visible area, based on these moments and monitoring device position information, the area to be adjusted (including monitoring blind spots and overlap areas) is determined, and the corresponding monitoring device visual area is adjusted to eliminate or reduce the area to be adjusted.
It realizes the automatic determination and adjustment of the visual area of the monitoring equipment, eliminates or reduces monitoring blind spots and overlap areas, thereby improving the rationality of the monitoring layout.
Smart Images

Figure CN120201298A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of camera technology, and in particular, to a method, apparatus, electronic device, and storage medium for adjusting a visible area. Background Art
[0002] In today's digital age, monitoring devices have become an important part of our living and working environments. From protecting personal privacy to ensuring public safety, monitoring devices play a key role in various fields.
[0003] In the related art, when installing monitoring devices in a certain area, the installation positions of each monitoring device are usually determined based on the layout plan of the area, and each monitoring device is installed manually.
[0004] However, in the above-mentioned related art, due to reasons such as layout planning and manual installation, there are errors in the installation of each monitoring device, resulting in some areas being in the monitoring blind area or being repeatedly monitored by multiple monitoring devices at the same time, thereby reducing the rationality of the monitoring layout. Summary of the Invention
[0005] Aiming at the problems existing in the prior art, the present invention provides a method, apparatus, electronic device, and storage medium for adjusting a visible area.
[0006] The present invention provides a method for adjusting a visible area, including:
[0007] Obtaining a first moment and a second moment corresponding to each monitoring device in a target area, where the first moment is the moment when a target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area;
[0008] Based on the first moment, second moment corresponding to each monitoring device, and the position information of all monitoring devices, determining a to-be-adjusted area in the target area, where the to-be-adjusted area includes a monitoring blind area and / or a monitoring overlapping area;
[0009] Based on the to-be-adjusted area, determining to-be-adjusted monitoring devices, and adjusting the visible areas of the to-be-adjusted monitoring devices, so that the to-be-adjusted area is eliminated or reduced after the visible areas of the to-be-adjusted monitoring devices are adjusted.
[0010] According to the method for adjusting a visible area provided by the present invention, the step of determining the to-be-adjusted area in the target area based on the first moment, second moment corresponding to each monitoring device, and the position information of all monitoring devices includes:
[0011] Based on the position information of all monitoring devices, determining adjacent first and second monitoring devices;
[0012] When the second moment corresponding to the first monitoring device is less than the first moment corresponding to the second monitoring device, it is determined that there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device;
[0013] When the second moment corresponding to the first monitoring device is greater than the first moment corresponding to the second monitoring device, it is determined that there is a monitoring overlap area between the visible area of the first monitoring device and the visible area of the second monitoring device.
[0014] According to an adjustment method for a visible area provided by the present invention, the method further includes:
[0015] When there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device, determine a first time difference between the first moment corresponding to the second monitoring device and the second moment corresponding to the first monitoring device, and based on the first time difference and the target speed corresponding to the target, determine a first distance of the monitoring blind area, where the first distance is used to determine the monitoring device to be adjusted;
[0016] When there is a monitoring overlap area between the visible area of the first monitoring device and the visible area of the second monitoring device, determine a second time difference between the second moment corresponding to the first monitoring device and the first moment corresponding to the second monitoring device, and based on the second time difference and the target speed corresponding to the target, determine a second distance of the monitoring overlap area, where the second distance is used to determine the monitoring device to be adjusted.
[0017] According to an adjustment method for a visible area provided by the present invention, determining the monitoring device to be adjusted based on the area to be adjusted and adjusting the visible area of the monitoring device to be adjusted includes:
[0018] When there is a target monitoring overlap area between the third monitoring device and the fourth monitoring device, and there is a target monitoring blind area between the fifth monitoring device and the sixth monitoring device, determine that the monitoring devices to be adjusted are the target monitoring devices between the third monitoring device and the sixth monitoring device; both the fourth monitoring device and the fifth monitoring device are arranged between the third monitoring device and the sixth monitoring device;
[0019] Based on a third distance of the target monitoring blind area and a fourth distance of the target monitoring overlap area, determine an adjustment angle of each of the target monitoring devices, where the adjustment angle is used to adjust the visible area of each of the target monitoring devices, the third distance is used to represent the size of the target monitoring blind area; the fourth distance is used to represent the size of the target monitoring overlap area.
[0020] A method for adjusting a visible area provided by the present invention, determining an adjustment angle of each of the target monitoring devices based on a third distance of the target monitoring blind area and a fourth distance of the target monitoring overlapping area, includes:
[0021] When the third distance is less than or equal to the fourth distance, for each of the target monitoring devices, based on a viewing angle of the target monitoring device, a distance of a visible area of the target monitoring device, and the third distance, determine the adjustment angle of the target monitoring device.
[0022] A method for adjusting a visible area provided by the present invention, the method further includes:
[0023] When the third distance is greater than the fourth distance, there is no monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is no monitoring overlapping area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, based on a viewing angle of the target monitoring device, a distance of a visible area of the target monitoring device, and the fourth distance, determine the adjustment angle of the target monitoring device;
[0024] When the third distance is greater than the fourth distance, there is a monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is no monitoring overlapping area between the sixth monitoring device and the second other monitoring device, or when the third distance is greater than the fourth distance, there is no monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is a monitoring overlapping area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, based on a viewing angle of the target monitoring device, a distance of a visible area of the target monitoring device, and the third distance, determine the adjustment angle of the target monitoring device, and determine a distance difference between the third distance and the fourth distance, and based on the distance difference, determine the adjustment angle of the first other monitoring device or the second other monitoring device.
[0025] A method for adjusting a visible area provided by the present invention, determining a to-be-adjusted monitoring device based on the to-be-adjusted area, and adjusting a visible area of the to-be-adjusted monitoring device, includes:
[0026] When there is a monitoring overlapping area between a seventh monitoring device and an eighth monitoring device, there is a monitoring blind area between the seventh monitoring device and a ninth monitoring device, and the seventh monitoring device is disposed at a corner of the target area, determine the to-be-adjusted monitoring device as the seventh monitoring device;
[0027] Obtain a first moment, a second moment, and a third moment corresponding to the seventh monitoring device, where the third moment is the moment when the target is located at the corner;
[0028] Determine a third moment difference between the first moment and the third moment, and a fourth moment difference between the third moment and the second moment;
[0029] Based on the third moment difference and the target speed corresponding to the target, determine a fifth distance, and based on the fourth moment difference and the target speed corresponding to the target, determine a sixth distance;
[0030] Based on the distance of the monitoring overlapping area between the seventh monitoring device and the eighth monitoring device, and the distance of the monitoring blind area between the seventh monitoring device and the ninth monitoring device, determine the moving distance of the visible area of the seventh monitoring device;
[0031] Based on the installation position of the seventh monitoring device, the fifth distance, the sixth distance, and the moving distance, determine the adjustment angle of the seventh monitoring device, and the adjustment angle of the seventh monitoring device is used to adjust the visible area of the seventh monitoring device.
[0032] The present invention also provides an adjustment device for a visible area, including:
[0033] An obtaining unit, configured to obtain a first moment and a second moment corresponding to each monitoring device in a target area, where the first moment is the moment when the target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area;
[0034] A first determining unit, configured to determine a to-be-adjusted area in the target area based on the first moment, the second moment corresponding to each monitoring device, and the position information of all monitoring devices, where the to-be-adjusted area includes a monitoring blind area and / or a monitoring overlapping area;
[0035] A second determining unit, configured to determine a to-be-adjusted monitoring device based on the to-be-adjusted area;
[0036] An adjustment unit, configured to adjust the visible area of the to-be-adjusted monitoring device, and after adjusting the visible area of the to-be-adjusted monitoring device, the to-be-adjusted area is eliminated or reduced.
[0037] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, it implements the adjustment method for the visible area as described in any one of the above.
[0038] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for adjusting the visible area as described in any one of the above is implemented.
[0039] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the method for adjusting the visible area as described in any one of the above is implemented.
[0040] For the method, device, electronic device and storage medium for adjusting the visible area provided by the present invention, the first moment when each monitoring device in the target area enters the target visible area and the second moment when it leaves the target visible area are obtained. Based on the first moment, the second moment corresponding to each monitoring device and the position information of all monitoring devices in the target area, the area to be adjusted in the target area is determined. The area to be adjusted includes a monitoring blind area and / or a monitoring overlapping area. Based on the area to be adjusted, the monitoring device to be adjusted is determined, and the visible area of the monitoring device to be adjusted is adjusted. After the visible area of the monitoring device to be adjusted is adjusted, the area to be adjusted is eliminated or reduced. It can be seen that the present invention can automatically determine the area to be adjusted in the target area, determine the monitoring device to be adjusted whose visible area needs to be adjusted based on the area to be adjusted, and eliminate or reduce the area to be adjusted by adjusting the visible area of the monitoring device to be adjusted, thereby improving the rationality of the monitoring layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0042] Figure 1 is a flowchart of the method for adjusting the visible area provided by the embodiment of the present invention;
[0043] Figure 2 is one of the layout diagrams of the monitoring devices in the target area provided by the embodiment of the present invention;
[0044] Figure 3 is another layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention;
[0045] Figure 4 is the third layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention;
[0046] Figure 5 is the fourth layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention;
[0047] Figure 6 It is the fifth layout schematic diagram of the monitoring devices in the target area provided by the embodiment of the present invention;
[0048] Figure 7 It is the sixth layout schematic diagram of the monitoring devices in the target area provided by the embodiment of the present invention;
[0049] Figure 8 It is the seventh layout schematic diagram of the monitoring devices in the target area provided by the embodiment of the present invention;
[0050] Figure 9 It is the structural schematic diagram of the visual area adjustment device provided by the embodiment of the present invention;
[0051] Figure 10 It is the entity structural schematic diagram of the electronic device provided by the embodiment of the present invention. Detailed implementation manners
[0052] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts belong to the scope of protection of the present invention.
[0053] The following Figures 1-8 describes the visual area adjustment method of the present invention. The execution subject of the visual area adjustment method may be an electronic device such as a server or a computer. The server may be a Network Video Recorder (NVR), a Virtual Machine (VM), or a cloud, etc., or may also be a visual area adjustment device provided in the electronic device. The visual area adjustment device may be implemented by software, hardware, or a combination of both. The following will take the execution subject as the server as an example for illustration.
[0054] Figure 1 It is the flowchart of the visual area adjustment method provided by the embodiment of the present invention. As Figure 1 shown, the visual area adjustment method includes the following steps:
[0055] Step 101, obtain the first moment and the second moment corresponding to each monitoring device in the target area. The first moment is the moment when the target enters the visual area of the monitoring device, and the second moment is the moment when the target leaves the visual area.
[0056] Among them, the electronic device can receive the first moment and the second moment sent by each monitoring device in real time, or store the first moment and the second moment sent by each monitoring device, and when the visual area needs to be adjusted, obtain the first moment and the second moment corresponding to each monitoring device from the storage area.
[0057] Exemplarily, Figure 2 is one of the layout schematic diagrams of the monitoring devices in the target area provided by the embodiments of the present invention. As Figure 2 shown, taking the example that there are three monitoring devices in the target area, namely monitoring device 1, monitoring device 2, and monitoring device 3, and taking the road central axis Y of the target area, then the visual area of monitoring device 1 is the area between AB, the visual area of monitoring device 2 is the area between CD, and the visual area of monitoring device 3 is the area between EF. Suppose target 1 enters the monitoring area from F to A, then the first moment when monitoring device 3 records target 1 entering the visual area of monitoring device 3 is t F , the second moment when monitoring device 3 records target 1 leaving the visual area of monitoring device 3 is t E , the first moment when monitoring device 2 records target 1 entering the visual area of monitoring device 2 is t D , the second moment when monitoring device 2 records target 1 leaving the visual area of monitoring device 2 is t C , the first moment when monitoring device 1 records target 1 entering the visual area of monitoring device 1 is t B , the second moment when monitoring device 1 records target 1 leaving the visual area of monitoring device 1 is t A . Each monitoring device sends the recorded first moment and second moment to the server, so that the server obtains the first moment and second moment corresponding to each monitoring device in the target area.
[0058] Step 102: Based on the first moment, the second moment corresponding to each of the monitoring devices, and the position information of all the monitoring devices, determine the area to be adjusted in the target area, where the area to be adjusted includes a monitoring blind area and / or a monitoring overlapping area.
[0059] Exemplarily, the server pre-stores the position information of each monitoring device in the target area. When obtaining the first moment and the second moment corresponding to each monitoring device, it can determine adjacent monitoring devices based on the position information of each monitoring device, and determine whether there is a monitoring blind area and / or a monitoring overlapping area in the target area based on the first moment and the second moment corresponding to the adjacent monitoring devices. When it is determined that there is a monitoring blind area and / or a monitoring overlapping area in the target area, all the monitoring blind areas and monitoring overlapping areas are determined as the areas to be adjusted.
[0060] Step 103: Determine the monitoring device to be adjusted based on the area to be adjusted, and adjust the visible area of the monitoring device to be adjusted. After adjusting the visible area of the monitoring device to be adjusted, the area to be adjusted is eliminated or reduced.
[0061] Exemplarily, when determining the area to be adjusted in the target area, determine the monitoring device to be adjusted whose visible area needs to be adjusted from all the monitoring devices in the target area based on the position of the area to be adjusted, and adjust the visible area of the monitoring device to be adjusted, so that after adjusting the visible area of the monitoring device to be adjusted, the corresponding area to be adjusted can be eliminated or reduced.
[0062] It should be noted that after determining the monitoring device to be adjusted, the position of the monitoring device to be adjusted can be informed to the user, and the user can manually adjust the visible area of the monitoring device to be adjusted to eliminate or reduce the area to be adjusted. In this adjustment method, the monitoring device to be adjusted can be a monitoring device with a built-in pan-tilt or a monitoring device without a pan-tilt; it is also possible to automatically determine the adjustment angle of the monitoring device to be adjusted and send the adjustment angle to the monitoring device to be adjusted, so that the monitoring device to be adjusted can control the rotation of the built-in pan-tilt to adjust the angle to eliminate or reduce the area to be adjusted; or send the adjustment angle to the user's terminal device for display, and the user can remotely control the rotation of the pan-tilt of the monitoring device to be adjusted based on the displayed adjustment angle to eliminate or reduce the area to be adjusted. The present invention does not make any limitations in this regard.
[0063] For the visible area adjustment method provided by the present invention, obtain the first moment when each monitoring device in the target area enters the target visible area and the second moment when it leaves the target visible area. Based on the first moment, the second moment corresponding to each monitoring device and the position information of all the monitoring devices in the target area, determine the area to be adjusted in the target area. The area to be adjusted includes a monitoring blind area and / or a monitoring overlapping area. Determine the monitoring device to be adjusted based on the area to be adjusted, and adjust the visible area of the monitoring device to be adjusted. After adjusting the visible area of the monitoring device to be adjusted, the area to be adjusted is eliminated or reduced. It can be seen that the present invention can automatically determine the area to be adjusted in the target area, determine the monitoring device to be adjusted whose visible area needs to be adjusted based on the area to be adjusted, and can eliminate or reduce the area to be adjusted by adjusting the visible area of the monitoring device to be adjusted, thereby improving the rationality of the monitoring layout without changing the existing monitoring resources.
[0064] In an embodiment, the above step 102 determines the area to be adjusted in the target area based on the first moment, the second moment corresponding to each monitoring device and the position information of all the monitoring devices, and can be specifically implemented in the following manner:
[0065] Based on the location information of all the monitoring devices, determine the adjacent first monitoring device and second monitoring device; in the case where the second moment corresponding to the first monitoring device is less than the first moment corresponding to the second monitoring device, determine that there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device; in the case where the second moment corresponding to the first monitoring device is greater than the first moment corresponding to the second monitoring device, determine that there is a monitoring overlapping area between the visible area of the first monitoring device and the visible area of the second monitoring device.
[0066] Exemplarily, if the adjacent first monitoring device and second monitoring device are monitoring device 1 and monitoring device 2 respectively, it can be determined that the second moment t C corresponding to monitoring device 2 is greater than the first moment t B corresponding to monitoring device 1, that is, t C >t B , then it is determined that there is a monitoring overlapping area between the visible area of monitoring device 1 and the visible area of monitoring device 2; if the adjacent first monitoring device and second monitoring device are monitoring device 2 and monitoring device 3 respectively, it can be determined that the second moment t E corresponding to monitoring device 3 is less than the first moment t D corresponding to monitoring device 2, that is, t E <t D , then it is determined that there is a monitoring blind area between the visible area of monitoring device 2 and the visible area of monitoring device 3; in addition, if the second moment of the first monitoring device is equal to the first moment of the second monitoring device, it is determined that there is exactly no monitoring blind area and no monitoring overlapping area between the visible area of the first monitoring device and the visible area of the second monitoring device.
[0067] In this embodiment, it is possible to automatically determine the monitoring blind area and monitoring overlapping area in the target area based on the difference between the second moment when the target enters the visible area of the first monitoring device and the first moment when the target leaves the visible area of the second monitoring device adjacent to the first monitoring device, and the calculation method is simple and accurate.
[0068] In one embodiment, after determining the area to be adjusted, the method for adjusting the visible area further includes the following steps:
[0069] In the case where there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device, determine the first moment difference between the first moment corresponding to the second monitoring device and the second moment corresponding to the first monitoring device, and based on the first moment difference and the target speed corresponding to the target, determine the first distance of the monitoring blind area, and the first distance is used to determine the monitoring device to be adjusted.
[0070] Among them, the target speed corresponding to the target can be a speed preset based on the target, that is, the theoretical normal speed of the target. For example, if the target is a person, the target speed can be 1.5 m / s (meters per second), or it can be a speed obtained by real-time measurement using a radar or the like. It can also determine the moving speed of the target in the image by comparing images at different time points, and determine the target speed corresponding to the target as the moving speed.
[0071] Exemplarily, when there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device, as Figure 2 shown, assuming that monitoring device 2 is the first monitoring device, monitoring device 3 is the second monitoring device, and the area between DE is the monitoring blind area, then multiply the target speed corresponding to the target by (t D -t E ), to obtain the first distance of the monitoring blind area DE, and this first distance is used to subsequently determine the monitoring device to be adjusted, and eliminate or reduce the monitoring blind area of the first distance by adjusting the visible area of the monitoring device to be adjusted. Eliminating the monitoring blind area means changing the monitoring blind area into a visible area.
[0072] When there is a monitoring overlap area between the visible area of the first monitoring device and the visible area of the second monitoring device, determine the difference in the second time corresponding to the first monitoring device and the first time corresponding to the second monitoring device, and based on the difference in the second time and the target speed corresponding to the target, determine the second distance of the monitoring overlap area, and this second distance is used to determine the monitoring device to be adjusted.
[0073] Exemplarily, when there is a monitoring overlap area between the visible area of the first monitoring device and the visible area of the second monitoring device, as Figure 2 shown, assuming that monitoring device 1 is the first monitoring device, monitoring device 2 is the second monitoring device, and the area between CB is the monitoring overlap area, then multiply the target speed corresponding to the target by (t C -t B ), to obtain the second distance of the monitoring overlap area CB, and this second distance is used to subsequently determine the monitoring device to be adjusted, and eliminate or reduce the monitoring overlap area of the second distance by adjusting the visible area of the monitoring device to be adjusted.
[0074] It should be noted that in practical applications, when multiple targets enter the monitoring area from F to A as shown in Figure 2 , where the multiple targets are of the same type. For example, the multiple targets are all people, or all remote control cars, or all bicycles, etc. The monitoring device records the first time when each target enters the visible area and the second time when it leaves the visible area; for example, for target 1, the first time recorded by monitoring device 3 is t F1 , and the second time is tE1 , calculate t E1 and t F1 to obtain the time difference of t EF1 . The first moment recorded by the monitoring device 2 is t D1 . The second moment is t C1 , calculate t C1 and t D1 to obtain the time difference of t CD1 . The first moment recorded by the monitoring device 1 is t B1 . The second moment is t A1 , calculate t A1 and t B1 to obtain the time difference of t AB1 . At the same time, calculate the time difference t corresponding to the monitoring blind area DE DE1 = t D1 - t E1 . The time difference t corresponding to the monitoring overlapping area BC CB1 = t C1 - t B1 . Repeat the above steps to statistically obtain the t EFn , t CDn , t ABn , t DEn and t CBn corresponding to the nth target. Furthermore, based on the time differences corresponding to the n targets, determine the average time difference for the target to pass through the corresponding route, as shown in Table 1. t EF represents the average value of t EF1 , t EF2… t EFn . t CD represents the average value of t CD1 , t CD2… t CDn . t AB represents the average value of t AB1 , t AB2… t ABn . t DE represents the average value of t DE1 , t DE2… t DEn . t CB represents the average value of t CB1 , t CB2… t CBn . Then, when determining the first distance of the monitoring blind area, the average time difference corresponding to the monitoring blind area can be multiplied by the target speed corresponding to the target to determine the first distance, so as to improve the accuracy of the first distance calculation; when determining the second distance of the monitoring overlapping area, the average time difference corresponding to the monitoring overlapping area can be multiplied by the target speed corresponding to the target to determine the second distance, so as to improve the accuracy of the second distance calculation.
[0075] Table 1
[0076] <![CDATA[t EF1 > <![CDATA[t CD1 > <![CDATA[t AB1 > <![CDATA[t DE1 > <![CDATA[t CB1 > <![CDATA[t EF2 > <![CDATA[t CD2 > <![CDATA[t AB2 > <![CDATA[t DE2 > <![CDATA[t CB2 > … … … … … <![CDATA[t EFn > <![CDATA[t CDn > <![CDATA[t ABn > <![CDATA[t DEn > <![CDATA[t CBn > <![CDATA[t EF > <![CDATA[t CD > <![CDATA[t AB > <![CDATA[t DE > <![CDATA[t CB >
[0077] In this embodiment, the first distance of the monitoring blind area can be determined based on the first time difference and the target speed corresponding to the target, and the second distance of the monitoring overlapping area can be determined based on the second time difference and the target speed of the target. The calculation method is simple and accurate.
[0078] In one embodiment, in step 103 above, the monitoring device to be adjusted is determined based on the area to be adjusted, and the visible area of the monitoring device to be adjusted is adjusted. Specifically, it can be determined by the following method:
[0079] When there is a target monitoring overlapping area between the third monitoring device and the fourth monitoring device, and there is a target monitoring blind area between the fifth monitoring device and the sixth monitoring device, the monitoring devices to be adjusted are determined as the target monitoring devices between the third monitoring device and the sixth monitoring device; both the fourth monitoring device and the fifth monitoring device are arranged between the third monitoring device and the sixth monitoring device.
[0080] Based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlapping area, the adjustment angles of the target monitoring devices are determined. The adjustment angles are used to adjust the visible areas of the target monitoring devices. The third distance is used to represent the size of the target monitoring blind area; the fourth distance is used to represent the size of the target monitoring overlapping area.
[0081] Exemplarily, Figure 3 is the second layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention. As Figure 3 shown, there is a target monitoring overlapping area 301 between the third monitoring device and the fourth monitoring device, and there is a target monitoring blind area 302 between the fifth monitoring device and the sixth monitoring device. Then both the fourth monitoring device and the fifth monitoring device are target monitoring devices, that is, both are monitoring devices to be adjusted. Figure 4 is the third layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention. As Figure 4 shown, there is a target monitoring overlapping area 301 between the third monitoring device and the fourth monitoring device, and there is a target monitoring blind area 302 between the fifth monitoring device and the sixth monitoring device. Then the fourth monitoring device, the monitoring device X, and the fifth monitoring device are all target monitoring devices, that is, all are monitoring devices to be adjusted.
[0082] For the target monitoring overlap area 301, the fourth distance of the target monitoring overlap area 301 can be determined based on the time difference between the second moment corresponding to the fourth monitoring device and the first moment corresponding to the third monitoring device and the target speed corresponding to the target; for the target monitoring blind area 302, the third distance of the target monitoring blind area 302 can be determined based on the time difference between the first moment corresponding to the fifth monitoring device and the second moment corresponding to the sixth monitoring device and the target speed corresponding to the target, and then the adjustment angles of each target monitoring device can be determined based on the comparison between the third distance and the fourth distance. The adjustment angles are used to adjust the visible areas of the target monitoring devices, so as to eliminate or reduce the target monitoring blind area 302, improve the security of the target area, and at the same time eliminate or reduce the target monitoring overlap area 301, realize the optimization of the monitoring overlap area, and save monitoring resources.
[0083] It should be noted that the fourth monitoring device and the fifth monitoring device can be the same monitoring device or different monitoring devices. When the fourth monitoring device and the fifth monitoring device are the same monitoring device, the layout of the monitoring devices in the target area is similar Figure 2 to the layout shown, which will not be elaborated in this invention.
[0084] It should be noted that the number of monitoring devices between the third monitoring device and the sixth monitoring device in this invention is not limited, and can be specifically set based on the layout of the target area.
[0085] In this embodiment, when there is a target monitoring overlap area between the third monitoring device and the fourth monitoring device and there is a target monitoring blind area between the fifth monitoring device and the sixth monitoring device, the adjustment angles of each monitoring device to be adjusted can be determined based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlap area, which is convenient for adjusting the visible areas of the monitoring devices to be adjusted based on the adjustment angles, so as to eliminate or reduce the area to be adjusted, and then improve the rationality of the monitoring layout.
[0086] In one embodiment, the adjustment angles of each of the target monitoring devices are determined based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlap area, and can be specifically implemented in the following manner:
[0087] In the case where the third distance is less than or equal to the fourth distance, for each of the target monitoring devices, the adjustment angle of the target monitoring device is determined based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the third distance.
[0088] Exemplarily, Figure 3For example, when the third distance of the target monitoring blind area 302 is less than the fourth distance of the target monitoring overlapping area 301, it can be determined that the target monitoring devices are the fourth monitoring device and the fifth monitoring device. That is to say, the monitoring devices to be adjusted are the fourth monitoring device and the fifth monitoring device. Since it is difficult to control when adjusting the visible area based on the distance, it is necessary to convert the distance into an adjustment angle. Here, since the third distance of the target monitoring blind area 302 is less than the fourth distance of the target monitoring overlapping area 301, in order to eliminate the target monitoring blind area 302, it is necessary to calculate the corresponding adjustment angle based on the third distance of the target monitoring blind area 302. Since the viewing angle α of the target monitoring device is clearly indicated at the time of factory, the visible distance S1 corresponding to each degree can be determined based on the ratio S / α of the distance S of the visible area of the target monitoring device and the viewing angle α. If the third distance S2 needs to be adjusted, the third distance S2 can be divided by the visible distance S1 corresponding to each degree to obtain the adjustment angle β1 of the target monitoring device. Then, the visible area of the target monitoring device is rotated by the adjustment angle in the direction of the target monitoring blind area 302. After all the target monitoring devices are adjusted, the target monitoring blind area 302 can be eliminated, thereby improving the security of the target area; while eliminating the target monitoring blind area 302, the distance of the target monitoring overlapping area 301 also becomes smaller, thus saving monitoring resources.
[0089] It should be noted that the target monitoring devices can be monitoring devices of the same model or different models. When the target monitoring devices are of the same model, the adjustment angles corresponding to the target monitoring devices are the same; when the target monitoring devices are of different models, the adjustment angles corresponding to the target monitoring devices are different, but the visible area distances finally adjusted by the target monitoring devices are the same.
[0090] It should be noted that when the third length is equal to the fourth length, the target monitoring overlapping area 301 is also eliminated while eliminating the target monitoring blind area 302; when the third length is less than the fourth length, since after eliminating the target monitoring blind area 302, the target monitoring overlapping area 301 only decreases and is not completely eliminated, the remaining part of the target monitoring overlapping area 301 can, according to the actual situation, adjust the third monitoring device upward to match other devices, and the present invention does not make any limitation in this regard.
[0091] In one embodiment, the determination of the adjustment angles of the target monitoring devices based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlapping area can also be achieved by the following method:
[0092] When the third distance is greater than the fourth distance, there is no monitoring overlap area between the third monitoring device and the first other monitoring device, and there is no monitoring overlap area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, based on the viewing angle of the target monitoring device, the distance of the viewing area of the target monitoring device, and the fourth distance, determine the adjustment angle of the target monitoring device.
[0093] Exemplarily, Figure 5 is the fourth layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention. As Figure 5 shown, when the third distance of the target monitoring blind area 302 is greater than the fourth distance of the target monitoring overlap area 301, there is no monitoring overlap area between the third monitoring device and the first other monitoring device, and there is no monitoring overlap area between the sixth monitoring device and the second other monitoring device, it can be determined that the target monitoring devices are the fourth monitoring device, the monitoring device X, and the fifth monitoring device. That is to say, the monitoring devices to be adjusted are the fourth monitoring device, the monitoring device X, and the fifth monitoring device. Since it is not easy to control when adjusting the viewing area based on the distance, it is necessary to convert the distance into an adjustment angle. Here, since the third distance of the target monitoring blind area 302 is greater than or equal to the fourth distance of the target monitoring overlap area 301, it is necessary to calculate the adjustment angle of the target monitoring device based on the fourth distance of the target monitoring overlap area 301. Since the viewing angle α of the target monitoring device is clearly stated at the factory, the viewing distance S1 corresponding to each degree can be determined based on the ratio S / α of the viewing area distance S and the viewing angle α of the target monitoring device. If the fourth distance S3 needs to be adjusted, the fourth distance S3 can be divided by the viewing distance S1 corresponding to each degree to obtain the adjustment angle β2 of the target monitoring device, and then the viewing area of the target monitoring device is rotated by the adjustment angle in the direction of the target monitoring blind area 302. After all the target monitoring devices are adjusted, the target monitoring blind area 302 is reduced, thereby improving the security of the target area; while reducing the target monitoring blind area 302, the target monitoring overlap area 301 is eliminated, thereby saving monitoring resources.
[0094] It should be noted that the remaining part of the target monitoring blind area can also be adjusted based on the actual situation of the target area. For example, if there are intersections, parking lots, or schools in the remaining part of the target monitoring blind area, this area cannot be a blind area, and the viewing area of the fifth monitoring device can be further adjusted downward or the viewing area of the sixth monitoring device can be adjusted upward to ensure the elimination of the remaining part of the target monitoring blind area. The present invention does not limit this.
[0095] In one embodiment, the above determination of the adjustment angle of each target monitoring device based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlap area can also be achieved by the following method:
[0096] When the third distance is greater than the fourth distance, there is a monitoring overlap area between the third monitoring device and the first other monitoring device, and there is no monitoring overlap area between the sixth monitoring device and the second other monitoring device, or when the third distance is greater than the fourth distance, there is no monitoring overlap area between the third monitoring device and the first other monitoring device, and there is a monitoring overlap area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the fourth distance, determine the adjustment angle of the target monitoring device, and determine the distance difference between the third distance and the fourth distance. Based on the distance difference, determine the adjustment angle of the first other monitoring device or the second other monitoring device.
[0097] Exemplarily, Figure 6 is the fifth layout diagram of the monitoring devices in the target area provided by the embodiments of the present invention. As Figure 6 shown, when the third distance of the target monitoring blind area 302 is greater than the fourth distance of the target monitoring overlap area 301, it is determined that there is a monitoring overlap area 303 between the first other monitoring device and the third monitoring device, and there is no monitoring overlap area between the second other monitoring device and the sixth monitoring device. Figure 7 is the sixth layout diagram of the monitoring devices in the target area provided by the embodiments of the present invention. As Figure 7 shown, when the third distance of the target monitoring blind area 302 is greater than the fourth distance of the target monitoring overlap area 301, it can be determined that there is a monitoring overlap area 304 between the second other monitoring device and the sixth monitoring device, and there is no monitoring overlap area between the first other monitoring device and the third monitoring device. For the Figure 5 and Figure 6 layout of the monitoring devices shown, it can be determined that the target monitoring devices are both the fourth monitoring device and the fifth monitoring device, that is to say, the monitoring devices to be adjusted are both the fourth monitoring device and the fifth monitoring device.
[0098] As Figure 6As shown, since the third distance of the target monitoring blind area 302 is greater than the fourth distance of the target monitoring overlapping area 301, and there is a monitoring overlapping area between the third monitoring device and the first other monitoring device, the adjustment angle of the target monitoring device can be calculated based on the third distance of the target monitoring blind area 302. Then, the visual area of the target monitoring device is rotated by the adjustment angle towards the direction of the target monitoring blind area 302. After all the target monitoring devices are adjusted, the target monitoring blind area 302 is eliminated. Further, the distance difference between the third distance and the fourth distance is determined, and the distance difference is converted into a target adjustment angle. The target adjustment angle is determined as the adjustment angle of the first other monitoring device, so that after the visual area of the first other monitoring device is adjusted by the target adjustment angle, no new monitoring blind area appears between the third monitoring device and the first other monitoring device.
[0099] As Figure 7 shown, since the third distance of the target monitoring blind area 302 is greater than the fourth distance of the target monitoring overlapping area 301, and there is a monitoring overlapping area between the sixth monitoring device and the second other monitoring device, the adjustment angle of the target monitoring device can be calculated based on the third distance of the target monitoring blind area 302. Then, the visual area of the target monitoring device is rotated by the adjustment angle towards the direction of the target monitoring blind area 302. After all the target monitoring devices are adjusted, the target monitoring blind area 302 is eliminated. Further, the distance difference between the third distance and the fourth distance is determined, and the distance difference is converted into a target adjustment angle. The target adjustment angle is determined as the adjustment angle of the second other monitoring device, so that after the visual area of the second other monitoring device is adjusted by the target adjustment angle, no new monitoring blind area appears between the sixth monitoring device and the second other monitoring device.
[0100] It should be noted that when the third distance is greater than the fourth distance, there is a monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is a monitoring overlapping area between the sixth monitoring device and the second other monitoring device, the visual areas of the target monitoring device and the first other monitoring device can be adjusted simultaneously to eliminate the target monitoring blind area, or the visual areas of the target monitoring device and the second other monitoring device can be adjusted simultaneously to eliminate the target monitoring blind area, or the visual areas of the target monitoring device, the first other monitoring device and the second other monitoring device can be adjusted simultaneously to eliminate the target monitoring blind area. This invention will not elaborate further here.
[0101] In this embodiment, when the third distance is greater than the fourth distance, the visible area of the target monitoring device can be adjusted based on the determined adjustment angle to reduce the target monitoring blind area; and when there is a monitoring overlap area between the third monitoring device and the first other monitoring device or there is a monitoring overlap area between the sixth monitoring device and the second other monitoring device, the visible areas of the target monitoring device and the first other monitoring device are adjusted simultaneously, so as to eliminate the target monitoring blind area without adding new monitoring blind areas.
[0102] In one embodiment, step 103 above determines the monitoring device to be adjusted based on the area to be adjusted and adjusts the visible area of the monitoring device to be adjusted. Specifically, it can also be implemented in the following manner:
[0103] When there is a monitoring overlap area between the seventh monitoring device and the eighth monitoring device, there is a monitoring blind area between the seventh monitoring device and the ninth monitoring device, and the seventh monitoring device is arranged at the corner of the target area, determine the monitoring device to be adjusted as the seventh monitoring device; obtain the first moment, the second moment and the third moment corresponding to the seventh monitoring device, and the third moment is the moment when the target is at the corner; determine the third moment difference between the first moment and the third moment, and the fourth moment difference between the third moment and the second moment; determine the fifth distance based on the third moment difference and the target speed corresponding to the target, and determine the sixth distance based on the fourth moment difference and the target speed corresponding to the target; determine the moving distance of the visible area of the seventh monitoring device based on the distance of the monitoring overlap area between the seventh monitoring device and the eighth monitoring device and the distance of the monitoring blind area between the seventh monitoring device and the ninth monitoring device; determine the adjustment angle of the seventh monitoring device based on the installation position of the seventh monitoring device, the fifth distance, the sixth distance and the moving distance, and the adjustment angle of the seventh monitoring device is used to adjust the visible area of the seventh monitoring device.
[0104] Exemplarily, Figure 8 is the seventh layout diagram of the monitoring devices in the target area provided by the embodiment of the present invention. As Figure 8 shown, there is a monitoring overlap area AD between the seventh monitoring device and the eighth monitoring device, there is a monitoring blind area CE between the seventh monitoring device and the ninth monitoring device, the seventh monitoring device is installed at the corner O of the target area, and the default visible area corresponding to the installation position of the seventh monitoring device is AOC. In order to eliminate the monitoring blind area CE between the seventh monitoring device and the ninth monitoring device, it is necessary to move the visible area of the seventh monitoring device to the right by the distance CE, so that the visible area of the seventh monitoring device becomes DOE. Then, it is necessary to determine the adjustment angle of the seventh monitoring device. Specifically, first take the first moment T when the target enters the visible area of the seventh monitoring deviceA The second moment T when the target leaves the visible area of the seventh monitoring device C And the third moment T when the target enters the corner of the visible area of the seventh monitoring device B , where the point where the target enters the corner can be taken as point B in Figure 8 . Calculate the difference T between the third moment of the first moment and the third moment respectively AB , the difference T between the third moment and the fourth moment of the second moment BC . Using T AB Multiplied by the target speed of the target, the fifth distance corresponding to AB can be obtained. Using T BC Multiplied by the target speed of the target, the sixth distance corresponding to BC can be obtained. The perpendicular distances OG and OF from the installation position O of the seventh monitoring device to both sides of the road are known. Then AF = AB - OG, CG = BC - OF. Given the lengths of CG and OG, according to the Pythagorean theorem CG2 + OG2 = OC2, the length of OC can be calculated. Assuming that the angle GOC is α1, according to the cosine theorem cosα1 = (OG2 + OC2 - CG2) / (2 * OG * OC), the value of the angle α1 can be obtained. Since the moving distance corresponding to moving the visible area of the seventh monitoring device to the right by CE can be calculated, then GE = CG + CE can be determined. Using the same calculation method, the size of the angle GOE can be obtained, denoted as β2. Then the adjustment angle ∠COE of the seventh monitoring device = β2 - α1. During actual operation, rotate the seventh monitoring device in the direction of the monitoring blind area CE by ∠COE
[0105] In addition, the calculation method of the upward movement distance AD below the seventh monitoring device is as follows. Since the viewing angle of the seventh monitoring device is known and fixed, so ∠AOC = ∠DOE, then ∠DOF = ∠DOE - ∠GOE - 90°, denoted as γ, tanγ = DF / OF, the corresponding distance of DF can be obtained, and then AD = AF - DF
[0106] In this embodiment, it is possible to automatically determine the adjustment angle of the monitoring device provided at the corner of the target area, and then adjust the visible area of the monitoring device at the corner based on the adjustment angle to eliminate or reduce the monitoring blind area, thereby improving the versatility of the visible area adjustment
[0107] Next, the visible area adjustment device provided by the present invention will be described. The visible area adjustment device described below can be mutually referred to with the visible area adjustment method described above
[0108] Figure 9 is the structural schematic diagram of the visible area adjustment device provided by the embodiment of the present invention, as shown in Figure 9As shown in the figure, the adjustment device 900 for the visible area includes an acquisition unit 901, a first determination unit 902, a second determination unit 903, and an adjustment unit 904; where:
[0109] The acquisition unit is configured to acquire a first moment and a second moment corresponding to each monitoring device within the target area, where the first moment is the moment when the target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area.
[0110] The first determination unit is configured to determine an area to be adjusted within the target area based on the first moment, the second moment corresponding to each monitoring device, and the position information of all monitoring devices, where the area to be adjusted includes a monitoring blind area and / or a monitoring overlapping area.
[0111] The second determination unit is configured to determine the monitoring devices to be adjusted based on the area to be adjusted.
[0112] The adjustment unit is configured to adjust the visible area of the monitoring devices to be adjusted, and after adjusting the visible area of the monitoring devices to be adjusted, the area to be adjusted is eliminated or reduced.
[0113] The adjustment device for the visible area provided by the present invention acquires the first moment when the target enters the visible area and the second moment when the target leaves the visible area sent by each monitoring device within the target area, determines the area to be adjusted within the target area based on the first moment, the second moment corresponding to each monitoring device, and the position information of all monitoring devices in the target area, where the area to be adjusted includes a monitoring blind area and / or a monitoring overlapping area, determines the monitoring devices to be adjusted based on the area to be adjusted, and adjusts the visible area of the monitoring devices to be adjusted, and after adjusting the visible area of the monitoring devices to be adjusted, the area to be adjusted is eliminated or reduced. It can be seen that the present invention can automatically determine the area to be adjusted within the target area, determine the monitoring devices to be adjusted whose visible areas need to be adjusted based on the area to be adjusted, and can eliminate or reduce the area to be adjusted by adjusting the visible areas of the monitoring devices to be adjusted, thereby improving the rationality of the monitoring layout.
[0114] Based on any of the above embodiments, the first determination unit 902 is specifically configured to:
[0115] Based on the position information of all the monitoring devices, determine adjacent first and second monitoring devices.
[0116] In a case where the second moment corresponding to the first monitoring device is less than the first moment corresponding to the second monitoring device, determine that there is a monitoring blind area between the visible areas of the first monitoring device and the second monitoring device.
[0117] When the second moment corresponding to the first monitoring device is greater than the first moment corresponding to the second monitoring device, it is determined that there is a monitoring overlap area between the visible area of the first monitoring device and the visible area of the second monitoring device.
[0118] Based on any of the above embodiments, the adjustment device 900 of the visible area further includes:
[0119] A third determination unit, configured to determine a first time difference between the first moment corresponding to the second monitoring device and the second moment corresponding to the first monitoring device when there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device, and determine a first distance of the monitoring blind area based on the first time difference and the target speed corresponding to the target, where the first distance is used to determine the monitoring device to be adjusted;
[0120] A fourth determination unit, configured to determine a second time difference between the second moment corresponding to the first monitoring device and the first moment corresponding to the second monitoring device when there is a monitoring overlap area between the visible area of the first monitoring device and the visible area of the second monitoring device, and determine a second distance of the monitoring overlap area based on the second time difference and the target speed corresponding to the target, where the second distance is used to determine the monitoring device to be adjusted.
[0121] Based on any of the above embodiments, the second determination unit 903 is specifically configured to:
[0122] When there is a target monitoring overlap area between the third monitoring device and the fourth monitoring device, and there is a target monitoring blind area between the fifth monitoring device and the sixth monitoring device, determine the target monitoring devices between the third monitoring device and the sixth monitoring device as the monitoring devices to be adjusted; both the fourth monitoring device and the fifth monitoring device are disposed between the third monitoring device and the sixth monitoring device;
[0123] Based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlap area, determine the adjustment angles of the target monitoring devices, where the adjustment angles are used to adjust the visible areas of the target monitoring devices, the third distance is used to represent the size of the target monitoring blind area; the fourth distance is used to represent the size of the target monitoring overlap area.
[0124] Based on any of the above embodiments, the second determination unit 903 is specifically configured to:
[0125] When the third distance is less than or equal to the fourth distance, for each of the target monitoring devices, based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the third distance, determine the adjustment angle of the target monitoring device.
[0126] Based on any of the above embodiments, the second determination unit 903 is specifically configured to:
[0127] When the third distance is greater than the fourth distance, there is no monitoring overlap area between the third monitoring device and the first other monitoring device, and there is no monitoring overlap area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the fourth distance, determine the adjustment angle of the target monitoring device;
[0128] When the third distance is greater than the fourth distance, there is a monitoring overlap area between the third monitoring device and the first other monitoring device, and there is no monitoring overlap area between the sixth monitoring device and the second other monitoring device, or when the third distance is greater than the fourth distance, there is no monitoring overlap area between the third monitoring device and the first other monitoring device, and there is a monitoring overlap area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the third distance, determine the adjustment angle of the target monitoring device, and determine the distance difference between the third distance and the fourth distance, and based on the distance difference, determine the adjustment angle of the first other monitoring device or the second other monitoring device.
[0129] Based on any of the above embodiments, the second determination unit 903 is specifically configured to:
[0130] When there is a monitoring overlap area between the seventh monitoring device and the eighth monitoring device, there is a monitoring blind area between the seventh monitoring device and the ninth monitoring device, and the seventh monitoring device is disposed at a corner of the target area, determine the monitoring device to be adjusted as the seventh monitoring device;
[0131] Obtain a first moment, a second moment, and a third moment corresponding to the seventh monitoring device, where the third moment is the moment when the target is at the corner;
[0132] Determine a third moment difference between the first moment and the third moment, and a fourth moment difference between the third moment and the second moment;
[0133] Determine a fifth distance based on the third time difference and the target speed corresponding to the target, and determine a sixth distance based on the fourth time difference and the target speed corresponding to the target;
[0134] Determine the moving distance of the visible area of the seventh monitoring device based on the distance of the monitoring overlapping area between the seventh monitoring device and the eighth monitoring device and the distance of the monitoring blind area between the seventh monitoring device and the ninth monitoring device;
[0135] Determine the adjustment angle of the seventh monitoring device based on the installation position of the seventh monitoring device, the fifth distance, the sixth distance, and the moving distance, where the adjustment angle of the seventh monitoring device is used to adjust the visible area of the seventh monitoring device.
[0136] Figure 10 It is a schematic physical structure diagram of an electronic device provided by an embodiment of the present invention. As Figure 10 shown, the electronic device may include: a processor 1010, a communication interface 1020, a memory 1030, and a communication bus 1040. Among them, the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 can call the logical instructions in the memory 1030 to execute a method for adjusting the visible area. The method includes: obtaining a first moment and a second moment corresponding to each monitoring device in the target area, where the first moment is the moment when the target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area;
[0137] Determine a to-be-adjusted area in the target area based on the first moment, the second moment corresponding to each monitoring device, and the position information of all monitoring devices. The to-be-adjusted area includes a monitoring blind area and / or a monitoring overlapping area;
[0138] Determine a to-be-adjusted monitoring device based on the to-be-adjusted area, and adjust the visible area of the to-be-adjusted monitoring device. After adjusting the visible area of the to-be-adjusted monitoring device, the to-be-adjusted area is eliminated or reduced.
[0139] In addition, when the logical instructions in the above-mentioned memory 1030 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0140] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for adjusting the visible area provided by the above-mentioned various methods. The method includes: obtaining a first moment and a second moment corresponding to each monitoring device in the target area. The first moment is the moment when the target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area.
[0141] Based on the first moment, the second moment corresponding to each monitoring device and the position information of all monitoring devices, determine the area to be adjusted in the target area. The area to be adjusted includes monitoring blind spots and / or monitoring overlapping areas.
[0142] Based on the area to be adjusted, determine the monitoring devices to be adjusted, and adjust the visible areas of the monitoring devices to be adjusted. After adjusting the visible areas of the monitoring devices to be adjusted, the area to be adjusted is eliminated or reduced.
[0143] On another aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the method for adjusting the visible area provided by the above-mentioned various methods. The method includes: obtaining a first moment and a second moment corresponding to each monitoring device in the target area. The first moment is the moment when the target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area.
[0144] Based on the first moment, the second moment corresponding to each monitoring device and the position information of all monitoring devices, determine the area to be adjusted in the target area. The area to be adjusted includes monitoring blind spots and / or monitoring overlapping areas.
[0145] Determine the monitoring device to be adjusted based on the area to be adjusted, and adjust the visible area of the monitoring device to be adjusted. After adjusting the visible area of the monitoring device to be adjusted, the area to be adjusted is eliminated or reduced.
[0146] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative work.
[0147] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adjusting a visible area, characterized in that Including: Obtaining a first moment and a second moment corresponding to each monitoring device within a target area, where the first moment is the moment when a target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area; Based on the first moment, the second moment corresponding to each monitoring device, and the location information of all monitoring devices, determining an area to be adjusted within the target area, where the area to be adjusted includes a monitoring blind area and / or a monitoring overlapping area; Based on the area to be adjusted, determining a monitoring device to be adjusted, and adjusting the visible area of the monitoring device to be adjusted. After adjusting the visible area of the monitoring device to be adjusted, the area to be adjusted is eliminated or reduced.
2. The method for adjusting the visible area according to claim 1, characterized in that, The determining the area to be adjusted within the target area based on the first moment, the second moment corresponding to each monitoring device, and the location information of all monitoring devices includes: Based on the location information of all monitoring devices, determining adjacent first and second monitoring devices; When the second moment corresponding to the first monitoring device is less than the first moment corresponding to the second monitoring device, determining that there is a monitoring blind area between the visible area of the first monitoring device and the visible area of the second monitoring device; When the second moment corresponding to the first monitoring device is greater than the first moment corresponding to the second monitoring device, determining that there is a monitoring overlapping area between the visible area of the first monitoring device and the visible area of the second monitoring device.
3. The method for adjusting the visible area according to claim 1, characterized in that, The method further includes: When there is a monitoring blind area between the visible area of a first monitoring device and the visible area of a second monitoring device, determining a first time difference between the first moment corresponding to the second monitoring device and the second moment corresponding to the first monitoring device, and based on the first time difference and the target speed corresponding to the target, determining a first distance of the monitoring blind area, where the first distance is used to determine the monitoring device to be adjusted; When there is a monitoring overlapping area between the visible area of the first monitoring device and the visible area of the second monitoring device, determining a second time difference between the second moment corresponding to the first monitoring device and the first moment corresponding to the second monitoring device, and based on the second time difference and the target speed corresponding to the target, determining a second distance of the monitoring overlapping area, where the second distance is used to determine the monitoring device to be adjusted.
4. The method for adjusting the visible area according to claim 1, wherein The determining the monitoring device to be adjusted based on the area to be adjusted and adjusting the visible area of the monitoring device to be adjusted includes: When there is a target monitoring overlapping area between a third monitoring device and a fourth monitoring device, and there is a target monitoring blind area between a fifth monitoring device and a sixth monitoring device, determining that the monitoring devices to be adjusted are each target monitoring device between the third monitoring device and the sixth monitoring device; the fourth monitoring device and the fifth monitoring device are both arranged between the third monitoring device and the sixth monitoring device; Determine the adjustment angle of each of the target monitoring devices based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlapping area, where the adjustment angle is used to adjust the visible area of each of the target monitoring devices, the third distance is used to characterize the size of the target monitoring blind area; and the fourth distance is used to characterize the size of the target monitoring overlapping area.
5. The method for adjusting the visible area according to claim 4, characterized in that, The determining the adjustment angle of each of the target monitoring devices based on the third distance of the target monitoring blind area and the fourth distance of the target monitoring overlapping area includes: In the case where the third distance is less than or equal to the fourth distance, for each of the target monitoring devices, determine the adjustment angle of the target monitoring device based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the third distance.
6. The method for adjusting the visible area according to claim 5, characterized in that The method further includes: In the case where the third distance is greater than the fourth distance, there is no monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is no monitoring overlapping area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, determine the adjustment angle of the target monitoring device based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the fourth distance. In the case where the third distance is greater than the fourth distance, there is a monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is no monitoring overlapping area between the sixth monitoring device and the second other monitoring device, or, in the case where the third distance is greater than the fourth distance, there is no monitoring overlapping area between the third monitoring device and the first other monitoring device, and there is a monitoring overlapping area between the sixth monitoring device and the second other monitoring device, for each of the target monitoring devices, determine the adjustment angle of the target monitoring device based on the viewing angle of the target monitoring device, the distance of the visible area of the target monitoring device, and the third distance, and determine the distance difference between the third distance and the fourth distance, and based on the distance difference, determine the adjustment angle of the first other monitoring device or the second other monitoring device.
7. The method for adjusting the visible area according to claim 1, characterized in that, The determining the to-be-adjusted monitoring device based on the to-be-adjusted area and adjusting the visible area of the to-be-adjusted monitoring device includes: In the case where there is a monitoring overlapping area between the seventh monitoring device and the eighth monitoring device, there is a monitoring blind area between the seventh monitoring device and the ninth monitoring device, and the seventh monitoring device is disposed at the corner of the target area, determine the to-be-adjusted monitoring device as the seventh monitoring device. Obtain a first moment, a second moment, and a third moment corresponding to the seventh monitoring device, where the third moment is the moment when the target is at the corner. Determine a third moment difference between the first moment and the third moment, and a fourth moment difference between the third moment and the second moment. Determine a fifth distance based on the third time difference and the target speed corresponding to the target, and determine a sixth distance based on the fourth time difference and the target speed corresponding to the target; Determine the moving distance of the visible area of the seventh monitoring device based on the distance of the monitoring overlapping area between the seventh monitoring device and the eighth monitoring device and the distance of the monitoring blind area between the seventh monitoring device and the ninth monitoring device; Determine the adjustment angle of the seventh monitoring device based on the installation position of the seventh monitoring device, the fifth distance, the sixth distance, and the moving distance, and the adjustment angle of the seventh monitoring device is used to adjust the visible area of the seventh monitoring device.
8. An adjustment device for a visual area, characterized in that Comprising: An acquisition unit, configured to acquire a first moment and a second moment corresponding to each monitoring device in a target area, where the first moment is the moment when the target enters the visible area of the monitoring device, and the second moment is the moment when the target leaves the visible area; A first determination unit, configured to determine a to-be-adjusted area in the target area based on the first moment, the second moment corresponding to each monitoring device, and the position information of all monitoring devices, where the to-be-adjusted area includes a monitoring blind area and / or a monitoring overlapping area; A second determination unit, configured to determine a to-be-adjusted monitoring device based on the to-be-adjusted area; An adjustment unit, configured to adjust the visible area of the to-be-adjusted monitoring device, and after adjusting the visible area of the to-be-adjusted monitoring device, the to-be-adjusted area is eliminated or reduced.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, the method for adjusting the visible area according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the method for adjusting the visible area according to any one of claims 1 to 7 is implemented.