CN112866631A - Region determination method, system and device and electronic equipment - Google Patents
Region determination method, system and device and electronic equipment Download PDFInfo
- Publication number
- CN112866631A CN112866631A CN202011608974.XA CN202011608974A CN112866631A CN 112866631 A CN112866631 A CN 112866631A CN 202011608974 A CN202011608974 A CN 202011608974A CN 112866631 A CN112866631 A CN 112866631A
- Authority
- CN
- China
- Prior art keywords
- target
- monitoring
- target area
- mark
- mark point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/187—Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The embodiment of the application provides a method, a system, a device and an electronic device for determining a region, which relate to the technical field of security and protection and comprise the following steps: obtaining at least two target monitoring pictures, wherein the target monitoring pictures are: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain mark points of a target area, wherein the mark points of the target area have mark points which are not in the same monitoring picture; determining at least one mark point of the target area in each target monitoring picture; sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine the target area based on the determined mark point. By applying the area determination scheme provided by the embodiment of the application, the target area beyond the monitoring picture range can be determined.
Description
Technical Field
The present application relates to the field of security technologies, and in particular, to a method, a system, a device, and an electronic device for determining an area.
Background
When monitoring a monitoring scene, a user may wish to set an interested target area under some conditions, so that when performing intelligent analysis on a monitoring picture acquired by monitoring equipment arranged in the monitoring scene, the intelligent analysis may be performed mainly on the monitoring picture of the target area, or the intelligent analysis may not be performed on the monitoring picture of the target area.
In the prior art, when a target area is determined, the target area is usually determined in a monitoring picture acquired by a monitoring device. However, since the field angle range of the monitoring device is limited, that is, the monitoring scene included in the monitoring picture collected by the monitoring device is limited, the target area determined in the monitoring picture cannot exceed the scene range included in the monitoring picture, that is, the range of the target area determined in the monitoring picture is also limited.
Therefore, there is a need for an area determination method that can determine a target area beyond the range of a monitoring screen.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, a system, a device, and an electronic device for determining a target area beyond a monitoring screen range. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for determining an area, where the method includes:
obtaining at least two target monitoring pictures, wherein the target monitoring pictures are: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain mark points of a target area, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
determining at least one mark point of the target area in each target monitoring picture;
sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine the target area based on the determined mark point.
In a second aspect, an embodiment of the present application provides a region determination system, where the system includes a client and a monitoring device, where:
the monitoring equipment is used for acquiring a monitoring picture containing the mark points of the target area under different pan-tilt control parameters, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
the client is used for obtaining at least two target monitoring pictures and determining at least one mark point of the target area in each target monitoring picture; sending a target area determination instruction to the monitoring equipment;
and the monitoring equipment is used for receiving the target area determining instruction and determining the target area based on the mark point determined by the client.
In a third aspect, an embodiment of the present application provides an area determining apparatus, where the apparatus includes:
the monitoring picture obtaining module is used for obtaining at least two target monitoring pictures, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain mark points of a target area, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
the mark point determining module is used for determining at least one mark point of the target area in each target monitoring picture;
and the area determining module is used for sending a target area determining instruction to the monitoring equipment, wherein the target area determining instruction is used for instructing the monitoring equipment to determine the target area based on the determined mark point.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
a memory for storing a computer program;
a processor for implementing the method of any of the first aspects when executing a program stored in the memory.
In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method of any one of the first aspects.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform any of the above-described region determination methods.
The embodiment of the application has the following beneficial effects:
when the scheme provided by the embodiment of the application is applied to area determination, at least two target monitoring pictures can be obtained, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain the mark points of the target area, wherein the mark points which are not in the same monitoring picture exist in each mark point of the target area; determining at least one mark point of a target area in each target monitoring picture; and sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine a target area based on the determined mark point. Therefore, each mark point of the target area can be respectively set in the target monitoring picture acquired by the monitoring equipment under different pan-tilt control parameters, and then the monitoring equipment can determine the target area according to each set mark point. Therefore, the target area beyond the monitoring picture can be determined by applying the area determination scheme provided by the embodiment of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a region determination method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another area determination method according to an embodiment of the present application;
fig. 3 is a schematic view of an operation interface of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic view of a target area viewing provided by an embodiment of the present application;
fig. 5 is a schematic signaling interaction diagram of a region determination process according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an area determination system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an area determination apparatus according to an embodiment of the present application;
fig. 8a and 8b are schematic structural diagrams of an electronic device according to embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to determine a target area beyond a monitoring screen, embodiments of the present application provide an area determination method, a system, an apparatus, and an electronic device, which are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for determining an area according to an embodiment of the present disclosure, where the method may be applied to electronic devices such as an electronic computer, a tablet computer, and a mobile phone. As shown in fig. 1, the area determination method includes the following steps 101 to 103.
Wherein, the target monitoring picture is: and the monitoring equipment acquires monitoring pictures containing the mark points of the target area under different pan-tilt control parameters. The target area has marker points that are not on the same monitoring screen.
The Pan/Tilt/Zoom control parameter may include an azimuth angle control parameter, a lens Zoom control parameter, and a lens Zoom control parameter of the monitoring device, and the Pan/Tilt/Zoom control parameter may be a PTZ (Pan/Tilt/Zoom) parameter. Under different pan-tilt control parameters, the azimuth angle, the lens multiple and the lens focal length of the monitoring equipment can be changed, so that the monitoring pictures acquired by the monitoring equipment are different.
The target area may be a shielded area in which the user does not wish to perform intelligent analysis in the monitored area, or may be a special area in which the user wishes to perform special event detection in the monitored area, where the special event may be illegal parking, illegal turning, occupation of a fire fighting access, or may be an area in which important monitoring is desired in the monitored area, such as a cashier area, a safe escape area, and the like.
In the case where the target region is a polygonal region or an irregular region, the mark points may be vertices, edge points, or the like of the target region; in the case where the target region is a circular region, the mark point may be a center of the target region, an edge point, or the like.
All the mark points of the target area are not in the same monitoring picture. For example, if the mark point of the target area includes the left end point and the right end point of the target area, it is difficult for the monitoring screen acquired by the monitoring device to include both the left end point and the right end point when the width of the target area is large.
Specifically, the monitoring device may collect a monitoring picture of the monitoring area, and send the collected monitoring picture to the electronic device. And when the monitoring equipment is in different pan-tilt control parameters, the electronic equipment can obtain different monitoring pictures. The electronic device may select at least two different monitoring pictures containing the landmark points of the target area from the received monitoring pictures as target monitoring pictures, that is, each target monitoring picture contains at least one landmark point of the target area.
In an embodiment of the present application, the selected landmark points included in each target monitoring screen are different, and the landmark points included in all the target monitoring screens satisfy the target area determination condition.
Wherein the target area determination condition is: the condition of the target area can be uniquely determined according to the determined mark point. For example, when the target area is a quadrilateral area and the marker point is a vertex of the target area, the target area determination condition may be: the marker points included in all the target monitoring pictures include four vertices of the target area.
The number of target monitoring pictures thus selected may be less than or equal to the number of target area marker points, for example, in the case where the target area is a quadrilateral area and the marker points are vertices of the target area, the number of marker points may be 4, and the number of monitoring pictures thus selected may not exceed 4; when the target area is a circular area and the marker points are the center of the target area, the number of the marker points may be 1, and the number of the selected monitoring screens is 1. Therefore, the repeated determination of the same mark point in different monitoring pictures can be avoided, the number of the selected monitoring pictures can be reduced, and the area determination efficiency is improved.
When the target area is circular or fan-shaped, the radius and the angle can be determined besides the center of the circle of the mark point, so that the target area can be determined according to the center of the circle, the radius and the angle.
In an embodiment of the application, the monitoring device can change the control parameters of the cradle head according to the preset control rule of the cradle head, so that the monitoring picture is collected under different control parameters of the cradle head, and the collected monitoring picture is sent to the electronic device. The pan/tilt control rule may be: changing the azimuth stepwise from left to right, from bottom to top, etc.
In another embodiment of the application, the electronic device may further send a cradle head adjustment instruction to the monitoring device, and instruct the monitoring device to change cradle head control parameters according to the cradle head adjustment instruction, so that the monitoring device collects monitoring pictures under different cradle head control parameters.
Specifically, the electronic device may receive a target pan-tilt control parameter input by a user, generate a pan-tilt adjustment instruction according to the target pan-tilt control parameter, and send the pan-tilt adjustment instruction to the monitoring device, so that the monitoring device performs setting according to the target pan-tilt control parameter;
or, the electronic device may deploy, in advance, an adjustment button representing a holder adjustment manner in the operation page, where the holder adjustment manner includes upward adjustment, downward adjustment, leftward adjustment, rightward adjustment, and the like. The electronic equipment can receive the selection operation of the user on the adjusting button, generate a holder adjusting instruction according to the adjusting mode selected by the user and send the holder adjusting instruction to the monitoring equipment, so that the monitoring equipment can adjust holder control parameters according to the adjusting mode.
And 102, determining at least one mark point of the target area in each target monitoring picture.
Specifically, since the target monitoring picture obtained by the electronic device is a monitoring picture which is acquired by the monitoring device under different pan-tilt control parameters and contains the mark point of the target area, at least one mark point of the target area can be respectively determined in each target monitoring picture.
In an embodiment of the application, for step 102, when the mark point is determined in the target monitoring screen, a selection operation of the user on the mark point in the target monitoring screen through an input device may also be received, and the selected point is taken as a mark point including the target area.
And image analysis can be carried out on the target monitoring pictures so as to determine the mark points in each target monitoring picture. For example, a marker in the target monitoring screen may be detected, and the position of the detected marker may be determined as a marker point.
And 103, sending a target area determination instruction to the monitoring equipment.
Wherein the target area determination instructions are for instructing the monitoring device to determine the target area based on the determined marker point.
Specifically, after determining the mark point, the electronic device may send a target area determination instruction to the monitoring device, and after receiving the instruction, the monitoring device may determine the target area directly according to the determined mark point.
In an embodiment of the application, after receiving the target area determination instruction, the monitoring device may further obtain positions of the respective mark points based on the instruction, so as to connect the mark points to obtain a polygonal area, an irregular area, or the like, and use the obtained area as the target area.
In an embodiment of the application, after determining a mark point, an electronic device may detect a scene position of the mark point in a monitored scene, and generate a target area determination instruction carrying the scene position, and a monitoring device receives the instruction, obtains the scene position of the mark point, and determines a target area according to the scene position.
In an embodiment of the present application, after the monitoring device determines the target area, the monitoring device may add area information of the target area to a video code stream. The area information may include information such as a position and a size of the target area. Therefore, the information of the target area can be obtained according to the video code stream.
For example, in the case that the target area is a mask area, the information of the mask area may be added to the video stream, so that the subsequent intelligent analysis of the video stream may not be performed on the picture of the mask area.
When the scheme provided by the embodiment is applied to area determination, at least two target monitoring pictures can be obtained, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain the mark points of the target area, wherein the mark points which are not in the same monitoring picture exist in each mark point of the target area; determining at least one mark point of a target area in each target monitoring picture; and sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine a target area based on the determined mark point. Therefore, each mark point of the target area can be respectively set in the target monitoring picture acquired by the monitoring equipment under different pan-tilt control parameters, and then the monitoring equipment can determine the target area according to each set mark point. Therefore, the area determining scheme provided by the embodiment can be used for determining the target area beyond the monitoring picture.
In an embodiment of the present application, the target area determining instruction in step 103 may be configured to: and instructing the monitoring equipment to determine a target area based on the position characterization parameters corresponding to the determined mark points.
Wherein, the position characterization parameters corresponding to each marking point are as follows: and under the condition that the mark point is positioned at the specified position of the target monitoring picture acquired by the monitoring equipment, monitoring the cradle head control parameters of the monitoring equipment.
In an embodiment of the present application, the specified position may be a central position of the target monitoring screen, and the position characterizing parameter corresponding to the mark point is: and under the condition that the mark point is positioned at the central position of the monitoring picture collected by the monitoring equipment, monitoring the cradle head control parameters of the monitoring equipment. That is, in this case, the position characterizing parameters corresponding to each landmark point can be understood as: and monitoring the pan-tilt control parameters when the equipment is directly opposite to the mark point. Therefore, when the designated position is the center position of the monitoring picture, the current holder control parameter of the monitoring device can be directly determined as the position characterization parameter corresponding to the mark point subsequently, so that the resource consumption caused by calculating the position characterization parameter is saved.
Besides, the target mark position may be a lower left corner position, an upper right corner position, or the like of the monitoring screen.
Under the above circumstances, the target mark position may be obtained in advance in the monitoring device, so that the monitoring device may determine the position of the mark point according to the target mark position from the monitoring picture acquired under the position characterizing parameter after obtaining the position characterizing parameter of the mark point subsequently.
Specifically, after the electronic device sends a target area determining instruction to the monitoring device, the monitoring device may determine a position characterizing parameter corresponding to the mark point, so as to determine the target area according to the position characterizing parameter.
In an embodiment of the application, after each mark point is determined, the electronic device may send an instruction to the monitoring device, and the monitoring device determines the position characterizing parameter corresponding to the mark point based on the instruction. After the determined mark points satisfy the area determination condition, the electronic device may send a final target area determination instruction to the monitoring device, and after receiving the target area determination instruction, the monitoring device determines the target area according to the determined position characterization parameters of each mark point.
In another embodiment of the present application, after the determined mark points satisfy the area determination condition, the electronic device may send a target area determination instruction to the monitoring device, and the monitoring device may determine the position characteristic parameters of the mark points based on the target area determination instruction, and determine the target area according to the determined position characteristic parameters of the mark points. Therefore, the instruction interaction process between the electronic equipment and the monitoring equipment can be reduced, and the area determination efficiency is improved.
In an embodiment of the present application, when determining the location characterization parameter of the landmark point, the monitoring device may determine, based on data interaction between the electronic device and the monitoring device, the following parameter determination manner:
in a first mode, after determining the mark point, the electronic device may determine a position characterizing parameter corresponding to the mark point, and then send an instruction carrying the position characterizing parameter to the monitoring device, and the monitoring device receives the instruction, so as to obtain the position characterizing parameter of the mark point carried in the instruction.
In a second mode, after determining a mark point, the electronic device may obtain the position information of the mark point in the monitoring picture, and send an instruction carrying the position information to the monitoring device, and the monitoring device receives the instruction, so as to obtain the position information of the mark point carried in the instruction, and obtain the position characterizing parameter corresponding to the mark point according to the position information and the preset specified position.
In a third mode, under the condition that the mark point is located at the designated position of the monitoring picture, because the position characterization parameter corresponding to the mark point is the current pan-tilt control information of the monitoring device, the electronic device can directly send an instruction to the monitoring device after determining the mark point, and the monitoring device obtains the pan-tilt control information of the pan-tilt as the position characterization parameter corresponding to the determined mark point after receiving the instruction.
In an embodiment of the present application, when determining a location characterizing parameter corresponding to a landmark point based on location information of the determined landmark point in a monitoring picture, the following two situations are included:
in case one, the marker point is located at a designated position of the monitoring screen. In this case, the pan-tilt control parameter of the monitoring device can be directly obtained as the position characterizing parameter corresponding to the mark point.
In case two, the determined landmark point is not at the designated position of the monitoring screen. In this case, the target area determination instruction may carry: and the position information of the determined mark point in the target monitoring picture or the offset information of the determined mark point relative to the specified position in the target monitoring picture.
The target area determination instruction may be configured to instruct the monitoring device to: and determining offset information of the mark point of the target area relative to a specified position in the target monitoring picture, and calculating a position characterization parameter corresponding to the mark point according to the determined offset information and the current holder control parameter of the monitoring equipment.
Specifically, the electronic device may directly obtain position information of the determined mark point in the monitoring picture, generate a target area determination instruction carrying the position information, and after receiving the instruction, the monitoring device obtains the position information of the mark point, then calculates offset information of the position information with respect to a preset specified position, and calculates a position characterizing parameter of the mark point based on the offset information and a pan-tilt control parameter of the monitoring device.
The electronic equipment can also obtain the position information of the determined mark point in the monitoring picture, calculate the offset information of the position information relative to a preset specified position, then generate a target area determination instruction carrying the offset information, obtain the offset information of the mark point after the monitoring equipment receives the instruction, and calculate the position representation parameter of the mark point based on the offset information and the holder control parameter of the monitoring equipment.
In an embodiment of the present application, when the target monitoring screen is selected in step 101, a selection operation of the monitoring screen by the user through an input device may be received, and the selected monitoring screen is used as the target monitoring screen including the target area mark point.
The input device may be a mouse, a keyboard, a touch pad, a voice command receiving device, etc.
Specifically, the electronic device can display the received monitoring picture acquired by the monitoring device under different pan-tilt control parameters, and in the display process, the user can execute a selection operation on the displayed monitoring picture through the input device, so that the electronic device determines the monitoring picture selected by the user as the target monitoring picture.
In another embodiment of the application, the electronic device may further perform image analysis on the monitoring pictures, analyze whether each monitoring picture includes a mark point of the target area, and determine the monitoring picture including the mark point of the target area as the target monitoring picture.
Specifically, a marker representing a marker point of the target area may be preset, and the marker may be a small red flag, a ground mark, a building mark, or the like. The electronic equipment can analyze the images of the monitoring picture, and when the monitoring picture obtained through analysis contains the marker, the monitoring picture is determined to be a target monitoring picture containing the marker point of the target area.
In an embodiment of the present application, when determining the mark point, a cradle head adjustment instruction may be sent to the monitoring device, the monitoring device is controlled to adjust the acquired target monitoring picture by adjusting a cradle head control parameter, and a point located at a target mark position of the acquired target monitoring picture is determined as a mark point of the target area when the acquired target monitoring picture meets a mark requirement.
Wherein the flag requirements include: the mark point expected to be set is at the target mark position of the target monitoring picture.
Specifically, the electronic device can send a cradle head control instruction to the monitoring device, and the monitoring device adjusts the control parameters of the cradle head of the monitoring device after receiving the instruction, so that the collected target monitoring picture is changed. In the case where the marker point that the user desires to set in the acquired target monitoring screen is at the target marker position, a point at the target marker position in the acquired monitoring screen may be determined as the marker point.
In an embodiment of the application, the target mark position may be a center position of the monitoring screen, so that a point of the target monitoring screen center position may be determined as the mark point.
Besides, the target mark position can be the upper left corner position, the middle upper position and the like of the monitoring picture.
In an embodiment of the present application, a preset identifier may be preset on a display window for displaying a monitoring picture, where the preset identifier corresponds to the target mark, the preset identifier may be a crosshair, a circle, an X-shaped symbol, or the like, and the color of the preset identifier may be red, blue, yellow, or the like. The preset mark set in this way can not move along with the monitoring picture, so that a user can conveniently judge whether the expected mark point is located at the target mark position by observing whether the mark point of the target area expected to be set is superposed with the preset mark.
In an embodiment of the present application, the target area determining instruction in step 103 may be configured to: and indicating the monitoring equipment to determine a target area based on the position characterization parameters corresponding to the determined mark points, wherein the position characterization parameters corresponding to each mark point are as follows: and under the condition that the mark point is positioned at the target mark position of the target monitoring picture acquired by the monitoring equipment, monitoring the cradle head control parameters of the monitoring equipment.
Specifically, the designated position and the target mark position may be set to be the same position. Therefore, the cradle head control parameters of the monitoring equipment can be adjusted to enable the expected mark point to be located at the target mark position of the collected monitoring picture, and when the position characterization parameters of the mark point are obtained subsequently, the cradle head control parameters of the monitoring equipment can be directly used as the position characterization parameters of the mark point because the position characterization parameters of the mark point are the cradle head control parameters of the monitoring equipment when the mark point is located at the target mark position, and the offset information of the position information of the mark point relative to the specified position does not need to be calculated, so that the calculation amount can be reduced, and the area determination efficiency can be improved.
In an embodiment of the application, when the monitoring device is controlled to adjust the monitoring picture, an expected mark point of a target area expected to be set can be determined in a target monitoring picture currently acquired by the monitoring device, and a pan-tilt adjustment instruction carrying position information of the determined expected mark point is sent to the monitoring device, so that the monitoring device calculates a target pan-tilt control parameter for adjusting a pan-tilt so that the expected mark point is located at a target mark position of the target monitoring picture according to a current pan-tilt control parameter and the current position information, and adjusts the pan-tilt according to the target pan-tilt control parameter.
Wherein, the expected mark points are as follows: a user desired, target area landmark.
Specifically, a point selected by a user in a target monitoring picture through an input device can be received as an expected mark point, or a point determined in the target monitoring picture through an image analysis mode is used as the expected mark point, then a pan-tilt adjustment instruction carrying position information of the expected mark point is generated, the generated pan-tilt adjustment instruction is sent to a monitoring device, and after the monitoring device receives the pan-tilt adjustment instruction, a target pan-tilt control parameter can be calculated based on a current pan-tilt control parameter and the position information carried in the pan-tilt adjustment instruction, and the pan-tilt is adjusted according to the target pan-tilt control parameter, so that a preset specified position of the target monitoring picture acquired after the pan-tilt is adjusted is the expected mark point.
In an embodiment of the present application, if the location characterization parameter corresponding to each landmark point is: and under the condition that the mark point is positioned at the target mark position of the target monitoring picture acquired by the monitoring equipment, the holder control parameter of the monitoring equipment, namely the specified position and the target mark position are at the same position. Since the target pan-tilt control parameters are used such that: the expected mark point is located at a target mark position of the target monitoring picture, that is, the target holder control parameter is the same as the position representation parameter corresponding to the expected mark point. Therefore, after the target holder control parameters are obtained through calculation, the monitoring equipment can directly take the target holder control parameters as the position characterization parameters corresponding to the mark points, and the position characterization parameters of the mark points do not need to be obtained subsequently, so that the calculation amount can be reduced, and the area determination efficiency is improved.
In one embodiment of the application, the electronic device may determine an adjustment operation to adjust the displayed target monitoring screen; and sending a cradle head adjusting instruction to the monitoring equipment based on the adjusting operation so that the monitoring equipment adjusts the cradle head control parameters according to the cradle head adjusting instruction.
Wherein, the adjusting operation may be: the user drags the target monitoring picture by using a mouse, moves the target monitoring picture by using an arrow moving instruction and the like.
Specifically, the user can adjust the target monitoring picture through the input device, the electronic device can receive the adjustment operation, a cradle head adjustment instruction is generated based on the adjustment operation and is sent to the monitoring device, and the monitoring device adjusts the cradle head according to the instruction after receiving the instruction, so that the collected target monitoring picture follows the adjustment operation input by the user.
In an embodiment of the application, the electronic device may also determine an adjustment operation for adjusting the displayed target monitoring picture, and send a pan-tilt adjustment instruction to the monitoring device based on the adjustment operation, so that the monitoring device adjusts pan-tilt control parameters according to the pan-tilt adjustment instruction. The expected mark point can be moved to a conveniently selected position in the monitoring picture by the adjusting mode.
And then determining an expected mark point of the target area expected to be set in a target monitoring picture currently acquired by the monitoring equipment, sending a pan-tilt adjusting instruction carrying position information of the determined expected mark point to the monitoring equipment, so that the monitoring equipment calculates a target pan-tilt control parameter for adjusting a pan-tilt to enable the expected mark point to be located at the target mark position of the target monitoring picture according to the current pan-tilt control parameter and the position information, and adjusts the pan-tilt according to the target pan-tilt control parameter.
Therefore, the two modes are combined, so that a user can conveniently select expected mark points in the monitoring picture, and the area determination efficiency is improved.
In an embodiment of the present application, the azimuth angles corresponding to all the landmark points of the target area may be within a preset horizontal angle range in the horizontal direction.
Wherein, the corresponding azimuth angle of each mark point is: and under the condition that the mark point is positioned at the central position of the monitoring picture acquired by the monitoring equipment, monitoring the azimuth angle of the equipment.
The horizontal angle range can be 2-80 degrees, 10-70 degrees, 0-90 degrees and the like. The value of the horizontal angle range can be determined according to parameters of the monitoring equipment.
And azimuth angles corresponding to all the mark points of the target area are within a preset vertical angle range in the vertical direction. The vertical angle range can be 1-45 degrees, 15-30 degrees, 0-60 degrees and the like.
Therefore, by limiting the angle range between the azimuth angles of the mark points of the target area in the horizontal direction and/or the vertical direction, the target area is prevented from being too large to cause area distortion of the subsequently determined target area, and the accuracy of the determined target area is prevented from being low.
Referring to fig. 2, fig. 2 is a schematic flowchart of another area determination method provided in the embodiment of the present application, where the method includes the following steps 201 to 206.
specifically, an area determination button may be deployed in an operation interface of the electronic device, and after receiving a selection operation of the user on the button, the user is considered to set the target area.
the identifier may be a serial number of the mark point, such as 1, 2, 3 … …, and the identifier may also represent a position of the mark point, such as an upper left vertex, an upper right vertex, a circle center, a lower left corner edge point, and the like.
Specifically, a selection frame of the mark point identifier may be set in an operation interface of the electronic device, and a user may set the mark point identifier by performing a selection operation on the selection frame.
specifically, a screen dragging button may be set in an operation interface of the electronic device, and a user may adjust the monitoring screen by dragging the screen dragging button.
the target mark position may be a center position of the monitoring screen.
In an embodiment of the application, a preset identifier may be set at a central position of the monitoring screen, where the preset identifier is used to mark a target mark position, so that a user can adjust the screen to make a mark point expected to be set be at the preset identifier, and thus set the point at the preset identifier as the mark point.
Specifically, referring to fig. 3, fig. 3 is a schematic view of an operation interface of an electronic device according to an embodiment of the present application. The operation interface can display a monitoring picture currently acquired by the monitoring equipment, and a crosshair is arranged at the center of the monitoring picture and used for marking the position of the target mark.
Taking the mark point as the vertex of the target area and the mark point identifier as the serial number of the vertex as an example, the operation interface may further include a vertex serial number drop-down box, which is a mark point identifier selection box, and a picture dragging button, which is convenient for a user to adjust the picture in eight directions, i.e., up, down, left, right, up-left, up-right, down-left, and down-right.
In an embodiment of the application, a cradle head adjustment instruction may be sent to the monitoring device when the target area viewing instruction is received, so that the monitoring device sets a cradle head control parameter as a position characterization parameter corresponding to a mark point of the target area.
Specifically, a user can send a target area checking instruction to the electronic device through the input device, the electronic device sends a cradle head adjusting instruction to the monitoring device after receiving the target area checking instruction, and the monitoring device adjusts cradle head control parameters after receiving the cradle head adjusting instruction, so that the monitoring device sets the cradle head control parameters as position representation parameters corresponding to a mark point of the target area, and further the mark point is located at a specified position of a monitoring picture. The above-mentioned specified position may be a central position of the monitoring screen.
For example, in a case that the mark point is a vertex of the target area, the pan-tilt control parameter of the monitoring device may be set as a position characterizing parameter corresponding to an upper left vertex of the target area, so that the upper left vertex may appear at a specified position in the monitoring picture acquired by the monitoring device, for example, a center position of the monitoring picture.
In an embodiment of the application, after receiving the target area checking instruction, the electronic device can determine a position characterization parameter corresponding to a mark point of the target area, and then send a cradle head adjustment instruction carrying the position characterization parameter to the monitoring device, so as to control the monitoring device to set the cradle head according to the position characterization parameter.
The electronic device can also directly send a holder adjustment instruction to the monitoring device after receiving the target area checking instruction, the monitoring device determines a position characterization parameter corresponding to a mark point of the target area, and then the holder is set according to the position characterization parameter.
In one embodiment of the present application, where there are multiple target areas, different identifications may be created for different target areas. The above-mentioned marks can be numerals, English letters, Chinese characters, etc.
The target area viewing instruction can carry a target identifier of a target area to be viewed, and thus, after receiving the target area viewing instruction, the electronic device can send a holder adjustment instruction to the monitoring device, so that the monitoring device sets holder control parameters as position characterization parameters corresponding to a mark point of the target area corresponding to the target identifier.
Specifically, the electronic device may determine a position characterizing parameter of a mark point of the target area corresponding to the target identifier in the target area viewing instruction, then send a pan-tilt adjusting instruction carrying the position characterizing parameter to the monitoring device, and control the monitoring device to set the pan-tilt according to the position characterizing parameter.
The electronic device may further obtain a target identifier carried in the target area viewing instruction after receiving the target area viewing instruction, and then send a cradle head adjustment instruction carrying the target identifier to the monitoring device, after receiving the instruction, the monitoring device may determine a target area corresponding to the target identifier, determine a position characterizing parameter corresponding to a mark point of the target area, and then set the cradle head according to the position characterizing parameter.
Referring to fig. 4, fig. 4 is a schematic view of a target area provided by an embodiment of the present application. Taking the above-mentioned mark point as the vertex of the target area as an example, after receiving the target area viewing instruction, the pan-tilt control parameter of the monitoring device may be set as the position characterizing parameter corresponding to the vertex at the upper left corner of the target area, so as to obtain the display effect shown in fig. 4.
Referring to fig. 5, fig. 5 is a signaling interaction diagram of a region determining process provided in an embodiment of the present application, and in combination with the operation interface of the electronic device shown in fig. 3, the process of determining the target region may be:
a user can input a region setting instruction to the electronic equipment, and the electronic equipment displays an operation interface set by a region after receiving the region setting instruction;
the user clicks a vertex serial number drop-down box in an operation interface of the electronic equipment, the serial number of the vertex of the target area to be set currently is selected, and the electronic equipment determines the serial number of the vertex to be set currently;
a user inputs an adjustment operation for adjusting the displayed monitoring picture;
the electronic equipment generates a PTZ adjusting instruction based on the adjusting operation and sends the PTZ adjusting instruction to the monitoring equipment;
the monitoring equipment adjusts the PTZ parameters according to the PTZ adjusting instruction so that the monitoring picture acquired by the monitoring equipment follows the adjusting operation of the user, and further the top point of the target area expected to be set by the user is located at the crosshair of the center position of the monitoring picture;
a user inputs a vertex determining instruction to the electronic equipment, the electronic equipment determines that a point at a crosshair of a monitoring picture is determined as a vertex, a setting instruction is sent to the monitoring equipment, and the monitoring equipment records the current PTZ parameter;
and repeating the step of determining the vertex, after determining the vertex meeting the region determination requirement, sending a region determination instruction to the electronic equipment by the user, sending the region determination instruction to the monitoring equipment by the electronic equipment, and determining the target region by the monitoring equipment according to the recorded PTZ parameter.
In another embodiment of the present application, when determining the target area, the electronic device may obtain a monitoring picture acquired by the monitoring device under different pan/tilt control parameters, identify the content of the monitoring picture, and select a target monitoring picture including a mark point of the target area from the obtained monitoring picture, further, the electronic device may further identify the mark point in the target monitoring picture, and send an area determination instruction to the monitoring device according to the identified mark point, and after receiving the instruction, the monitoring device determines the target area according to pan/tilt control information of the mark point determined by the electronic device. Therefore, in the process of determining the target area, manual operation of a user is not needed, the workload of the user can be saved, and the target area determining efficiency is improved.
When the scheme provided by the embodiment is applied to area determination, at least two target monitoring pictures can be obtained, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain the mark points of the target area, wherein the mark points which are not in the same monitoring picture exist in each mark point of the target area; determining at least one mark point of a target area in each target monitoring picture; and sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine a target area based on the determined mark point. Therefore, each mark point of the target area can be respectively set in the target monitoring picture acquired by the monitoring equipment under different pan-tilt control parameters, and then the monitoring equipment can determine the target area according to each set mark point. Therefore, the area determining scheme provided by the embodiment can be used for determining the target area beyond the monitoring picture.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a region determination system provided in the embodiment of the present application, where the system includes a client 601 and a monitoring device 602, where the client may be an electronic device such as the above-mentioned electronic computer, tablet computer, mobile phone, and the like, and may also be a software client running in the above-mentioned electronic device, which is not limited in the embodiment of the present application. Wherein:
the monitoring device 602 is configured to acquire a monitoring picture including a marker point of a target area under different pan-tilt control parameters, where marker points that are not in the same monitoring picture exist in each marker point of the target area;
the client 601 is configured to obtain at least two target monitoring pictures, and determine at least one marker point of the target area in each target monitoring picture; sending a target area determination instruction to the monitoring device 602;
the monitoring device 602 is configured to receive the target area determination instruction, and determine the target area based on the landmark point determined by the client 601.
In an embodiment of the present application, the client 601 is configured to send a marker point determination instruction to the monitoring device 602 after determining a marker point;
the monitoring device 602 is configured to receive the marker point determination instruction, determine a location characterization parameter corresponding to a marker point based on the marker point determination instruction, and store the determined location characterization parameter;
the client 601 is configured to send a target area determination instruction to the monitoring device 602 after the determined landmark point meets an area determination condition;
wherein the target area determination condition is: uniquely determining a condition of the target area according to the determined mark point;
the monitoring device 602 is configured to receive the target area determining instruction, and determine the target area according to the stored location characterization parameters of each marker point.
In an embodiment of the present application, the client 601 is specifically configured to: sending a pan-tilt adjustment instruction to the monitoring device 602, and controlling the monitoring device 602 to adjust the acquired target monitoring picture in a manner of adjusting pan-tilt control parameters;
the monitoring device 602 is specifically configured to: receiving the cradle head adjusting instruction, adjusting the collected target monitoring picture in a manner of adjusting cradle head control parameters according to the cradle head adjusting instruction, and sending the monitoring picture collected after adjusting the cradle head control parameters to the client 601;
the client 601 is specifically configured to: determining a point located at a target mark position of the obtained target monitoring picture as a mark point of the target area under the condition that the obtained target monitoring picture meets a mark requirement, wherein the mark requirement comprises: the mark point expected to be set is located at the target mark position of the target monitoring picture.
In one embodiment of the present application, the target area determination instruction is configured to: instructing the monitoring device 602 to determine the target area based on the determined location characterizing parameters corresponding to the landmark points, where the location characterizing parameters corresponding to each landmark point are: and under the condition that the mark point is located at the specified position of the target monitoring picture acquired by the monitoring equipment 602, the holder control parameter of the monitoring equipment 602.
In an embodiment of the present application, the client 601 is specifically configured to: determining an expected landmark point of a target area expected to be set in a target monitoring picture currently acquired by the monitoring device 602; sending a pan-tilt adjustment instruction carrying the position information of the determined expected mark point to the monitoring device 602;
the monitoring device 602 is specifically configured to: and calculating target cloud platform control parameters for adjusting the cloud platform so that the expected mark point is located at the target mark position of the target monitoring picture according to the current cloud platform control parameters and the position information, and adjusting the cloud platform according to the target cloud platform control parameters.
In an embodiment of the present application, the client 601 is specifically configured to: determining an adjustment operation for adjusting the displayed target monitoring picture; sending a pan-tilt adjustment instruction to the monitoring device 602 based on the adjustment operation;
the monitoring device 602 is configured to: and adjusting the control parameters of the cradle head according to the cradle head adjusting instruction.
In one embodiment of the present application, the target area determination instruction is configured to: instructing the monitoring device 602 to determine the target area based on the determined location characterizing parameters corresponding to the landmark points, where the location characterizing parameters corresponding to each landmark point are: and under the condition that the mark point is located at the target mark position of the target monitoring picture acquired by the monitoring equipment 602, the holder control parameter of the monitoring equipment 602.
In an embodiment of the present application, when the determined landmark point is not located at the designated position of the target monitoring screen, the target area determination instruction carries: the position information of the determined mark point in the target monitoring picture or the offset information of the determined mark point relative to the specified position in the target monitoring picture;
the target area determination instructions are further configured to instruct the monitoring device 602 to: and determining offset information of the mark point of the target area relative to a specified position in the target monitoring picture, and calculating a position characterization parameter corresponding to the mark point according to the determined offset information and the current holder control parameter of the monitoring device 602.
In an embodiment of the present application, the azimuth angles corresponding to all the landmark points of the target area are within a preset horizontal angle range in the horizontal direction.
In an embodiment of the present application, the azimuth angles corresponding to all the mark points of the target area are within a preset vertical angle range in the vertical direction, where the azimuth angle corresponding to each mark point is: in a case where the landmark point is located at a specified position of the monitoring screen acquired by the monitoring apparatus 602, the azimuth of the monitoring apparatus 602.
In an embodiment of the application, the specified position is a central position of the target monitoring picture.
In an embodiment of the present application, the client 601 is further configured to: sending a pan-tilt adjustment instruction to the monitoring device 602 when a target area viewing instruction is received;
the monitoring device 602 is configured to: and setting the holder control parameter as a position characterization parameter corresponding to a mark point of the target area.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an area determination apparatus according to an embodiment of the present application, where the apparatus includes:
a monitoring picture obtaining module 701, configured to obtain at least two target monitoring pictures, where the target monitoring pictures are: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain mark points of a target area, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
a landmark determining module 702, configured to determine at least one landmark of the target area in each target monitoring screen;
a region determining module 703, configured to send a target region determining instruction to the monitoring device, where the target region determining instruction is used to instruct the monitoring device to determine the target region based on the determined landmark point.
In an embodiment of the present application, the landmark determining module 702 includes:
the instruction sending unit is used for sending a pan-tilt adjusting instruction to the monitoring equipment and controlling the monitoring equipment to adjust the acquired target monitoring picture in a pan-tilt control parameter adjusting mode;
a mark point determining unit, configured to determine, as a mark point of the target area, a point located at a target mark position of the obtained target monitoring screen when the obtained target monitoring screen meets a mark requirement, where the mark requirement includes: the mark point expected to be set is located at the target mark position of the target monitoring picture.
In one embodiment of the present application, the target area determination instruction is configured to: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: and under the condition that the mark point is positioned at the specified position of the target monitoring picture acquired by the monitoring equipment, controlling parameters of the holder of the monitoring equipment.
In an embodiment of the application, the first instruction sending unit is specifically configured to:
determining an expected mark point of an expected set target area in a target monitoring picture currently acquired by the monitoring equipment; sending a pan-tilt adjustment instruction carrying the determined position information of the expected mark point to the monitoring equipment, so that the monitoring equipment calculates a target pan-tilt control parameter for adjusting a pan-tilt to enable the expected mark point to be located at a target mark position of a target monitoring picture according to a current pan-tilt control parameter and the position information, and adjusts the pan-tilt according to the target pan-tilt control parameter; and/or
Determining an adjustment operation for adjusting the displayed target monitoring picture; and sending a cradle head adjusting instruction to the monitoring equipment based on the adjusting operation so that the monitoring equipment adjusts the cradle head control parameters according to the cradle head adjusting instruction.
In one embodiment of the present application, the target area determination instruction is configured to: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: and under the condition that the mark point is positioned at the target mark position of the target monitoring picture acquired by the monitoring equipment, controlling parameters of a holder of the monitoring equipment.
In an embodiment of the present application, when the determined landmark point is not located at the designated position of the target monitoring screen, the target area determination instruction carries: the position information of the determined mark point in the target monitoring picture or the offset information of the determined mark point relative to the specified position in the target monitoring picture;
the target area determination instructions are further configured to instruct the monitoring device to: and determining offset information of the mark point of the target area relative to a specified position in the target monitoring picture, and calculating a position characterization parameter corresponding to the mark point according to the determined offset information and the current holder control parameter of the monitoring equipment.
In an embodiment of the present application, the azimuth angles corresponding to all the landmark points of the target area are within a preset horizontal angle range in the horizontal direction.
In an embodiment of the present application, the azimuth angles corresponding to all the mark points of the target area are within a preset vertical angle range in the vertical direction, where the azimuth angle corresponding to each mark point is: and under the condition that the mark point is positioned at the specified position of the monitoring picture acquired by the monitoring equipment, the azimuth angle of the monitoring equipment.
In an embodiment of the application, the specified position is a central position of the target monitoring picture.
In an embodiment of the present application, the apparatus further includes a region viewing module configured to: and under the condition of receiving a target area viewing instruction, sending a holder adjustment instruction to the monitoring equipment, so that the monitoring equipment sets a holder control parameter as a position characterization parameter corresponding to a mark point of the target area.
When the scheme provided by the embodiment is applied to area determination, at least two target monitoring pictures can be obtained, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain the mark points of the target area, wherein the mark points which are not in the same monitoring picture exist in each mark point of the target area; determining at least one mark point of a target area in each target monitoring picture; and sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine a target area based on the determined mark point. Therefore, each mark point of the target area can be respectively set in the target monitoring picture acquired by the monitoring equipment under different pan-tilt control parameters, and then the monitoring equipment can determine the target area according to each set mark point. Therefore, the area determining scheme provided by the embodiment can be used for determining the target area beyond the monitoring picture.
Embodiments of the present application also provide an electronic device, as shown in fig. 8a, comprising a processor 801 and a memory 803,
a memory 803 for storing a computer program; the processor 801 is configured to implement the area specifying method described above when executing a program stored in the memory 803.
Optionally, as shown in fig. 8b, the electronic device further includes a communication interface 802 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 complete communication with each other through the communication bus 804.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above-mentioned region determination methods.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described region determination methods.
When the scheme provided by the embodiment is applied to area determination, at least two target monitoring pictures can be obtained, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain the mark points of the target area, wherein the mark points which are not in the same monitoring picture exist in each mark point of the target area; determining at least one mark point of a target area in each target monitoring picture; and sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine a target area based on the determined mark point. Therefore, each mark point of the target area can be respectively set in the target monitoring picture acquired by the monitoring equipment under different pan-tilt control parameters, and then the monitoring equipment can determine the target area according to each set mark point. Therefore, the area determining scheme provided by the embodiment can be used for determining the target area beyond the monitoring picture.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, system embodiments, apparatus embodiments, electronic device embodiments, storage medium embodiments, and computer program product embodiments are substantially similar to method embodiments and therefore are described with relative ease, as appropriate, with reference to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims (14)
1. A method for determining a region, the method comprising:
obtaining at least two target monitoring pictures, wherein the target monitoring pictures are: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain mark points of a target area, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
determining at least one mark point of the target area in each target monitoring picture;
sending a target area determination instruction to the monitoring device, wherein the target area determination instruction is used for instructing the monitoring device to determine the target area based on the determined mark point.
2. The method according to claim 1, wherein the determining at least one landmark point of the target area in each target monitoring screen comprises:
sending a pan-tilt adjustment instruction to the monitoring equipment, and controlling the monitoring equipment to adjust the acquired target monitoring picture in a manner of adjusting pan-tilt control parameters;
determining a point located at a target mark position of the obtained target monitoring picture as a mark point of the target area under the condition that the obtained target monitoring picture meets a mark requirement, wherein the mark requirement comprises: the mark point expected to be set is located at the target mark position of the target monitoring picture.
3. The method according to claim 2, wherein the sending of the pan-tilt adjustment instruction to the monitoring device, the controlling of the monitoring device, the adjusting of the collected target monitoring picture by adjusting the pan-tilt control parameter, comprises:
determining an expected mark point of an expected set target area in a target monitoring picture currently acquired by the monitoring equipment; sending a pan-tilt adjustment instruction carrying the determined position information of the expected mark point to the monitoring equipment, so that the monitoring equipment calculates a target pan-tilt control parameter for adjusting a pan-tilt to enable the expected mark point to be located at a target mark position of a target monitoring picture according to a current pan-tilt control parameter and the position information, and adjusts the pan-tilt according to the target pan-tilt control parameter; and/or
Determining an adjustment operation for adjusting the displayed target monitoring picture; and sending a cradle head adjusting instruction to the monitoring equipment based on the adjusting operation so that the monitoring equipment adjusts the cradle head control parameters according to the cradle head adjusting instruction.
4. The method of claim 1,
the target area determination instructions are for: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: and under the condition that the mark point is positioned at the specified position of the target monitoring picture acquired by the monitoring equipment, controlling parameters of the holder of the monitoring equipment.
5. The method of claim 4,
under the condition that the determined mark point is not located at the designated position of the target monitoring picture, the target area determination instruction carries: the position information of the determined mark point in the target monitoring picture or the offset information of the determined mark point relative to the specified position in the target monitoring picture;
the target area determination instructions are further configured to instruct the monitoring device to: and determining offset information of the mark point of the target area relative to a specified position in the target monitoring picture, and calculating a position characterization parameter corresponding to the mark point according to the determined offset information and the current holder control parameter of the monitoring equipment.
6. The method according to claim 4, wherein the azimuth angles corresponding to all the landmark points of the target area are within a preset horizontal angle range in the horizontal direction; and/or
Azimuth angles corresponding to all the mark points of the target area are within a preset vertical angle range in the vertical direction, wherein the azimuth angle corresponding to each mark point is as follows: the azimuth angle of the monitoring equipment under the condition that the mark point is located at the specified position of the monitoring picture acquired by the monitoring equipment; and/or
The specified position is the central position of the target monitoring picture; and/or
The method further comprises the following steps: and under the condition of receiving a target area viewing instruction, sending a holder adjustment instruction to the monitoring equipment, so that the monitoring equipment sets a holder control parameter as a position characterization parameter corresponding to a mark point of the target area.
7. The method according to claim 2 or 3,
the target area determination instructions are for: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: and under the condition that the mark point is positioned at the target mark position of the target monitoring picture acquired by the monitoring equipment, controlling parameters of a holder of the monitoring equipment.
8. An area determination system, the system comprising a client and a monitoring device, wherein:
the monitoring equipment is used for acquiring a monitoring picture containing the mark points of the target area under different pan-tilt control parameters, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
the client is used for obtaining at least two target monitoring pictures and determining at least one mark point of the target area in each target monitoring picture; sending a target area determination instruction to the monitoring equipment;
and the monitoring equipment is used for receiving the target area determining instruction and determining the target area based on the mark point determined by the client.
9. The system of claim 8,
the client is specifically configured to: sending a pan-tilt adjustment instruction to the monitoring equipment, and controlling the monitoring equipment to adjust the acquired target monitoring picture in a manner of adjusting pan-tilt control parameters;
the monitoring device is specifically configured to: receiving the tripod head adjusting instruction, adjusting the collected target monitoring picture in a manner of adjusting tripod head control parameters according to the tripod head adjusting instruction, and sending the monitoring picture collected after the tripod head control parameters are adjusted to the client;
the client is specifically configured to: determining a point located at a target mark position of the obtained target monitoring picture as a mark point of the target area under the condition that the obtained target monitoring picture meets a mark requirement, wherein the mark requirement comprises: the mark point expected to be set is positioned at the target mark position of the target monitoring picture;
and/or
The target area determination instructions are for: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: and under the condition that the mark point is positioned at the specified position of the target monitoring picture acquired by the monitoring equipment, controlling parameters of the holder of the monitoring equipment.
10. The system of claim 9,
the client is specifically configured to: determining an expected mark point of an expected set target area in a target monitoring picture currently acquired by the monitoring equipment; sending a pan-tilt adjustment instruction carrying the position information of the determined expected mark point to the monitoring equipment;
the monitoring device is specifically configured to: calculating target holder control parameters for adjusting the holder to enable the expected mark point to be located at a target mark position of a target monitoring picture according to the current holder control parameters and the position information, and adjusting the holder according to the target holder control parameters;
and/or
The client is specifically configured to: determining an adjustment operation for adjusting the displayed target monitoring picture; sending a pan-tilt adjustment instruction to the monitoring equipment based on the adjustment operation;
the monitoring device is configured to: adjusting the cradle head control parameters according to the cradle head adjusting instruction;
and/or
The target area determination instructions are for: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: under the condition that the mark point is located at the target mark position of the target monitoring picture acquired by the monitoring equipment, the holder control parameters of the monitoring equipment;
and/or
Under the condition that the determined mark point is not located at the designated position of the target monitoring picture, the target area determination instruction carries: the position information of the determined mark point in the target monitoring picture or the offset information of the determined mark point relative to the specified position in the target monitoring picture;
the target area determination instructions are further configured to instruct the monitoring device to: determining offset information of a mark point of the target area relative to a specified position in the target monitoring picture, and calculating a position characterization parameter corresponding to the mark point according to the determined offset information and the current holder control parameter of the monitoring equipment;
and/or
Azimuth angles corresponding to all the mark points of the target area are in a preset horizontal angle range in the horizontal direction; and/or
Azimuth angles corresponding to all the mark points of the target area are within a preset vertical angle range in the vertical direction, wherein the azimuth angle corresponding to each mark point is as follows: the azimuth angle of the monitoring equipment under the condition that the mark point is located at the specified position of the monitoring picture acquired by the monitoring equipment; and/or
The specified position is the central position of the target monitoring picture; and/or
The client is further configured to: under the condition of receiving a target area checking instruction, sending a holder adjusting instruction to the monitoring equipment;
the monitoring device is configured to: and setting the holder control parameter as a position characterization parameter corresponding to a mark point of the target area.
11. An area determination apparatus, characterized in that the apparatus comprises:
the monitoring picture obtaining module is used for obtaining at least two target monitoring pictures, wherein the target monitoring pictures are as follows: monitoring pictures which are acquired by monitoring equipment under different pan-tilt control parameters and contain mark points of a target area, wherein the mark points of the target area have mark points which are not in the same monitoring picture;
the mark point determining module is used for determining at least one mark point of the target area in each target monitoring picture;
and the area determining module is used for sending a target area determining instruction to the monitoring equipment, wherein the target area determining instruction is used for instructing the monitoring equipment to determine the target area based on the determined mark point.
12. The apparatus of claim 11, wherein the landmark determining module comprises:
the instruction sending unit is used for sending a pan-tilt adjusting instruction to the monitoring equipment and controlling the monitoring equipment to adjust the acquired target monitoring picture in a pan-tilt control parameter adjusting mode;
a mark point determining unit, configured to determine, as a mark point of the target area, a point located at a target mark position of the obtained target monitoring screen when the obtained target monitoring screen meets a mark requirement, where the mark requirement includes: the mark point expected to be set is positioned at the target mark position of the target monitoring picture;
and/or
The target area determination instructions are for: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: and under the condition that the mark point is positioned at the specified position of the target monitoring picture acquired by the monitoring equipment, controlling parameters of the holder of the monitoring equipment.
13. The apparatus according to claim 12, wherein the first instruction sending unit is specifically configured to:
determining an expected mark point of an expected set target area in a target monitoring picture currently acquired by the monitoring equipment; sending a pan-tilt adjustment instruction carrying the determined position information of the expected mark point to the monitoring equipment, so that the monitoring equipment calculates a target pan-tilt control parameter for adjusting a pan-tilt to enable the expected mark point to be located at a target mark position of a target monitoring picture according to a current pan-tilt control parameter and the position information, and adjusts the pan-tilt according to the target pan-tilt control parameter; and/or
Determining an adjustment operation for adjusting the displayed target monitoring picture; sending a pan-tilt adjustment instruction to the monitoring equipment based on the adjustment operation, so that the monitoring equipment adjusts pan-tilt control parameters according to the pan-tilt adjustment instruction;
and/or
The target area determination instructions are for: instructing the monitoring device to determine the target area based on the determined position characterization parameters corresponding to the mark points, wherein the position characterization parameters corresponding to each mark point are: under the condition that the mark point is located at the target mark position of the target monitoring picture acquired by the monitoring equipment, the holder control parameters of the monitoring equipment;
and/or
Under the condition that the determined mark point is not located at the designated position of the target monitoring picture, the target area determination instruction carries: the position information of the determined mark point in the target monitoring picture or the offset information of the determined mark point relative to the specified position in the target monitoring picture;
the target area determination instructions are further configured to instruct the monitoring device to: determining offset information of a mark point of the target area relative to a specified position in the target monitoring picture, and calculating a position characterization parameter corresponding to the mark point according to the determined offset information and the current holder control parameter of the monitoring equipment;
and/or
Azimuth angles corresponding to all the mark points of the target area are in a preset horizontal angle range in the horizontal direction; and/or
Azimuth angles corresponding to all the mark points of the target area are within a preset vertical angle range in the vertical direction, wherein the azimuth angle corresponding to each mark point is as follows: the azimuth angle of the monitoring equipment under the condition that the mark point is located at the specified position of the monitoring picture acquired by the monitoring equipment; and/or
The specified position is the central position of the target monitoring picture; and/or
The apparatus also includes a region viewing module to: and under the condition of receiving a target area viewing instruction, sending a holder adjustment instruction to the monitoring equipment, so that the monitoring equipment sets a holder control parameter as a position characterization parameter corresponding to a mark point of the target area.
14. An electronic device comprising a processor and a memory;
a memory for storing a computer program;
a processor for implementing the method of any one of claims 1 to 7 when executing a program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011608974.XA CN112866631B (en) | 2020-12-30 | 2020-12-30 | Region determination method, system and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011608974.XA CN112866631B (en) | 2020-12-30 | 2020-12-30 | Region determination method, system and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112866631A true CN112866631A (en) | 2021-05-28 |
CN112866631B CN112866631B (en) | 2022-09-02 |
Family
ID=75998528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011608974.XA Active CN112866631B (en) | 2020-12-30 | 2020-12-30 | Region determination method, system and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112866631B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115052134A (en) * | 2022-08-15 | 2022-09-13 | 广州市华达石化有限公司 | Monitoring method and device for industrial gas enterprise and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809603A (en) * | 2012-11-09 | 2014-05-21 | 浙江大华技术股份有限公司 | Cradle head control method and device |
CN104125427A (en) * | 2013-04-24 | 2014-10-29 | 华为技术有限公司 | Video monitoring method, video monitoring apparatus, and video monitoring system |
WO2014182887A1 (en) * | 2013-05-08 | 2014-11-13 | International Electronic Machines Corporation | Operations monitoring in an area |
US20150347862A1 (en) * | 2014-05-30 | 2015-12-03 | Fuji Xerox Co., Ltd. | Image processing apparatus, image processing method, image processing system, and non-transitory computer readable medium storing program |
US20170048436A1 (en) * | 2015-08-11 | 2017-02-16 | Vivotek Inc. | Viewing Angle Switching Method and Camera Therefor |
CN108604379A (en) * | 2016-02-12 | 2018-09-28 | 高通股份有限公司 | System and method for determining the region in image |
CN109919966A (en) * | 2019-01-24 | 2019-06-21 | 北京明略软件系统有限公司 | Area determination method, device, storage medium and processor |
CN110225304A (en) * | 2019-05-30 | 2019-09-10 | 浙江大华技术股份有限公司 | A kind of area monitoring methods of exhibiting, device, electronic equipment and storage medium |
-
2020
- 2020-12-30 CN CN202011608974.XA patent/CN112866631B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809603A (en) * | 2012-11-09 | 2014-05-21 | 浙江大华技术股份有限公司 | Cradle head control method and device |
CN104125427A (en) * | 2013-04-24 | 2014-10-29 | 华为技术有限公司 | Video monitoring method, video monitoring apparatus, and video monitoring system |
WO2014182887A1 (en) * | 2013-05-08 | 2014-11-13 | International Electronic Machines Corporation | Operations monitoring in an area |
US20150347862A1 (en) * | 2014-05-30 | 2015-12-03 | Fuji Xerox Co., Ltd. | Image processing apparatus, image processing method, image processing system, and non-transitory computer readable medium storing program |
US20170048436A1 (en) * | 2015-08-11 | 2017-02-16 | Vivotek Inc. | Viewing Angle Switching Method and Camera Therefor |
CN108604379A (en) * | 2016-02-12 | 2018-09-28 | 高通股份有限公司 | System and method for determining the region in image |
CN109919966A (en) * | 2019-01-24 | 2019-06-21 | 北京明略软件系统有限公司 | Area determination method, device, storage medium and processor |
CN110225304A (en) * | 2019-05-30 | 2019-09-10 | 浙江大华技术股份有限公司 | A kind of area monitoring methods of exhibiting, device, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115052134A (en) * | 2022-08-15 | 2022-09-13 | 广州市华达石化有限公司 | Monitoring method and device for industrial gas enterprise and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112866631B (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6408019B2 (en) | Photo composition and position guidance on image devices | |
CN110072087B (en) | Camera linkage method, device, equipment and storage medium based on 3D map | |
US10796543B2 (en) | Display control apparatus, display control method, camera system, control method for camera system, and storage medium | |
US10404947B2 (en) | Information processing apparatus, information processing method, camera system, control method for camera system, and storage medium | |
CN108668086B (en) | Automatic focusing method and device, storage medium and terminal | |
US10755109B2 (en) | Monitoring system, monitoring method, and non-transitory computer-readable storage medium | |
WO2014082407A1 (en) | Method and system for displaying video monitoring image | |
US20110234820A1 (en) | Electronic device and method for controlling cameras using the same | |
JP7067604B2 (en) | Event monitoring system, event monitoring method, and program | |
JP2007243509A (en) | Image processing device | |
WO2019227309A1 (en) | Tracking photographing method and apparatus, and storage medium | |
CN112866631B (en) | Region determination method, system and device and electronic equipment | |
TW201725899A (en) | Electronic device and method for capturing image | |
CN114416244A (en) | Information display method and device, electronic equipment and storage medium | |
JP2017092808A (en) | Image monitoring system | |
US10931863B2 (en) | Camera control system and method of controlling a set of cameras | |
CN108769538B (en) | Automatic focusing method and device, storage medium and terminal | |
CN107102794B (en) | Operation processing method and device | |
JP6483326B2 (en) | Monitoring system and terminal device | |
TW201725898A (en) | Electronic device and method for capturing image | |
JP2005192057A (en) | Method and apparatus for segmented display of spatial image | |
EP3529982B1 (en) | Video zoom controls based on received information | |
WO2023051044A1 (en) | Method and apparatus for determining target position, and electronic device and storage medium | |
US20240331660A1 (en) | Program, terminal control method, terminal, information processing method, and information processing device | |
JP7520599B2 (en) | Photographing support device, method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |