Method and apparatus for controlling intelligent camera
By using the lens rotation control method of the intelligent camera, the problem of users mistakenly believing that the camera is still monitoring has been solved, thus improving the user experience.
Patent Information
- Application Number
- CN202310303208.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-03-23
AI Technical Summary
Even after the monitoring function of existing smart cameras is turned off, users still mistakenly believe that the cameras are monitoring them, resulting in a poor user experience.
By receiving a monitoring shutdown command, the system obtains the current monitoring angle of the lens and controls the lens to rotate to the target orientation based on this angle. The target orientation is the orientation that prompts the user that monitoring has been turned off. The system uses a motor to rotate the lens vertically and horizontally so that the lens faces away from the monitoring area or obstruction.
It effectively enhances the user experience by allowing users to intuitively understand that the monitoring has been turned off through the rotation of the lens, thus avoiding the mistaken belief that the camera is still monitoring.
Smart Images

Figure CN116405772B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart terminal technology, specifically to a control method and device for a smart camera. Background Technology
[0002] With the development of smart home technology, smart cameras are widely used in homes, offices, and other locations. People are increasingly concerned about the privacy and security of smart cameras, as there are frequent security issues with video leaks online. Therefore, smart cameras need to place greater emphasis on protecting user privacy.
[0003] Currently, when users no longer need to monitor using the smart camera, they can turn off the monitoring function via the app, thus remotely controlling the smart camera to stop monitoring. However, the smart camera still maintains the monitoring mode, causing the monitored user to mistakenly believe that the smart camera is still monitoring, resulting in a poor user experience. Summary of the Invention
[0004] This application proposes a control method and device for a smart camera. The main purpose is to improve the technical problem in the prior art where, after the monitoring function of the smart camera is turned off, the monitored user mistakenly believes that the smart camera is still monitoring, which leads to a poor user experience.
[0005] According to a first aspect of the embodiments of this application, a control method for an intelligent camera is provided, comprising:
[0006] Receives monitoring shutdown command from smart cameras;
[0007] Obtain the current monitoring angle of the lens of the smart camera;
[0008] Determine the rotation angle of the lens based on the current monitoring angle;
[0009] According to the rotation angle, the smart camera is controlled to rotate its lens to the target orientation, wherein the target orientation is the orientation that prompts the user that the smart camera monitoring is turned off.
[0010] In some embodiments, the rotation angle includes a vertical rotation angle and a horizontal rotation angle;
[0011] The step of controlling the smart camera to rotate its lens to face the target according to the rotation angle includes:
[0012] Using the first motor included in the intelligent camera, the camera lens is controlled to rotate vertically according to the vertical rotation angle, so that the vertically rotated lens faces a preset angle in the vertical direction; and,
[0013] Using the second motor included in the smart camera, the camera lens is rotated horizontally according to the horizontal rotation angle, so that the horizontally rotated lens faces away from the monitoring area corresponding to the current monitoring angle.
[0014] In some embodiments, before determining the rotation angle of the lens based on the current monitoring angle, the method further includes:
[0015] Acquire panoramic image information of the monitored environment captured by the intelligent camera;
[0016] Image recognition is performed on the panoramic image information to obtain monitoring environment information;
[0017] Determining the rotation angle of the lens based on the current monitoring angle includes:
[0018] The rotation angle of the lens is determined based on the monitoring environment information and the current monitoring angle.
[0019] In some embodiments, determining the rotation angle of the lens based on the monitoring environment information and the current monitoring angle includes:
[0020] From the monitoring environment information, determine the spatial location of the lens obstruction within the monitoring environment;
[0021] Based on the spatial position, obtain the first target angle when the lens is facing the lens obstruction;
[0022] The rotation angle of the lens is calculated based on the first target angle and the current monitoring angle.
[0023] The step of controlling the smart camera to rotate its lens to face the target according to the rotation angle includes:
[0024] The camera lens is controlled to face the lens obstruction according to the rotation angle.
[0025] In some embodiments, the panoramic image information includes panoramic image information from different historical moments, and the monitoring environment information includes monitoring environment information from different historical moments.
[0026] Determining the rotation angle of the lens based on the monitoring environment information and the current monitoring angle includes:
[0027] The target area is analyzed based on the monitoring environment information at different historical moments. The target area is an area where no user activity characteristics have appeared within a preset time period, and / or an area where the number of times user activity characteristics have appeared in the past is less than a first preset threshold.
[0028] Obtain the second target angle when the lens is facing the target area;
[0029] The rotation angle of the lens is calculated based on the second target angle and the current monitoring angle.
[0030] The step of controlling the smart camera to rotate its lens to face the target according to the rotation angle includes:
[0031] The lens of the smart camera is controlled to face the target area according to the rotation angle.
[0032] In some embodiments, receiving a monitoring shutdown command from a smart camera includes:
[0033] The server receives the monitoring shutdown command sent by the server after receiving information from the smart door lock that a user has entered the door, or after receiving a monitoring shutdown request from the client.
[0034] According to a second aspect of the embodiments of this application, a control device for an intelligent camera is provided, comprising:
[0035] The receiving module is configured to receive monitoring shutdown commands from the smart camera;
[0036] The acquisition module is configured to acquire the current monitoring angle of the lens of the smart camera;
[0037] The determination module is configured to determine the rotation angle of the lens based on the current monitoring angle;
[0038] The control module is configured to control the smart camera to rotate its lens to a target orientation according to the rotation angle, wherein the target orientation is the orientation that prompts the user that the smart camera monitoring is turned off.
[0039] According to a third aspect of the embodiments of this application, a computer-readable medium is provided having a computer program stored thereon, wherein the program, when executed by a processor, implements the method as described in the first aspect.
[0040] According to a fourth aspect of the embodiments of this application, a processor is provided, the processor being configured to run a program, wherein the program, when running, implements the method as described in the first aspect.
[0041] According to a fifth aspect of the present application, an electronic device is provided, comprising: one or more processors; a storage device having one or more programs stored thereon; and when the one or more programs are executed by the one or more processors, causing the one or more processors to perform the method as described in the first aspect.
[0042] This application provides a control method and apparatus for a smart camera. Compared with existing related technologies, this embodiment can control the lens rotation angle of the smart camera when its monitoring function is turned off, making it clear to the monitored user that the smart camera's monitoring has been turned off. Specifically, after receiving the smart camera's monitoring-off command, the current monitoring angle of the smart camera's lens is first obtained; then, based on the current monitoring angle, the lens rotation angle is determined; and then, according to the lens rotation angle, the smart camera is controlled to rotate its lens to a target orientation, which is the orientation that indicates to the user that the smart camera's monitoring has been turned off. By applying the technical solution of this embodiment, after the smart camera's monitoring function is turned off, the smart camera will correspondingly rotate its lens. The rotated lens orientation allows the monitored user to intuitively understand that the smart camera's monitoring has been turned off, preventing the user from mistakenly believing that the smart camera is still monitoring, thus effectively improving the user experience. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely some examples or embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort, and this application can be applied to other similar scenarios based on the provided drawings. Unless obvious from the linguistic context or otherwise specified, the same reference numerals in the drawings represent the same structures or operations.
[0044] Figure 1 This is a flowchart illustrating a control method for an intelligent camera provided in an embodiment of this application;
[0045] Figure 2 This is a flowchart illustrating another intelligent camera control method provided in an embodiment of this application;
[0046] Figure 3 This is a schematic diagram of the structure of an intelligent camera provided in an embodiment of this application;
[0047] Figure 4 This is a schematic diagram of the structure of a control device for an intelligent camera provided in an embodiment of this application;
[0048] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0049] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. The described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0050] It should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this application can be combined with each other.
[0051] It should be understood that the terms "system," "apparatus," "unit," and / or "module" used in this application are a method of distinguishing different components, elements, parts, sections, or assemblies at different levels. However, if other terms can achieve the same purpose, they may be replaced by other expressions.
[0052] As indicated in this application and claims, unless the context clearly indicates otherwise, the words "a," "an," "a," and / or "the" are not specifically singular and may include the plural. Generally, the terms "comprising" and "including" only indicate the inclusion of expressly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements. An element defined by the phrase "comprising an..." does not exclude the presence of other identical elements in the process, method, product, or apparatus that includes the element.
[0053] In the description of the embodiments of this application, unless otherwise stated, " / " means "or", for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more.
[0054] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0055] Flowcharts are used in this application to illustrate the operations performed by the system according to embodiments of this application. It should be understood that the preceding or following operations are not necessarily performed precisely in sequence. Instead, the steps can be processed in reverse order or simultaneously. Furthermore, other operations can be added to these processes, or one or more steps can be removed from them.
[0056] To address the technical problem in existing technologies where users mistakenly believe the smart camera is still monitoring even after the camera's monitoring function is turned off, leading to a poor user experience, this embodiment provides a control method for a smart camera, such as... Figure 1 As shown, the method includes:
[0057] Step 101: Receive the monitoring shutdown command from the smart camera.
[0058] For example, users can turn off the monitoring function of the smart camera through the APP, or turn off the monitoring function through the button on the smart camera, that is, input the corresponding monitoring turn-off command.
[0059] After receiving a monitoring shutdown command, the smart camera will disable the corresponding camera monitoring function. In this embodiment, the executing entity can be the control device or equipment of the smart camera, which can be configured on the smart camera side. Upon receiving the monitoring shutdown command from the smart camera, it triggers the execution of the processes shown in steps 102 to 104.
[0060] Step 102: Obtain the current monitoring angle of the smart camera lens.
[0061] The lens of a smart camera can be a camera module mounted on the camera body. The smart camera captures surveillance video images through its lens. During this capture process, users within the camera's range can determine the area being monitored by the camera based on the lens's position and orientation.
[0062] The current monitoring angle of the lens can include the current horizontal monitoring angle and the current vertical monitoring angle. In this embodiment, a reference monitoring position of the lens can be preset, and then the current monitoring angle of the lens can be calculated based on the reference monitoring position and the user's angle adjustment instructions for the lens during monitoring (such as the user's instruction to remotely adjust the lens shooting angle through an APP).
[0063] Step 103: Determine the rotation angle of the lens based on the current monitoring angle of the lens.
[0064] Step 104: Control the smart camera to rotate the lens to face the target according to the lens rotation angle.
[0065] The lens rotation angle is the angle required to adjust the lens from the direction corresponding to the current monitoring angle to the target direction. This rotation angle can include horizontal rotation angle and / or vertical rotation angle, etc. The target direction can be the direction that indicates to the user that the smart camera monitoring is off. That is, when the user sees this direction, they can intuitively understand that the smart camera monitoring is off, which is equivalent to physically blocking the lens to inform the user that monitoring is not in progress.
[0066] For example, a smart camera is placed in a user's home. When the user doesn't need monitoring, they can turn off the camera's monitoring function via an app or a button on the camera itself. Currently, on the smart camera side, although the video image acquisition process is turned off, the camera still maintains its monitoring posture, such as the lens still pointing towards the user's activity area. This can easily lead the monitored user to mistakenly believe that the smart camera is still monitoring. However, by applying the method of this embodiment, upon receiving a monitoring-off command, the camera can rotate its lens to the target direction based on the current monitoring angle. For example, the lens can be turned away from the user's usual activity area, allowing the monitored user to clearly understand that the smart camera's monitoring has been turned off, preventing the mistaken belief that the smart camera is still monitoring, and effectively improving the user experience.
[0067] Furthermore, as a refinement and extension of the above embodiments, in order to fully illustrate the specific implementation process of the method in this embodiment, this embodiment provides the following: Figure 2 The specific method shown includes:
[0068] Step 201: Receive the monitoring shutdown command from the server sent by the smart camera.
[0069] As an alternative, the monitoring shutdown command of the smart camera can be sent by the server after receiving information from the smart door lock that it has detected a user entering the door.
[0070] For example, in addition to the recording functions of traditional cameras, smart cameras have an internal wireless network connection module that can connect to a server. Simultaneously, a client on a mobile terminal can also connect to the server and control the smart camera through it. In a smart home scenario, users can remotely monitor their home when they are not there. Smart door locks can also connect to the server. When a smart door lock detects a user entering the home based on its door opening / closing signal, it sends a notification to the server. The server then sends a monitoring shutdown command to the smart camera. This automatically turns off the camera's monitoring function upon the user's entry, eliminating the need for manual shutdown, improving operational efficiency and enhancing the user experience. Furthermore, to ensure users can clearly see that the camera's monitoring function is off, the camera's lens orientation can be adjusted, as shown in steps 202 to 204.
[0071] This optional method allows users to intuitively understand that the smart camera's monitoring function is turned off upon entering their home, preventing them from mistakenly believing that the smart camera is still monitoring, thus effectively improving the user experience.
[0072] As an alternative, the monitoring shutdown command for a smart camera can also be sent by the server after receiving a monitoring shutdown request from the client.
[0073] For example, when a user turns off the monitoring function of a smart camera through a client app, the client sends a monitoring turn-off request to the server. The server can then send a monitoring turn-off command to the smart camera based on the request, thus enabling remote shutdown of the monitoring function. Furthermore, to allow the monitored user to intuitively understand that the smart camera's monitoring function has been turned off, the orientation of the smart camera's lens can be adjusted, specifically by executing the processes shown in steps 202 to 204.
[0074] Step 202: Obtain the current monitoring angle of the smart camera lens.
[0075] Step 203: Determine the rotation angle of the lens based on the current monitoring angle of the lens.
[0076] Step 204: Control the smart camera to rotate the lens to face the target according to the rotation angle of the lens.
[0077] The target orientation can be the orientation that prompts the user that the smart camera monitoring has been turned off.
[0078] As an optional approach, to ensure that the monitored user can intuitively understand that the smart camera's monitoring is turned off, this embodiment can not only rotate the lens vertically to a certain angle to physically block the lens, equivalent to the camera "closing its eyes," but also rotate the camera body backward to a certain angle, so that the smart camera lens faces away from the monitored area, thus more intuitively expressing the purpose of "not monitoring." Users will feel that the camera not only "closes its eyes" but also faces away from them (facing away from the monitored area), providing a better experience. Correspondingly, the rotation angle can include a vertical rotation angle and a horizontal rotation angle; step 204 can specifically include: using the first motor included in the smart camera to control the smart camera to rotate the lens in the vertical direction according to the vertical rotation angle, so that the vertically rotated lens faces a preset angle in the vertical direction; and using the second motor included in the smart camera to control the smart camera to rotate the lens in the horizontal direction according to the horizontal rotation angle, so that the horizontally rotated lens faces away from the monitored area corresponding to the current monitoring angle of the lens in the horizontal direction.
[0079] For example, such as Figure 3 As shown, the main components involved in this embodiment include a first motor 1, a housing 2, a camera sphere 3, a second motor 4, a bearing 5, and a base 6. When the user presses the button to turn off the monitoring function in the APP, the first motor 1 drives the camera sphere 3 to rotate clockwise forward to a negative 50-degree angle (achieving the effect of the smart camera "closing its eyes"). The second motor 4, through the bearing 5, drives the housing 2 and the camera sphere 3 to rotate to a position of ±160 degrees (achieving the effect of the smart camera facing away from the monitoring area). In this way, the purpose of "not monitoring" can be expressed more intuitively, and the user experience is better.
[0080] In addition to the above-mentioned optional control methods, as another optional method, before executing step 203, the method of this embodiment may also include: firstly acquiring panoramic image information captured by the intelligent camera on the monitoring environment; then performing image recognition on the panoramic image information to obtain monitoring environment information; correspondingly, step 203 may specifically include: determining the rotation angle of the lens based on the monitoring environment information and the current monitoring angle of the lens.
[0081] For example, during intelligent camera monitoring, as the lens rotates, it can capture corresponding panoramic image information of the monitored environment. This embodiment utilizes image recognition technology to perform image recognition on the captured panoramic image information, obtaining information about various elements in the monitored environment, such as furniture information (e.g., what furniture exists, its type, and its placement), spatial range information (e.g., area shape and size), and biological information (e.g., the number of people and / or pets, their movement range, etc.). Then, based on the monitored environment information containing these elements and the current monitoring angle of the lens, a suitable lens rotation angle is determined, so that the lens orientation after rotating at this angle can more intuitively express the purpose of "not monitoring."
[0082] In some examples, determining the lens rotation angle based on the monitoring environment information and the current monitoring angle may specifically include: first, determining the spatial location of a lens obstruction (such as a wall, vase, air conditioner, refrigerator, user's handbag, lunch box, etc.) within the monitoring environment from the monitoring environment information; then, obtaining a first target angle when the lens is facing the lens obstruction based on the spatial location; and then calculating the lens rotation angle based on the first target angle and the current monitoring angle of the lens; correspondingly, step 204 may specifically include: controlling the lens of the smart camera to face the lens obstruction according to the lens rotation angle.
[0083] For example, lens obstructions can be identified from the monitoring environment information. If there are multiple lens obstructions, the one closest to the smart camera (the closer the distance, the better the subsequent lens obstruction effect) and / or the one that minimizes the lens rotation of the smart camera (e.g., the smallest rotation angle, where a smaller rotation angle consumes fewer resources when controlling the lens obstruction). After identifying lens obstruction A, the target angle 'a' when the lens is facing the lens obstruction can be obtained based on the spatial position of lens obstruction A. Then, based on the target angle 'a' and the current monitoring angle of the lens, the rotation angle of the lens is calculated. Subsequently, the lens of the smart camera can be controlled to face the lens obstruction A according to this rotation angle. If lens obstruction A is a wall, the lens of the smart camera can be controlled to face the wall. Monitoring the wall is obviously meaningless to the user, so the monitored user can intuitively understand that the smart camera's monitoring function has been turned off.
[0084] In addition to the two optional control methods mentioned above, as another optional method, the panoramic image information may specifically include panoramic image information from different historical moments, and correspondingly, the monitoring environment information may specifically include monitoring environment information from different historical moments. Correspondingly, in some examples, determining the lens rotation angle based on the monitoring environment information and the current monitoring angle of the lens may specifically include: analyzing the target area based on the monitoring environment information from different historical moments, wherein the target area may be an area where no user activity characteristics have appeared within a preset time period, and / or an area where the number of times user activity characteristics have appeared in the past is less than a first preset threshold; then obtaining a second target angle when the lens is facing the target area; and then calculating the lens rotation angle based on the second target angle and the current monitoring angle of the lens. Correspondingly, step 204 may specifically include: controlling the lens of the smart camera to face the target area according to the calculated rotation angle.
[0085] For example, based on historical monitoring environment information at different times, machine learning models or big data analysis can be used to identify target areas where user activity has not been observed for a long period of time in the past week or month, or target areas where user activity has only occurred once or twice in the past week—that is, areas that users rarely or never visit. After determining the target area B, the rotation angle of the lens can be calculated based on the target angle b when the lens is facing the target area B and the current monitoring angle of the lens. Subsequently, the lens of the smart camera can be controlled to face the target area B according to this rotation angle. If the target area B is a warehouse (abandoned or unused for a long time), the lens of the smart camera can be controlled to face the warehouse area. Monitoring an abandoned warehouse is meaningless for the user, so the monitored user can intuitively understand that the smart camera's monitoring function has been turned off.
[0086] To achieve better notification, this embodiment further includes outputting a voice prompt indicating that the smart camera's monitoring is off. This way, users near the smart camera can not only determine that the camera's monitoring is off by the lens's orientation, but also receive a clear voice prompt confirming the disabling of monitoring, effectively improving the user experience.
[0087] Furthermore, as Figure 1 and Figure 2 The specific implementation of the method shown in this embodiment provides a control device for an intelligent camera, such as... Figure 4 As shown, the device includes: a receiving module 31, an acquisition module 32, a determining module 33, and a control module 34.
[0088] The receiving module 31 is configured to receive the monitoring shutdown command from the smart camera;
[0089] The acquisition module 32 is configured to acquire the current monitoring angle of the lens of the smart camera;
[0090] The determining module 33 is configured to determine the rotation angle of the lens based on the current monitoring angle;
[0091] Control module 34 is configured to control the smart camera to rotate its lens to a target orientation according to the rotation angle, wherein the target orientation is the orientation that prompts the user that the smart camera monitoring is turned off.
[0092] In some examples, the rotation angle includes a vertical rotation angle and a horizontal rotation angle; correspondingly, the control module 34 is specifically configured to use the first motor included in the smart camera to control the smart camera to rotate the lens in the vertical direction according to the vertical rotation angle, so that the lens after vertical rotation faces a preset angle in the vertical direction; and to use the second motor included in the smart camera to control the smart camera to rotate the lens in the horizontal direction according to the horizontal rotation angle, so that the lens after horizontal rotation faces away from the monitoring area corresponding to the current monitoring angle in the horizontal direction.
[0093] In some examples, the acquisition module 32 is further configured to acquire panoramic image information captured by the smart camera of the monitoring environment before determining the rotation angle of the lens based on the current monitoring angle; perform image recognition on the panoramic image information to obtain monitoring environment information; correspondingly, the determination module 33 is specifically configured to determine the rotation angle of the lens based on the monitoring environment information and the current monitoring angle.
[0094] In some examples, the determining module 33 is further configured to determine the spatial location of a lens obstruction within the monitoring environment from the monitoring environment information; obtain a first target angle when the lens is facing the lens obstruction based on the spatial location; calculate the rotation angle of the lens based on the first target angle and the current monitoring angle; correspondingly, the control module 34 is specifically configured to control the lens of the smart camera to face the lens obstruction according to the rotation angle.
[0095] In some examples, the panoramic image information includes panoramic image information from different historical moments, and the monitoring environment information includes monitoring environment information from different historical moments; the determining module 33 is further configured to analyze the target area based on the monitoring environment information from different historical moments, wherein the target area is an area where no user activity characteristics have appeared within a preset time period, and / or an area where the number of times user activity characteristics have appeared in the past is less than a first preset threshold; obtain a second target angle when the lens is facing the target area; calculate the rotation angle of the lens based on the second target angle and the current monitoring angle; correspondingly, the control module 34 is specifically configured to control the lens of the smart camera to face the target area according to the rotation angle.
[0096] In some examples, receiving module 31 is specifically configured to receive the monitoring shutdown command sent by the server, which is sent by the server after receiving information that the smart lock has detected a user entering the door, or by the server after receiving a monitoring shutdown request sent by the client.
[0097] It should be noted that other corresponding descriptions of the functional units involved in the control device for an intelligent camera provided in this embodiment can be found in [reference needed]. Figure 1 and Figure 2 The corresponding description in [the document] will not be repeated here.
[0098] The control device for this smart camera can be a chip, component, or module. This device may include a processor and a memory. The receiving module 31, the acquisition module 32, the determination module 33, the control module 34, etc. are all stored as program units in the memory. The processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0099] The processor may contain a kernel, which retrieves the corresponding program unit from memory. One or more kernels can be configured, and by adjusting kernel parameters, the aforementioned multimodal recognition scheme can leverage the advantages of other biometric methods to compensate for the shortcomings of a particular biometric method.
[0100] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0101] The following is for reference. Figure 5 It shows a schematic diagram of the structure of an electronic device 400 suitable for implementing some embodiments of this application. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0102] like Figure 5 As shown, the electronic device 400 may include a processor 401, a memory 402, a communication interface 403, an input unit 404, an output unit 405, and a communication bus 406. The processor 401 and the memory 402 are interconnected via the communication bus 406. The communication interface 403, the input unit 404, and the output unit 405 are also connected to the communication bus 406.
[0103] The communication interface 403 can be an interface for a communication module, such as the interface for a GSM module. In this embodiment, the processor 401 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices.
[0104] In one possible implementation, memory 402 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function (such as user authentication function); and the data storage area may store data created during computer use, such as biometric data.
[0105] In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.
[0106] Processor 401 can call programs stored in memory 402. Specifically, processor 401 can execute the above... Figures 1 to 2 The method shown in any of the embodiments.
[0107] The memory 402 is used to store one or more programs. The programs may include program code, which includes computer operation instructions. In this embodiment, the memory 402 stores at least a program for implementing the following functions:
[0108] Receive a monitoring shutdown command from a smart camera; obtain the current monitoring angle of the smart camera's lens; determine the rotation angle of the lens based on the current monitoring angle; and control the smart camera to rotate its lens to a target orientation according to the rotation angle, wherein the target orientation is the orientation that prompts the user that the smart camera's monitoring has been turned off.
[0109] This embodiment may also include an input unit 405, which may include at least one of the following devices: a touch sensing unit for sensing touch events on the touch display panel, a keyboard, a mouse, a camera, a microphone, etc.
[0110] The output unit 404 may include at least one of the following devices: a display, a speaker, a vibration mechanism, and a lamp. The display may include a display panel, such as a touch display panel. In one possible implementation, the display panel may be configured using a liquid crystal display (LCD) or an organic light-emitting diode (OLED). The vibration mechanism can displace the electronic device 400 during operation. In one possible implementation, the vibration mechanism includes a motor and an eccentric oscillator, with the motor driving the eccentric oscillator to rotate, thereby generating vibration. The brightness and / or color of the lamp is adjustable. In one possible implementation, different information can be displayed through at least one of the lamp's on / off state, brightness, and color, such as using a red light to display an alarm message.
[0111] certainly, Figure 5 The structure of the electronic device 400 shown does not constitute a limitation on the electronic device in the embodiments of this application. In practical applications, the electronic device may include more than Figure 5 More or fewer components as shown, or combinations of certain components.
[0112] This application also provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the methods described in the above method embodiments.
[0113] This application also provides a processor for running a program, wherein the program implements the methods described in the above method embodiments.
[0114] This application also provides a computer program product that, when executed on a data processing device, causes the data processing device to implement the methods described in the above method embodiments.
[0115] In this application, the electronic device, processor, computer-readable medium, or computer program product provided in the above embodiments can all be used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0116] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0117] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0118] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0119] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0120] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0121] Computer-readable media include both permanent and non-permanent, removable and non-removable media, which can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0122] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed, and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. The scope of the invention involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A control method for an intelligent camera, characterized in that, include: Receives monitoring shutdown command from smart cameras; Obtain the current monitoring angle of the lens of the smart camera; Determine the rotation angle of the lens based on the current monitoring angle; According to the rotation angle, the smart camera is controlled to rotate its lens to the target orientation, wherein the target orientation is the orientation that prompts the user that the smart camera monitoring has been turned off. The location of the target orientation includes at least the spatial location of the lens obstruction in the monitoring environment, the area where no user activity characteristics have appeared within a preset time period, and / or the area where the number of times user activity characteristics have appeared in the past is less than a first preset threshold. Before determining the rotation angle of the lens based on the current monitoring angle, the method further includes: Acquire panoramic image information of the monitored environment captured by the intelligent camera; Image recognition is performed on the panoramic image information to obtain monitoring environment information; Determining the rotation angle of the lens based on the current monitoring angle includes: The rotation angle of the lens is determined based on the monitoring environment information and the current monitoring angle.
2. The method according to claim 1, characterized in that, The rotation angle includes a vertical rotation angle and a horizontal rotation angle; The step of controlling the smart camera to rotate its lens to face the target according to the rotation angle includes: Using the first motor included in the intelligent camera, the camera lens is controlled to rotate vertically according to the vertical rotation angle, so that the vertically rotated lens faces a preset angle in the vertical direction; and, Using the second motor included in the smart camera, the camera lens is rotated horizontally according to the horizontal rotation angle, so that the horizontally rotated lens faces away from the monitoring area corresponding to the current monitoring angle.
3. The method according to claim 1, characterized in that, Determining the rotation angle of the lens based on the monitoring environment information and the current monitoring angle includes: From the monitoring environment information, determine the spatial location of the lens obstruction within the monitoring environment; Based on the spatial position, obtain the first target angle when the lens is facing the lens obstruction; The rotation angle of the lens is calculated based on the first target angle and the current monitoring angle. The step of controlling the smart camera to rotate its lens to face the target according to the rotation angle includes: The camera lens is controlled to face the lens obstruction according to the rotation angle.
4. The method according to claim 1, characterized in that, The panoramic image information includes panoramic image information from different historical moments, and the monitoring environment information includes monitoring environment information from different historical moments. Determining the rotation angle of the lens based on the monitoring environment information and the current monitoring angle includes: The target area is analyzed based on the monitoring environment information at different historical moments. The target area is an area where no user activity characteristics have appeared within a preset time period, and / or an area where the number of times user activity characteristics have appeared in the past is less than a first preset threshold. Obtain the second target angle when the lens is facing the target area; The rotation angle of the lens is calculated based on the second target angle and the current monitoring angle. The step of controlling the smart camera to rotate its lens to face the target according to the rotation angle includes: The lens of the smart camera is controlled to face the target area according to the rotation angle.
5. The method according to any one of claims 1 to 4, characterized in that, The receiving of the monitoring shutdown command from the smart camera includes: The server receives the monitoring shutdown command sent by the server after receiving information from the smart door lock that a user has entered the door, or after receiving a monitoring shutdown request from the client.
6. A control device for an intelligent camera, characterized in that, include: The receiving module is configured to receive monitoring shutdown commands from the smart camera; The acquisition module is configured to acquire the current monitoring angle of the lens of the smart camera; The determination module is configured to determine the rotation angle of the lens based on the current monitoring angle; The control module is configured to control the smart camera to rotate its lens to a target orientation according to the rotation angle, wherein the target orientation is the orientation that prompts the user that the smart camera monitoring is turned off, and the location of the target orientation includes at least the spatial location of the lens obstruction in the monitoring environment, the area where no user activity characteristics have appeared within a preset time period, and / or the area where the number of times user activity characteristics have appeared in the past is less than a first preset threshold. Before determining the rotation angle of the lens based on the current monitoring angle, the method further includes: Acquire panoramic image information of the monitored environment captured by the intelligent camera; Image recognition is performed on the panoramic image information to obtain monitoring environment information; Determining the rotation angle of the lens based on the current monitoring angle includes: The rotation angle of the lens is determined based on the monitoring environment information and the current monitoring angle.
7. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 5.
8. A processor for running a program, wherein, The program executes the method as described in any one of claims 1 to 5.
9. An electronic device, comprising: One or more processors; A storage device on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Camera automatic anti-privacy-disclosure device and anti-privacy-disclosure method thereof
CN104836958A
Shooting method and device and storage medium
CN112770049A