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 invention, 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 invention.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
The embodiment of the application is applied to the camera control device in the monitoring system, the monitoring system can further comprise more than two cameras arranged at a plurality of physical positions, the shooting visual angle of each camera in the more than two cameras corresponds to one shooting area, the more than two cameras can be arranged in all shooting areas which all cameras comprise and can cover all areas outside the door, and therefore all areas outside the door can be monitored through the more than two cameras.
By taking a doorbell monitoring scene as an example, please refer to fig. 1A, fig. 1A is a demonstration schematic diagram of a monitoring system provided by the embodiment of the present application, wherein the monitoring system related to the embodiment of the present application may include a doorbell and two or more cameras, the doorbell may be fixedly mounted on a door or on a wall, the two or more cameras may be respectively disposed at different positions on the door or on the wall, the doorbell includes a button and a camera control device, the camera control device may be a processor, the button and the two or more cameras are respectively connected with the processor, and the doorbell may further include a cat eye. Wherein the processor may be a processing chip or a processing unit, etc. More than two cameras can be used for monitoring visitor or article outdoors, shoot video monitoring information, then send video monitoring information to the treater and carry out data analysis and processing.
Optionally, the monitoring system may further comprise at least one of the following ranging sensors: the sound sensor can be used for recording audio monitoring information, and further monitoring the sound condition outside the door, and the infrared sensor or the ultrasonic sensor can be used for detecting whether people approach the door or not.
The electronic apparatus according to the embodiments of the present application may include various handheld devices, computing devices or other processing apparatuses connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and the like, and the camera control apparatus may be, for example, a smart phone, a tablet computer, and the like. For convenience of description, the above-mentioned apparatuses are collectively referred to as a camera control device.
Referring to fig. 1B, fig. 1B is a schematic flow chart of a camera control method applied to a monitoring system in an embodiment of the present application, where the monitoring system includes two or more cameras, and each camera in the two or more cameras corresponds to a shooting area, as shown in fig. 1B, the camera control method includes:
101. first monitoring information is acquired.
In the embodiment of the application, more than two cameras and at least one of the following distance measuring sensors can be arranged in the area needing to be monitored: acoustic sensors, infrared sensors, ultrasonic sensors, and the like. Can shoot video monitoring information through above-mentioned camera, can acquire audio monitoring information through sound transducer, infrared sensor and ultrasonic sensor still can detect the approaching of visitor or object.
Optionally, if the first camera is in an open state, the first camera is any one of the two or more cameras, and the obtaining of the first monitoring information in step 101 may include the following steps:
11. and acquiring the first monitoring information through the first camera, wherein the first monitoring information is video monitoring information.
In the embodiment of the application, the first camera can be started first, the video monitoring information is acquired through the first camera, and at the moment, other cameras are all in an unopened state, so that whether other cameras except the first camera need to be started or not is determined according to the video monitoring information.
Optionally, the monitoring system further includes a sound sensor, and if the two or more cameras are not turned on, in step 101, the obtaining the first monitoring information may include the following steps:
12. and acquiring the first monitoring information through the sound sensor, wherein the first monitoring information is audio monitoring information.
In the embodiment of the application, the monitoring system can comprise more than two cameras and the sound sensor, and in the concrete implementation, in order to reduce the energy consumption, the sound sensor can be started first, the more than two cameras are not started, and then the audio monitoring information can be obtained through the sound sensor, so that the partial or all cameras in the more than two cameras can be determined to be started according to the audio monitoring information.
102. And processing the first monitoring information to obtain an information processing result.
In this embodiment of the application, after the first monitoring information is obtained, information processing may be performed on the first monitoring information to obtain an information processing result, where the information processing result may include at least one of the following: personnel location, personnel location area, personnel number, personnel identity information, and the like, without limitation.
Optionally, if the first camera is in an open state, the first camera is any one of the two or more cameras, and the first monitoring information is video monitoring information shot by the first camera, and in the step 102, the information processing is performed on the first monitoring information to obtain an information processing result, which may include the following steps:
21. carrying out portrait recognition on the video monitoring information to obtain the number of personnel included in the video monitoring information;
22. if the number of the persons is smaller than a first preset number threshold, determining the position of a first person, and acquiring the movement parameters of the persons; and predicting the position of a second person of the visitor after a preset time according to the person movement parameter.
The first preset number threshold may be set by default by the system, or may be set by the user, and the first preset number threshold may be, for example, 2, or 3, and so on, which is not limited herein.
In specific implementation, when the first camera is started, the image of the video monitoring information can be identified, the number of people included in the video monitoring information is obtained, and therefore the number of people of visitors can be determined. If the number of the visiting persons is less than the first preset number threshold, for example, there is only one visiting person, the first person position where the visiting person is currently located may be further determined, or a person movement parameter may be obtained, where the person movement parameter may include at least one of the following: the moving direction of the person, the moving speed of the visitor, the moving distance of the visitor, and the like, and then, the position of the second person after a preset time period, which may be, for example, 1 second, 2 seconds, 5 seconds, and the like, is estimated according to the moving parameters of the person and the current position of the first person of the visitor, and is not limited herein.
Optionally, the monitoring system further includes a sound sensor, and if two or more cameras are not turned on, in the step 102, the information processing is performed on the first monitoring information to obtain an information processing result, which may include the following steps:
23. and carrying out audio processing on the audio monitoring information to obtain a first person position area.
For example, assuming that two visitors are detected and the area related to two person positions corresponding to the two visitors is the person position area, as shown in fig. 1B, a schematic illustration of a person position area is provided in this embodiment of the present application.
In a specific implementation, the audio monitoring information may be subjected to audio processing to determine a sound source, and then, at least one visitor and a first person location area related to the at least one visitor may be determined according to the sound source.
Optionally, in a possible embodiment, after the video monitoring information or the audio monitoring information is obtained, video processing may be performed on the video monitoring information, or the audio monitoring information may be processed to obtain the first person identity information and the second person location area of at least one visitor.
If the number of the visitors is one, the first person identity information is the identity information of the visitor, and if the number of the visitors is more than two, the first person identity information comprises all the identity information of the more than two visitors. In specific implementation, for video monitoring information, face recognition can be performed on the video monitoring information to obtain at least one piece of face identity information of at least one visitor, the at least one piece of face identity information is used as first person identity information, then at least one actual position corresponding to the at least one visitor is determined according to the position of the at least one visitor in a video, and a second person position area related to the at least one actual position is determined. Aiming at the audio monitoring information, voiceprint recognition can be carried out on the audio monitoring information to obtain at least one piece of voiceprint information of at least one visitor, the at least one piece of voiceprint information is used as first person identity information, then at least one actual position corresponding to the at least one visitor is determined according to the sound source position in the audio monitoring information, and a second person position area related to the at least one actual position is determined.
103. And determining at least one target shooting area according to the information processing result, and starting at least one camera corresponding to the at least one target shooting area in the more than two cameras to carry out video monitoring.
In the embodiment of the application, considering that continuously and simultaneously starting all the cameras can cause excessive energy consumption, at least one target shooting area can be determined according to the information processing result, wherein the at least one target shooting area is a key area which needs to be monitored by the cameras, and in a specific implementation, the at least one target shooting area determined according to the information processing result is generally a current activity area of a visitor or an area which may appear after a preset time length of the visitor, so that the at least one camera corresponding to the at least one target shooting area can be started to monitor the at least one target shooting area, thereby avoiding a monitoring blind area, continuously starting all the cameras, and reducing energy consumption.
The following specifically describes an example of two arbitrary cameras among the plurality of cameras. Referring to fig. 1C, fig. 1C is a schematic view illustrating a monitoring scene provided in an embodiment of the present application, where a monitoring system includes two or more cameras, a first camera and a second camera are any two cameras of the two or more cameras, an overlapping region (Y region) exists between a first shooting region (X region + Y region) and a second shooting region (Y region + Z region), the first shooting region further includes an X region other than the overlapping region (Y region), and the first shooting region further includes a Z region other than the overlapping region (Y region).
Optionally, the first camera corresponds to a first shooting area, the second camera corresponds to a second shooting area, the second camera is any one of the two or more cameras except the first camera, and an overlapping area exists between the first shooting area and the second shooting area; in step 103, the determining at least one target shooting area according to the information processing result, and turning on at least one of the two or more cameras corresponding to the at least one target shooting area for video monitoring may include the following steps:
31. if the number of the persons is larger than a second preset number threshold, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera, wherein the second preset number threshold is larger than or equal to the first preset number threshold;
32. if the number of the persons is smaller than the first preset number threshold value and the first person position is in the overlapping area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera;
33. if the number of the persons is smaller than the first preset number threshold value and the second person position is in other areas except the overlapping area in the second shooting area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera.
The first preset number threshold may be set by default of the system, or may be set by the user, and the first preset number threshold may be, for example, 1, 2, or 3, and the like, which is not limited herein.
In the embodiment of the application, if the number of people is greater than the second preset number threshold, it is indicated that the activity area of the visitor is possibly large, and it is determined that the target shooting area includes the first shooting area and the second shooting area, so that the second camera can be turned on, and video monitoring is performed through the first camera and the second camera at the same time.
If the number of the persons is smaller than the first preset number threshold, the number of the visitors is less, and in this case, if the first person position of the visitor is in an X area in the first shooting area, it can be determined that the target shooting area includes the first shooting area, so that the first camera can be maintained to continue monitoring; if the first person position of the visitor is in the overlapping area (Y area), the target shooting area can be determined to comprise the first shooting area and the second shooting area, so that the second camera can be started, and video monitoring can be simultaneously carried out through the first camera and the second camera.
Optionally, in a possible example, if the number of people is less than the first preset number threshold and the first person position of the visitor is in the Z area, it may be determined that the target shooting area includes the second shooting area, so that the second camera may be turned on, the first camera may be turned off, and video monitoring may be performed on the second shooting area only by the second camera.
If the number of the people is smaller than the first preset number threshold value and the position of the second person of the interviewer after the preset time is estimated to be in the Z area, the target shooting area including the first shooting area and the second shooting area can be determined, so that the second camera can be started, and video monitoring can be simultaneously carried out through the first camera and the second camera.
Optionally, the monitoring system further includes a sound sensor, and if the two or more cameras are not turned on, in step 103, determining at least one target shooting area according to the information processing result may include the following steps:
34. and determining at least one target shooting area to which the first person position area belongs.
In this embodiment of the application, after the audio monitoring information is subjected to audio processing in step 23 to obtain the first person position area, at least one target shooting area to which the first person position area belongs may be determined, and specifically, if the first person position area relates to the first shooting area and the second shooting area, the target shooting area may be determined to be the first shooting area and the second shooting area, so that the first camera and the second camera may be turned on, and video monitoring may be performed simultaneously by the first camera and the second camera.
If the first person position area relates to a first shooting area, the target shooting area can be determined to be the first shooting area, the first camera can be opened, and monitoring is carried out through the first camera. If the first person position area relates to the second shooting area, the target shooting area can be determined to be the second shooting area, and therefore the second camera can be opened, and video monitoring is conducted through the second camera.
If the first person position area still relates to other shooting areas in more than two shooting areas except the first shooting area and the second shooting area, the camera that this other shooting area corresponds can also be opened and video monitoring is carried out, so, the area that needs monitoring is monitored to at least one camera that the area corresponds is shot to at least one target of accessible, in the concrete realization, the scope that needs to carry out at least one target of monitoring and shoot the area is big more, the camera that needs to open is more, thereby, can avoid monitoring the blind area, need not to continuously open all cameras again, thereby can reduce the energy consumption.
Optionally, the first camera corresponds to a first shooting area, the second camera corresponds to a second shooting area, the first camera and the second camera are any two cameras of the two or more cameras, and an overlapping area exists between the first shooting area and the second shooting area; the information processing result includes first person identity information and a second person location area, and in step 103, determining at least one target shooting area according to the information processing result includes:
35. if the first person identity information meets a first preset identity condition and the second person position area is located in the first shooting area, starting the first camera;
36. if the first person identity information meets a first preset identity condition and the second person position area is in the second shooting area, starting the second camera;
37. and if the first person identity information meets a second preset identity condition, starting the first camera and the second camera simultaneously.
In the embodiment of the application, different preset identity conditions can be preset, specifically, if the first person identity information is successfully matched with the identity information sample in the preset identity information base, the first person identity information includes the identity information of the owner or the acquaintance, thus, it can be determined that the first person identity information satisfies the first predetermined identity condition, for example, the first person identity information includes at least one face identity information, if the at least one face identity information includes a face identity information that is successfully matched with the face information samples in the identity information base, for example, the first person identity information includes at least one piece of voiceprint information, and if the at least one piece of voiceprint information includes voiceprint information successfully matched with a voiceprint information sample in the identity information base, it is determined that the first person identity information satisfies the first preset identity condition. In this case, if the second person location area of the at least one visitor is located in the first photographing area, it may be determined that the target photographing area is the first photographing area, and thus, the first camera may be turned on, video monitoring may be performed by the first camera, and if the first camera is originally in an open state, the open state of the first camera may be maintained. If the second person position area of at least one visitor is in the second shooting area, the target shooting area can be determined to be the second shooting area, so that the second camera can be started, and video monitoring is carried out through the second camera.
If the matching of the first person identity information and the identity information sample in the preset identity information base fails, the first person identity information is the identity information of strangers, and therefore the first person identity information can be determined to meet the second preset identity condition.
Optionally, in this embodiment of the present application, the following steps may also be included:
1031. acquiring a target time period of the current time;
1032. determining a first quantity corresponding to the target time period according to a mapping relation between a preset time period and the quantity;
1033. acquiring historical video monitoring information;
1034. determining the occurrence frequency of people in each shooting area of more than two shooting areas corresponding to more than two cameras in the target time period according to the historical video monitoring information to obtain the occurrence frequency of more than two people;
1035. and selecting the first number of cameras corresponding to the number of times of occurrence of the personnel according to the sequence from large to small of the number of times of occurrence of the personnel, and starting the first number of cameras to perform video monitoring.
In the embodiment of the present application, a mapping relationship between the time period and the number may be preset, and the mapping relationship between the time period and the number may be shown in the following table:
time period
|
Number of
|
7:00-9:00
|
1
|
9:00-12:00
|
2
|
12:00-14:00
|
1
|
14:00-18:00
|
2
|
18:00-21:00
|
3
|
21:00-5:00
|
4
|
5:00-7:00
|
3 |
The target time period of the current time can be obtained, for example, the current time is 8 am, the target time period can be determined to be 7:00-9:00, the first quantity 1 corresponding to the target time period can be determined according to the mapping relation, and then historical video monitoring information can be obtained; determining the occurrence frequency of people in each shooting area in more than two shooting areas corresponding to more than two cameras in a target time period according to historical video monitoring information to obtain the occurrence frequency of more than two people, and assuming that the occurrence frequency of people in a first shooting area corresponding to a first camera is 10, the occurrence frequency of people in a second shooting area corresponding to a second camera is 7, and the occurrence frequency of people in a third shooting area corresponding to a third camera is 6. For another example, if the target time period is 14:00-18:00, the first number 2 corresponding to the target time period may be determined according to the mapping relationship, so that 2 cameras may be selected according to the sequence of the number of times of occurrence of people from large to small, and according to the sequence of the number of times of occurrence of people from large to small, the first camera corresponding to the number of times of occurrence of people 10 and the second camera corresponding to the number of times of occurrence of people 7 may be determined, so that the first camera and the second camera may be simultaneously turned on for video monitoring.
Optionally, in this embodiment of the present application, the following steps may also be included:
and if the second personnel identity information detected within the preset time period meets a third preset identity condition, starting a preset number of cameras to perform video monitoring.
The preset time period and the preset number may be set by default by the system, or may be set by the user, the preset time period may be the first 5 minutes, the first 10 minutes, or the first 30 minutes, and the preset number may be 1, 2, or 3, and the like, which is not limited herein.
In the embodiment of the application, the second person identity information in the preset time period can be determined through the video monitoring information or the audio monitoring information corresponding to the preset time period, whether the visitor in the preset time period is the owner or acquaintance of the residence is determined according to the second person identity information, if so, the second person identity information is determined to satisfy a third preset identity condition, specifically, the second person identity information can be matched with an identity information sample in a preset identity information base, and if the matching is successful, the second person identity information indicates that the second person identity information includes the identity information of the owner or acquaintance, so that the second person identity information can be determined to satisfy the third preset identity condition, for example, the second person identity information includes at least one piece of face identity information, and if the at least one piece of face identity information includes the face identity information successfully matched with the face information sample in the identity information base, for example, the second person identity information includes at least one piece of voiceprint information, and if the at least one piece of voiceprint information includes voiceprint information successfully matched with a voiceprint information sample in the identity information base, the second person identity information can be determined to satisfy the third preset identity condition. In this case, a preset number of cameras may be turned on for video monitoring, for example, the first camera is turned on for video monitoring, or the first camera and the second camera are turned on for video monitoring at the same time.
Optionally, the monitoring system further includes a distance measuring sensor, and in this embodiment of the present application, the monitoring system may further include the following steps:
and if the distance measuring sensor detects that an object approaches, executing the operation of starting at least one camera corresponding to the at least one target shooting area in the more than two cameras to carry out video monitoring.
The ranging sensor may include at least one of: infrared sensors or ultrasonic sensors.
In the embodiment of the application, whether an object or a person approaches can be detected through the infrared sensor or the ultrasonic sensor, if so, at least one camera can be started to perform video monitoring, specifically, the infrared sensor can emit an infrared signal, receive an infrared reflection signal, record a first moment of emitting the infrared signal, and record a second moment of receiving the infrared reflection signal, so that a first reflection distance can be determined according to the first moment and the second moment, and if the first reflection distance is smaller than a preset distance threshold, the person or the object can be determined to appear. Or, the ultrasonic sensor can be used for transmitting the ultrasonic signal, receiving the ultrasonic reflection signal, recording the third moment of transmitting the ultrasonic signal and the fourth moment of receiving the ultrasonic reflection signal, so that the second reflection distance can be determined according to the third moment and the third moment, and if the second reflection distance is smaller than the preset distance threshold, people or objects can be determined to appear.
As can be seen, in the embodiment of the present application, the first monitoring information is obtained; performing information processing on the first monitoring information to obtain an information processing result; the method comprises the steps of determining at least one target shooting area according to an information processing result, starting at least one camera corresponding to the at least one target shooting area in more than two cameras to carry out video monitoring, thus, determining the number of the started cameras or cameras by determining the at least one target shooting area through first monitoring information outside a door under the condition that the more than two cameras are arranged outside the door, and further starting the at least one camera to shoot, so that effective monitoring on the condition outside the door can be guaranteed, monitoring blind areas are reduced, simultaneous working of all the cameras can be avoided, and energy consumption is reduced.
Referring to fig. 2, fig. 2 is a schematic flow chart of another camera control method according to an embodiment of the present disclosure, and is a camera control device applied in a monitoring system, where the monitoring system further includes two or more cameras, each camera in the two or more cameras corresponds to a shooting area, the camera control device is connected to the two or more cameras, a first camera corresponds to a first shooting area, a second camera corresponds to a second shooting area, the first camera and the second camera are any two cameras in the two or more cameras, and an overlapping area exists between the first shooting area and the second shooting area; as shown in fig. 2, the camera control method in this embodiment includes:
201. if the first camera is in an open state, acquiring video monitoring information through the first camera;
202. carrying out portrait recognition on the video monitoring information to obtain the number of personnel included in the video monitoring information;
203. if the number of the persons is smaller than a first preset number threshold, determining the position of a first person, and acquiring the movement parameters of the persons; estimating the position of a second person of the visiting person after a preset time according to the person movement parameter;
204. if the number of the persons is larger than a second preset number threshold, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera, wherein the second preset number threshold is larger than or equal to the first preset number threshold;
205. if the number of the persons is smaller than the first preset number threshold value and the first person position is in the overlapping area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera;
206. if the number of the persons is smaller than the first preset number threshold value and the second person position is in other areas except the overlapping area in the second shooting area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera.
For example, an overlapping area (Y area) exists between the first shooting area and the second shooting area, the first shooting area further includes an X area other than the overlapping area (Y area), the first shooting area further includes a Z area other than the overlapping area (Y area), if the first camera is in an on state, the first camera acquires video monitoring information, performs portrait identification on the video monitoring information, obtains the number of people included in the video monitoring information, if the number of people is greater than 2, for example, the number of people is 3, determines that the target shooting area includes the first shooting area and the second shooting area, and turns on the second camera. If the number of the persons is less than 2, for example, the number of the persons is 1, determining the position of a first person of the visitor, if the position of the first person is in the Y area, determining that the target shooting area comprises a first shooting area and a second shooting area, and starting a second camera. If the number of the personnel is less than 2, for example, the number of the personnel is 1, acquiring personnel movement parameters; and predicting the position of a second person of the visitor after a preset time according to the movement parameters of the person, determining that the target shooting area comprises a first shooting area and a second shooting area if the position of the second person is in a Z area, and starting a second camera.
The detailed description of the steps 201 to 206 may refer to the corresponding description of the camera control method described in fig. 1B, and is not repeated herein.
In this application embodiment, through the camera that the different quantity of personnel position or personnel quantity to the difference confirm different quantity and different shooting region correspond, so, can set up under the condition of two above cameras outdoors, confirm the camera or the camera quantity of opening, can guarantee to carry out effective control to the condition outdoors to reduce the control blind area, can avoid whole camera simultaneous working again, thereby reduce the energy consumption.
Referring to fig. 3, fig. 3 is a schematic flowchart of a camera control method applied to a camera control device in a monitoring system, where the monitoring system further includes two or more cameras, a sound sensor, and each of the two or more cameras corresponds to a shooting area, and as shown in fig. 3, the method includes:
301. acquiring audio monitoring information through a sound sensor;
302. carrying out audio processing on the audio monitoring information to obtain a first person position area;
303. determining at least one target shooting area to which the first person position area belongs;
304. and opening at least one camera corresponding to the at least one target shooting area in the more than two cameras to carry out video monitoring.
The detailed description of steps 301 to 304 may refer to the corresponding description of the camera control method described in fig. 1B, and is not repeated herein.
In the embodiment of the application, audio monitoring information is obtained through a sound sensor, audio processing is performed on the audio monitoring information, a first person position area is obtained, at least one target shooting area to which the first person position area belongs is determined, at least one camera corresponding to the at least one target shooting area in more than two cameras is started to perform video monitoring, therefore, an outdoor sound source can be determined through the audio monitoring information under the condition that the more than two cameras are arranged outdoors, the number of people and the position area of the people of visitors are determined, the number of the started cameras or the number of the started cameras is determined, then at least one camera is started to perform shooting, effective monitoring on the outdoor condition can be guaranteed, monitoring dead zones are reduced, simultaneous working of all the cameras can be avoided, and energy consumption is reduced.
Referring to fig. 4, fig. 4 is a schematic flow chart of another camera control method provided in the embodiment of the present application, and is applied to a camera control device in a monitoring system, where the monitoring system further includes two or more cameras and a sound sensor, and each camera in the two or more cameras corresponds to a shooting area, as shown in fig. 4, the camera control method in the embodiment includes:
401. if the first camera is in an open state, acquiring video monitoring information through the first camera;
402. if the two or more cameras are not in an opened state, audio monitoring information is obtained through a sound sensor;
403. performing video processing on the video monitoring information, or processing the audio monitoring information to obtain first person identity information and a second person position area of at least one visitor;
404. if the first person identity information meets a first preset identity condition and the second person position area is located in the first shooting area, starting the first camera;
405. if the first person identity information meets a first preset identity condition and the second person position area is in the second shooting area, starting the second camera;
406. and if the first person identity information meets a second preset identity condition, starting the first camera and the second camera simultaneously.
For example, the first person identity information may be determined according to the obtained video monitoring information, where the first person identity information includes at least one piece of face identity information, and if the at least one piece of face identity information includes face identity information successfully matched with the face information sample in the identity information base, it is indicated that the visitor includes a master or an acquaintance, it may be determined that the first person identity information satisfies a first preset identity condition. If the matching of at least one face identity information and the identity information sample in the preset identity information base fails, the fact that the visitor is a stranger is indicated, therefore, it can be determined that the identity information of the first person meets a second preset identity condition, and under the condition, the second camera can be started.
The detailed descriptions of steps 401 to 406 may refer to the corresponding descriptions of the camera control method described in fig. 1B, and are not repeated herein.
In the embodiment of the present application, if the first camera is in an open state, video monitoring information is obtained through the first camera, if two or more cameras are not in an open state, audio monitoring information is obtained through the sound sensor, video processing is performed on the video monitoring information, or the audio monitoring information is processed to obtain first person identification information and a second person position area of at least one visitor, if the first person identification information satisfies a first preset identification condition and the second person position area is in the first shooting area, the first camera is turned on, if the identification information satisfies the first preset identification condition and the second person position area is in the second shooting area, the second camera is turned on, if the first person identification information satisfies the second preset identification condition, the first camera and the second camera are turned on simultaneously, and thus, the personnel identity information and the second personnel position area of visitor's accessible are confirmed, and then confirm the camera or the camera quantity of opening, and then open at least one camera and shoot, can guarantee to carry out effective control to the condition outdoors to reduce the control blind area, can avoid whole camera simultaneous workings again, thereby reduce the energy consumption.
Fig. 5 is a schematic structural diagram of a camera control apparatus according to an embodiment of the present disclosure, as shown in fig. 5, the camera control apparatus belongs to a monitoring system, the monitoring system further includes two or more cameras, each of the two or more cameras corresponds to a shooting area, the camera control apparatus is connected to the two or more cameras, the camera control apparatus includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
acquiring first monitoring information;
performing information processing on the first monitoring information to obtain an information processing result;
and determining at least one target shooting area according to the information processing result, and starting at least one camera corresponding to the at least one target shooting area in the more than two cameras to carry out video monitoring.
It can be seen that, the camera control device provided in the embodiment of the present application obtains the first monitoring information; performing information processing on the first monitoring information to obtain an information processing result; the method comprises the steps of determining at least one target shooting area according to an information processing result, starting at least one camera corresponding to the at least one target shooting area in more than two cameras to carry out video monitoring, thus, determining the number of the started cameras or cameras by determining the at least one target shooting area through first monitoring information outside a door under the condition that the more than two cameras are arranged outside the door, and further starting the at least one camera to shoot, so that effective monitoring on the condition outside the door can be guaranteed, monitoring blind areas are reduced, simultaneous working of all the cameras can be avoided, and energy consumption is reduced.
In one possible example, if a first camera is in an on state, the first camera is any one of the two or more cameras, and in the aspect of acquiring the first monitoring information, the program includes instructions for executing the following steps:
acquiring the first monitoring information through the first camera, wherein the first monitoring information is video monitoring information;
in the aspect of performing information processing on the first monitoring information to obtain an information processing result, the program includes instructions for performing the following steps:
carrying out portrait recognition on the video monitoring information to obtain the number of personnel included in the video monitoring information;
if the number of the persons is smaller than a first preset number threshold, determining the position of a first person, and acquiring the movement parameters of the persons; and predicting the position of a second person of the visitor after a preset time according to the person movement parameter.
In one possible example, the first camera corresponds to a first shooting area, the second camera corresponds to a second shooting area, the second camera is any one of the two or more cameras except the first camera, and an overlapping area exists between the first shooting area and the second shooting area; in the aspect that at least one target shooting area is determined according to the information processing result, and at least one camera corresponding to the at least one target shooting area in the more than two cameras is started for video monitoring, the program includes instructions for executing the following steps:
if the number of the persons is larger than a second preset number threshold, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera, wherein the second preset number threshold is larger than or equal to the first preset number threshold;
if the number of the persons is smaller than the first preset number threshold value and the first person position is in the overlapping area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera;
if the number of the persons is smaller than the first preset number threshold value and the second person position is in other areas except the overlapping area in the second shooting area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera.
In one possible example, the monitoring system further includes a sound sensor, and if the two or more cameras are not turned on, the program includes instructions for executing the following steps in the aspect of acquiring the first monitoring information:
acquiring the first monitoring information through the sound sensor, wherein the first monitoring information is audio monitoring information;
in the aspect of performing information processing on the first monitoring information to obtain an information processing result, the program includes instructions for performing the following steps:
carrying out audio processing on the audio monitoring information to obtain a first person position area;
in the aspect of determining at least one target photographing region according to the information processing result, the program includes instructions for performing the steps of:
and determining at least one target shooting area to which the first person position area belongs. .
In one possible example, the first camera corresponds to a first shooting area, the second camera corresponds to a second shooting area, the first camera and the second camera are any two cameras of the two or more cameras, and an overlapping area exists between the first shooting area and the second shooting area; the information processing result includes first person identification information and a second person location area, and the program includes instructions for executing the following steps in the aspect of determining at least one target shooting area according to the information processing result:
if the first person identity information meets a first preset identity condition and the second person position area is located in the first shooting area, starting the first camera; if the first person identity information meets a first preset identity condition and the second person position area is in the second shooting area, starting the second camera;
and if the first person identity information meets a second preset identity condition, starting the first camera and the second camera simultaneously.
In one possible example, the program further includes instructions for performing the steps of:
acquiring a target time period of the current time;
determining a first quantity corresponding to the target time period according to a mapping relation between a preset time period and the quantity;
acquiring historical video monitoring information;
determining the occurrence frequency of people in each shooting area of more than two shooting areas corresponding to more than two cameras in the target time period according to the historical video monitoring information to obtain the occurrence frequency of more than two people;
and selecting the first number of cameras corresponding to the number of times of occurrence of the personnel according to the sequence from large to small of the number of times of occurrence of the personnel, and starting the first number of cameras to perform video monitoring.
In one possible example, the program further includes instructions for performing the steps of:
and if the second personnel identity information detected within the preset time period meets a third preset identity condition, starting a preset number of cameras to perform video monitoring.
In one possible example, the monitoring system further comprises a ranging sensor, the program further comprising instructions for:
and if the distance measuring sensor detects that an object approaches, executing the operation of starting at least one camera corresponding to the at least one target shooting area in the more than two cameras to carry out video monitoring.
Fig. 6 is a block diagram showing functional units of a camera control device 600 according to an embodiment of the present application. Camera controlling means belongs to monitored control system, monitored control system still includes two above cameras, each camera corresponds a shooting region in two above cameras, camera controlling means with two above cameras are connected, and this camera controlling means 600 is applied to camera controlling means, camera controlling means includes:
an obtaining unit 601, configured to obtain first monitoring information;
a processing unit 602, configured to perform information processing on the first monitoring information to obtain an information processing result;
an execution unit 603 configured to determine at least one target shooting area according to the information processing result; and opening at least one camera corresponding to the at least one target shooting area in the more than two cameras to carry out video monitoring.
It should be noted that, for the specific working processes of the obtaining unit 601, the processing unit 602 and the executing unit 603, reference is made to the related description of the step 101-103. And will not be described in detail herein.
It can be seen that, in the embodiment of the present application, the camera control device obtains the first monitoring information; performing information processing on the first monitoring information to obtain an information processing result; the method comprises the steps of determining at least one target shooting area according to an information processing result, starting at least one camera corresponding to the at least one target shooting area in more than two cameras to carry out video monitoring, thus, determining the number of the started cameras or cameras by determining the at least one target shooting area through first monitoring information outside a door under the condition that the more than two cameras are arranged outside the door, and further starting the at least one camera to shoot, so that effective monitoring on the condition outside the door can be guaranteed, monitoring blind areas are reduced, simultaneous working of all the cameras can be avoided, and energy consumption is reduced.
In an optional case, if a first camera is in an open state, the first camera is any one of the two or more cameras, and in the aspect of acquiring the first monitoring information, the acquiring unit 601 is specifically configured to:
acquiring the first monitoring information through the first camera, wherein the first monitoring information is video monitoring information;
in the aspect of performing information processing on the first monitoring information to obtain an information processing result, the processing unit 602 is specifically configured to:
carrying out portrait recognition on the video monitoring information to obtain the number of personnel included in the video monitoring information;
if the number of the persons is smaller than a first preset number threshold, determining the position of a first person, and acquiring the movement parameters of the persons; and predicting the position of a second person of the visitor after a preset time according to the person movement parameter.
In an optional case, the first camera corresponds to a first shooting area, the second camera corresponds to a second shooting area, the second camera is any one of the two or more cameras except the first camera, and an overlapping area exists between the first shooting area and the second shooting area; in the aspect of determining at least one target shooting area according to the information processing result and starting at least one camera corresponding to the at least one target shooting area in the two or more cameras for video monitoring, the execution unit 603 is specifically configured to:
if the number of the persons is larger than a second preset number threshold, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera, wherein the second preset number threshold is larger than or equal to the first preset number threshold;
if the number of the persons is smaller than the first preset number threshold value and the first person position is in the overlapping area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera;
if the number of the persons is smaller than the first preset number threshold value and the second person position is in other areas except the overlapping area in the second shooting area, determining that the target shooting area comprises the first shooting area and the second shooting area, and starting the second camera.
In an optional case, the monitoring system further includes a sound sensor, and if the two or more cameras are not turned on, in the aspect of acquiring the first monitoring information, the acquiring unit 601 is specifically configured to:
acquiring the first monitoring information through the sound sensor, wherein the first monitoring information is audio monitoring information;
in the aspect of performing information processing on the first monitoring information to obtain an information processing result, the processing unit 602 is specifically configured to:
carrying out audio processing on the audio monitoring information to obtain a first person position area;
in the aspect of determining at least one target shooting area according to the information processing result, the execution unit 603 is specifically configured to:
and determining at least one target shooting area to which the first person position area belongs.
In an optional case, the first camera corresponds to a first shooting area, the second camera corresponds to a second shooting area, the first camera and the second camera are any two cameras of the two or more cameras, and an overlapping area exists between the first shooting area and the second shooting area; the information processing result includes first person identity information and a second person location area, and in the aspect of determining at least one target shooting area according to the information processing result, the execution unit 603 is specifically configured to:
if the first person identity information meets a first preset identity condition and the second person position area is located in the first shooting area, starting the first camera; if the first person identity information meets a first preset identity condition and the second person position area is in the second shooting area, starting the second camera;
and if the first person identity information meets a second preset identity condition, starting the first camera and the second camera simultaneously.
In an optional case, the obtaining unit 601 is further configured to obtain a target time period in which the current time is located;
the processing unit 602 is further configured to determine a first number corresponding to the target time period according to a mapping relationship between preset time periods and numbers;
the acquiring unit 601 is further configured to acquire historical video monitoring information;
the processing unit 602 is further configured to determine, according to the historical video monitoring information, the number of occurrences of people in each of two or more shooting areas corresponding to the two or more cameras within the target time period, so as to obtain the number of occurrences of two or more people;
the execution unit 603 is further configured to select the first number of cameras corresponding to the number of times of people appearing according to a descending order of the number of times of people appearing, and start the first number of cameras to perform video monitoring.
In an optional case, if the second person identity information detected within the preset time period meets a third preset identity condition, the execution unit 603 is further configured to start a preset number of cameras for video monitoring.
In an optional case, the monitoring system further includes a distance measuring sensor, and if the distance measuring sensor detects that an object approaches, the executing unit 603 is further configured to execute the operation of turning on at least one camera corresponding to the at least one target shooting area in the two or more cameras to perform video monitoring.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by associated hardware as a program, which may be stored in a computer-readable memory, the memory may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for the ordinary technicians in this field, according to the idea of this application, there are variations in the specific implementation and application scope, and in summary, the content of this specification should not be understood as the limitation of this application.