CN111711762B - Camera lens module shielding control method and device based on target detection and camera - Google Patents

Camera lens module shielding control method and device based on target detection and camera Download PDF

Info

Publication number
CN111711762B
CN111711762B CN202010620495.3A CN202010620495A CN111711762B CN 111711762 B CN111711762 B CN 111711762B CN 202010620495 A CN202010620495 A CN 202010620495A CN 111711762 B CN111711762 B CN 111711762B
Authority
CN
China
Prior art keywords
shielding
lens module
camera lens
target
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010620495.3A
Other languages
Chinese (zh)
Other versions
CN111711762A (en
Inventor
周曦
姚志强
高永志
庞钧元
蒋慧君
万清波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuncong Technology Group Co Ltd
Original Assignee
Yuncong Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yuncong Technology Group Co Ltd filed Critical Yuncong Technology Group Co Ltd
Priority to CN202010620495.3A priority Critical patent/CN111711762B/en
Publication of CN111711762A publication Critical patent/CN111711762A/en
Application granted granted Critical
Publication of CN111711762B publication Critical patent/CN111711762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a camera lens module shielding control method based on target detection, which comprises the steps of carrying out target detection on a snapshot image acquired by a camera and judging whether a detection target exists in the snapshot image or not; and controlling the shielding state of the shielding device on the camera lens module according to the target detection result. According to the invention, the movement of the shielding device outside the lens module is controlled according to the detection target in the snapshot image, and the whole process of physical shielding is completed, so that normal video monitoring and privacy shielding under special conditions are realized.

Description

Camera lens module shielding control method and device based on target detection and camera
Technical Field
The invention belongs to the field of cameras, and particularly relates to a camera lens module shielding control method and device based on target detection and a camera.
Background
At present, in some conference rooms with higher security level and with great attention on privacy, a client needs to perform comprehensive video monitoring when a fisheye camera is idle in the conference room, and also needs to close the camera to prevent the privacy of the client from being snooped when participants exist, and the client needs to subjectively see that the camera is in a closed state, which is a conflicting requirement, and how to put forward an effective solution to the problem becomes a technical problem to be solved urgently.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method and an apparatus for controlling occlusion of a camera lens module based on target detection, and a camera, which are used to solve the problems in the prior art.
To achieve the above and other related objects, the present invention provides a method for controlling shielding of a camera lens module based on target detection, comprising:
carrying out target detection on a snapshot image acquired by a camera, and judging whether a detection target exists in the snapshot image or not;
and controlling the shielding state of the shielding device on the camera lens module according to the target detection result.
Optionally, the shielding state of the shielding device on the camera lens module includes a complete shielding state and a non-shielding state.
Optionally, if the detection target exists in the snapshot image, the shielding state of the shielding device on the camera lens module is adjusted from a non-shielding state to a completely shielding state.
Optionally, if a plurality of detection targets exist in the snapshot image, the shielding state of the shielding device on the camera lens module is adjusted from a non-shielding state to a completely shielding state.
Optionally, if the staying time of the plurality of detection targets in the conference room exceeds a preset value, the shielding state of the shielding device on the camera lens module is adjusted from a non-shielding state to a completely shielding state.
Optionally, if a detection target exists in the snapshot image, acquiring an attribute of the detection target; and controlling the shielding state of the shielding device on the camera lens module according to the attribute of the detection target.
Optionally, the property of the detection target includes at least one of: the level of the object is detected, whether it is a person who subscribes to the conference room.
Optionally, the detection target is a human face target or a human body target.
Optionally, the shielding state of the camera lens module by the shielding device is judged according to signals of at least two sensors arranged on the shielding path.
Optionally, if the first sensor disposed on the front segment of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state.
Optionally, if the first sensor disposed at the front segment of the shielding path and the second sensor disposed at the end segment of the shielding path both receive signals within the second time threshold, the shielding state of the shielding device on the camera lens module is a completely shielding state.
Optionally, when the camera is completely occluded, an alarm prompt is issued.
To achieve the above and other related objects, the present invention provides a camera lens module shielding control device based on target detection, including:
the target detection module is used for carrying out target detection on the snapshot image acquired by the camera and judging whether a detection target exists in the snapshot image or not;
and the shielding control module is used for controlling the shielding state of the shielding device on the camera lens module according to the target detection result.
Optionally, the shielding state of the shielding device on the camera lens module includes a complete shielding state and a non-shielding state.
Optionally, if the detection target exists in the snapshot image, the shielding state of the shielding device on the camera lens module is adjusted from a non-shielding state to a completely shielding state.
Optionally, if a plurality of detection targets exist in the snapshot image, the shielding state of the shielding device on the camera lens module is adjusted from a non-shielding state to a completely shielding state.
Optionally, if the staying time of the plurality of detection targets in the conference room exceeds a preset value, the shielding state of the shielding device on the camera lens module is adjusted from a non-shielding state to a completely shielding state.
Optionally, if a detection target exists in the snapshot image, acquiring an attribute of the detection target; and controlling the shielding state of the shielding device on the camera lens module according to the attribute of the detection target.
Optionally, the property of the detection target includes at least one of: the level of the object is detected, whether it is a person who subscribes to the conference room.
Optionally, the detection target is a human face target or a human body target.
Optionally, the shielding state of the camera lens module by the shielding device is judged according to signals of at least two sensors arranged on the shielding path.
Optionally, if the first sensor disposed on the front segment of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state.
Optionally, if the first sensor disposed at the front segment of the shielding path and the second sensor disposed at the end segment of the shielding path both receive signals within the second time threshold, the shielding state of the shielding device on the camera lens module is a completely shielding state.
Optionally, when the camera is completely occluded, an alarm prompt is issued.
To achieve the above and other related objects, the present invention provides a camera comprising:
a shielding device;
the camera lens module shielding control device based on target detection.
To achieve the above and other related objects, the present invention provides an apparatus comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more of the methods described previously.
To achieve the foregoing and other related objectives, the present invention provides one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the methods described above.
As described above, the camera lens module shielding control method, device and camera based on target detection provided by the invention have the following beneficial effects:
the invention provides a camera lens module shielding control method based on target detection, which comprises the steps of carrying out target detection on a snapshot image acquired by a camera and judging whether a detection target exists in the snapshot image or not; and controlling the shielding state of the shielding device on the camera lens module according to the target detection result. According to the invention, the movement of the shielding device outside the lens module is controlled according to the detection target in the snapshot image, and the whole process of physical shielding is completed, so that normal video monitoring and privacy shielding under special conditions are realized.
Drawings
Fig. 1 is a flowchart of a method for controlling shielding of a camera lens module based on target detection according to an embodiment;
fig. 2 is a schematic diagram of a camera lens module shielding control device based on target detection according to an embodiment;
FIG. 3 is a schematic view of a camera provided in one embodiment;
FIG. 4 is a flow chart of the operation of a camera provided by one embodiment;
fig. 5 is a schematic hardware structure diagram of a terminal device according to an embodiment;
fig. 6 is a schematic diagram of a hardware structure of a terminal device according to another embodiment.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
As shown in fig. 1, the present embodiment provides a method for controlling shielding of a camera lens module based on target detection, including:
s11, carrying out target detection on the snapshot image acquired by the camera, and judging whether a detection target exists in the snapshot image; the detection target comprises a human face target and a human body target.
S12, controlling the shielding state of the shielding device to the camera lens module according to the target detection result.
According to the invention, the target in the snapshot image is detected, and the movement of the shielding device outside the lens module is controlled according to the detected target, so that the whole process of physical shielding is completed, and normal video monitoring and privacy shielding under special conditions are realized.
In an embodiment, the shielding state of the shielding device on the camera lens module includes a complete shielding state and a non-shielding state. Wherein, the completely shielding state means that the shielding device outside the lens module completely covers the whole lens module; the non-shielding state means that the shielding device is not started or the shielding device is not started and does not cover the lens module.
In an embodiment, if the detection target exists in the snapshot image, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a full-shielding state.
In an embodiment, if a plurality of detection targets exist in the snapshot image, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a full-shielding state.
In an embodiment, if a plurality of detection targets exist in the snapshot image and the staying time in the conference room exceeds a preset value, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a completely shielding state.
In one embodiment, if a detection target exists in the snapshot image, acquiring an attribute of the detection target; and controlling the shielding state of the shielding device on the camera lens module according to the attribute of the detection target. Wherein the attribute of the detection target comprises at least one of: the level of the object is detected, whether it is a person who subscribes to the conference room.
It can be understood that when the level of the detected target reaches a certain level, the camera needs to be closed, and at the moment, the whole process of physical shielding is completed by controlling the movement of the shielding device outside the lens module; or when the detection target is that the talent booking the conference room needs to close the camera, the whole process of physical shielding is completed by controlling the shielding device outside the lens module to move; or when the level of the detection target reaches a certain level and the detection target is a person who reserves a conference room, the camera needs to be closed, and at the moment, the whole physical shielding process is completed by controlling the movement of the shielding device outside the lens module.
In the foregoing embodiments, several cases in which the shielding state of the camera lens module by the shielding device needs to be changed have been described. It can be understood that these several situations can be combined as a condition for changing the shielding state of the shielding device on the camera lens module, for example, the level of at least one of the plurality of detection targets needs to reach a certain level and the staying time in the conference room exceeds the set time; or at least one detection target in the plurality of detection targets is a person who subscribes to the conference room and stays for more than a set time; or the level of at least one of the plurality of detection targets and is a person who subscribes to the conference room, stays longer than a set time, or the like.
In an embodiment, the shielding state of the camera lens module by the shielding device is determined according to signals of at least two sensors arranged on the shielding path. The shielding path refers to a moving path of the shielding device in a rotating process. If the camera is a fisheye camera, the motion path can be considered to be a curve. If the camera is a cylinder camera, the movement path can be considered to be a straight line.
In an embodiment, if the first sensor disposed at the front section of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state. The first time threshold may be 2S, and it can be understood that, in 2S, if the first sensor does not receive the signal, the shielding device cannot be normally started, that is, the lens module is not shielded; if the first sensor receives the signal in 2S, the shielding device can be considered to be normally started, and if the shielding device is not normally started, the shielding device can be considered to be stuck, and at the moment, a starting instruction needs to be sent again. Wherein the received signal may be represented by "1", i.e. the signal of the first sensor is "1", and the non-received signal may be represented by "0", i.e. the signal of the first sensor is "0". Wherein, the first sensor can adopt a Hall sensor.
In an embodiment, if the first sensor disposed at the front segment of the blocking path and the second sensor disposed at the end segment of the blocking path both receive signals within the second time threshold, the blocking state of the camera lens module by the blocking device is a completely blocking state. The second time threshold value can be 5S, it can be understood that the shielding device is normally started when the first sensor receives a signal in 2S, and the second sensor receives a signal in 5S, and the shielding device is considered to rotate to set a position, so that the shielding state of the shielding device on the camera lens module is completely shielded. If the second sensor does not receive the signal within 5S, the shielding device can be considered to be blocked, and the shielding device needs to be restarted. Wherein the received signal may be represented by "1", i.e. the signal of the second sensor is "1", and the non-received signal may be represented by "0", i.e. the signal of the second sensor is "0". Wherein, the second sensor can adopt a Hall sensor.
In an embodiment, when the shielding state of the shielding device on the camera lens module is a complete shielding state, an alarm prompt is sent. And when the camera is completely shielded, sending out an alarm prompt. The alarm prompt can be a voice prompt, prompts the client that the camera lens is completely physically shielded, and prompts the client to pay attention to observing the lens, so that the client subjectively and mentally recognizes that the camera cannot monitor the client and spy the privacy of the client.
As shown in fig. 2, the present embodiment provides a camera lens module shielding control device based on target detection, including:
the target detection module 21 is configured to perform target detection on a snapshot image acquired by a camera, and determine whether a detection target exists in the snapshot image; the detection target comprises a human face target and a human body target;
and the shielding control module 22 is used for controlling the shielding state of the shielding device on the camera lens module according to the target detection result.
According to the invention, the target in the snapshot image is detected, and the movement of the shielding device outside the lens module is controlled according to the detected target, so that the whole process of physical shielding is completed, and normal video monitoring and privacy shielding under special conditions are realized.
In an embodiment, the shielding state of the shielding device on the camera lens module includes a complete shielding state and a non-shielding state. Wherein, the completely shielding state means that the shielding device outside the lens module completely covers the whole lens module; the non-shielding state means that the shielding device is not started or the shielding device is not started and does not cover the lens module.
In an embodiment, if the detection target exists in the snapshot image, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a full-shielding state.
In an embodiment, if a plurality of detection targets exist in the snapshot image, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a full-shielding state.
In an embodiment, if a plurality of detection targets exist in the snapshot image and the staying time in the conference room exceeds a preset value, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a completely shielding state.
In one embodiment, if a detection target exists in the snapshot image, acquiring an attribute of the detection target; and controlling the shielding state of the shielding device on the camera lens module according to the attribute of the detection target. Wherein the attribute of the detection target comprises at least one of: the level of the object is detected, whether it is a person who subscribes to the conference room.
It can be understood that when the level of the detected target reaches a certain level, the camera needs to be closed, and at the moment, the whole process of physical shielding is completed by controlling the movement of the shielding device outside the lens module; or when the detection target is that the talent booking the conference room needs to close the camera, the whole process of physical shielding is completed by controlling the shielding device outside the lens module to move; or when the level of the detection target reaches a certain level and the detection target is a person who reserves a conference room, the camera needs to be closed, and at the moment, the whole physical shielding process is completed by controlling the movement of the shielding device outside the lens module.
In the foregoing embodiments, several cases in which the shielding state of the camera lens module by the shielding device needs to be changed have been described. It can be understood that these several situations can be combined as a condition for changing the shielding state of the shielding device on the camera lens module, for example, the level of at least one of the plurality of detection targets needs to reach a certain level and the staying time in the conference room exceeds the set time; or at least one detection target in the plurality of detection targets is a person who subscribes to the conference room and stays for more than a set time; or the level of at least one of the plurality of detection targets and is a person who subscribes to the conference room, stays longer than a set time, or the like.
In an embodiment, the shielding state of the camera lens module by the shielding device is determined according to signals of at least two sensors arranged on the shielding path. The shielding path refers to a moving path of the shielding device in a rotating process. If the camera is a fisheye camera, the motion path can be considered to be a curve. If the camera is a cylinder camera, the movement path can be considered to be a straight line.
In an embodiment, if the first sensor disposed at the front section of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state. The first time threshold may be 2S, and it can be understood that, in 2S, if the first sensor does not receive the signal, the shielding device cannot be normally started, that is, the lens module is not shielded; if the first sensor receives the signal in 2S, the shielding device can be considered to be normally started, and if the shielding device is not normally started, the shielding device can be considered to be stuck, and at the moment, a starting instruction needs to be sent again. Wherein the received signal may be represented by "1", i.e. the signal of the first sensor is "1", and the non-received signal may be represented by "0", i.e. the signal of the first sensor is "0". Wherein, the first sensor can adopt a Hall sensor.
In an embodiment, if the first sensor disposed at the front segment of the blocking path and the second sensor disposed at the end segment of the blocking path both receive signals within the second time threshold, the blocking state of the camera lens module by the blocking device is a completely blocking state. The second time threshold value can be 5S, it can be understood that the shielding device is normally started when the first sensor receives a signal in 2S, and the second sensor receives a signal in 5S, and the shielding device is considered to rotate to set a position, so that the shielding state of the shielding device on the camera lens module is completely shielded. If the second sensor does not receive the signal within 5S, the shielding device can be considered to be blocked, and the shielding device needs to be restarted. Wherein the received signal may be represented by "1", i.e. the signal of the second sensor is "1", and the non-received signal may be represented by "0", i.e. the signal of the second sensor is "0". Wherein, the second sensor can adopt a Hall sensor.
In an embodiment, when the shielding state of the shielding device on the camera lens module is a complete shielding state, an alarm prompt is sent. And when the camera is completely shielded, sending out an alarm prompt. The alarm prompt can be a voice prompt, prompts the client that the camera lens is completely physically shielded, and prompts the client to pay attention to observing the lens, so that the client subjectively and mentally recognizes that the camera cannot monitor the client and spy the privacy of the client.
As shown in fig. 3, the present embodiment provides a camera, wherein the camera may be a fisheye camera. The camera includes: the shielding device and the camera lens module shielding control device based on the target detection as shown in FIG. 2.
The method comprises the steps that a camera is used for capturing, target detection is conducted on a captured image, whether a detection target exists or not is judged, if the detection target exists, a control module generates a shielding control signal, and a driving module is controlled to drive a shielding device; the detection target comprises a human face target and a human body target. The control module can adopt a Digital Signal Processor (DSP), and the infrared control signal is transmitted to the control module of the camera through RS 485.
And the shielding device is used for changing the shielding state according to the driving signal of the driving module. After the control module of the camera generates corresponding shielding control signals, decoding and analyzing are carried out to make corresponding instructions to control the driving module, and a motor is started to drive the shielding device outside the lens.
In an embodiment, the shielding state of the shielding device on the camera lens module includes a complete shielding state and a non-shielding state. Wherein, the completely shielding state means that the shielding device outside the lens module completely covers the whole lens module; the non-shielding state means that the shielding device is not started or the shielding device is not started and does not cover the lens module.
In an embodiment, the device further includes a signal detection module, configured to determine, according to signals of at least two sensors disposed on a shielding path, a shielding state of the camera lens module by the shielding device according to the signals of the sensors.
The signal detection module comprises a detection circuit, the detection circuit is connected with the control module, and the control module judges the shielding state of the shielding device on the camera lens module according to the signal of the detection circuit.
In an embodiment, if the first sensor disposed at the front section of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state. The first time threshold may be 2S, and it can be understood that, in 2S, if the first sensor does not receive the signal, the shielding device cannot be normally started, that is, the lens module is not shielded; if the first sensor receives the signal in 2S, the shielding device can be considered to be normally started, and if the shielding device is not normally started, the shielding device can be considered to be stuck, and at the moment, a starting instruction needs to be sent again. Wherein the received signal may be represented by "1", i.e. the signal of the first sensor is "1", and the non-received signal may be represented by "0", i.e. the signal of the first sensor is "0". Wherein, the first sensor can adopt a Hall sensor.
In an embodiment, if the first sensor disposed at the front segment of the blocking path and the second sensor disposed at the end segment of the blocking path both receive signals within the second time threshold, the blocking state of the camera lens module by the blocking device is a completely blocking state. The second time threshold value can be 5S, it can be understood that the shielding device is normally started when the first sensor receives a signal in 2S, and the second sensor receives a signal in 5S, and the shielding device is considered to rotate to set a position, so that the shielding state of the shielding device on the camera lens module is completely shielded. If the second sensor does not receive the signal within 5S, the shielding device can be considered to be blocked, and the shielding device needs to be restarted. Wherein the received signal may be represented by "1", i.e. the signal of the second sensor is "1", and the non-received signal may be represented by "0", i.e. the signal of the second sensor is "0". Wherein, the second sensor can adopt a Hall sensor.
In an embodiment, when the shielding state of the shielding device on the camera lens module is a complete shielding state, an alarm prompt is sent. And when the camera is completely shielded, sending out an alarm prompt. The alarm prompt can be a voice prompt, prompts the client that the camera lens is completely physically shielded, and prompts the client to pay attention to observing the lens, so that the client subjectively and mentally recognizes that the camera cannot monitor the client and spy the privacy of the client. The prompt module comprises an external audio interface, a voice driver and a loudspeaker.
Specifically, as shown in fig. 4, the workflow of the camera is as follows:
s41: starting a camera for snapshot;
s42: carrying out target detection on the snapshot image acquired by the camera;
s43: judging whether a detection target exists in the snapshot image or not;
if yes, executing step S44, otherwise returning to step S42;
s44: starting the shielding device;
s45: if the first sensor receives a signal 1 in the 2S in the movement process, the shielding cover can be normally started, and if the first sensor receives a signal 0 in the 2S, the shielding cover is stuck and cannot be normally started, the operation returns to the previous stage to resend the starting instruction;
s46: when the shielding device is normally started by the first sensor, in the movement process, if the second sensor receives a signal 1, the shielding device completely shields the lens, and if the second sensor in the movement process receives a signal 0, the shielding device is in a blocking half-covering state, the previous stage is returned to send a starting instruction again;
s47: and the second sensor receives the signal 1, the shielding device completely shields the lens to broadcast the voice to the client, and the client is prompted to pay attention to the observation lens so as to subjectively and mentally recognize that the camera cannot monitor the client and spy the privacy of the client.
An embodiment of the present application further provides an apparatus, which may include: one or more processors; and one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of fig. 1. In practical applications, the device may be used as a terminal device, and may also be used as a server, where examples of the terminal device may include: the mobile terminal includes a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop, a vehicle-mounted computer, a desktop computer, a set-top box, an intelligent television, a wearable device, and the like.
The present application further provides a non-transitory readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a device, the device may be caused to execute instructions (instructions) of steps included in the method in fig. 1 according to the present application.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application. As shown, the terminal device may include: an input device 1100, a first processor 1101, an output device 1102, a first memory 1103, and at least one communication bus 1104. The communication bus 1104 is used to implement communication connections between the elements. The first memory 1103 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and the first memory 1103 may store various programs for performing various processing functions and implementing the method steps of the present embodiment.
Alternatively, the first processor 1101 may be, for example, a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and the first processor 1101 is coupled to the input device 1100 and the output device 1102 through a wired or wireless connection.
Optionally, the input device 1100 may include a variety of input devices, such as at least one of a user-oriented user interface, a device-oriented device interface, a software programmable interface, a camera, and a sensor. Optionally, the device interface facing the device may be a wired interface for data transmission between devices, or may be a hardware plug-in interface (e.g., a USB interface, a serial port, etc.) for data transmission between devices; optionally, the user-facing user interface may be, for example, a user-facing control key, a voice input device for receiving voice input, and a touch sensing device (e.g., a touch screen with a touch sensing function, a touch pad, etc.) for receiving user touch input; optionally, the programmable interface of the software may be, for example, an entry for a user to edit or modify a program, such as an input pin interface or an input interface of a chip; the output devices 1102 may include output devices such as a display, audio, and the like.
In this embodiment, the processor of the terminal device includes a module for executing functions of each module in each device, and specific functions and technical effects may refer to the foregoing embodiments, which are not described herein again.
Fig. 6 is a schematic hardware structure diagram of a terminal device according to an embodiment of the present application. FIG. 6 is a specific embodiment of the implementation of FIG. 5. As shown, the terminal device of the present embodiment may include a second processor 1201 and a second memory 1202.
The second processor 1201 executes the computer program code stored in the second memory 1202 to implement the method described in fig. 1 in the above embodiment.
The second memory 1202 is configured to store various types of data to support operations at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, such as messages, pictures, videos, and so forth. The second memory 1202 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
Optionally, a second processor 1201 is provided in the processing assembly 1200. The terminal device may further include: communication component 1203, power component 1204, multimedia component 1205, speech component 1206, input/output interfaces 1207, and/or sensor component 1208. The specific components included in the terminal device are set according to actual requirements, which is not limited in this embodiment.
The processing component 1200 generally controls the overall operation of the terminal device. The processing assembly 1200 may include one or more second processors 1201 to execute instructions to perform all or part of the steps of the data processing method described above. Further, the processing component 1200 can include one or more modules that facilitate interaction between the processing component 1200 and other components. For example, the processing component 1200 can include a multimedia module to facilitate interaction between the multimedia component 1205 and the processing component 1200.
The power supply component 1204 provides power to the various components of the terminal device. The power components 1204 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device.
The multimedia components 1205 include a display screen that provides an output interface between the terminal device and the user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The voice component 1206 is configured to output and/or input voice signals. For example, the voice component 1206 includes a Microphone (MIC) configured to receive external voice signals when the terminal device is in an operational mode, such as a voice recognition mode. The received speech signal may further be stored in the second memory 1202 or transmitted via the communication component 1203. In some embodiments, the speech component 1206 further comprises a speaker for outputting speech signals.
The input/output interface 1207 provides an interface between the processing component 1200 and peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include, but are not limited to: a volume button, a start button, and a lock button.
The sensor component 1208 includes one or more sensors for providing various aspects of status assessment for the terminal device. For example, the sensor component 1208 may detect an open/closed state of the terminal device, relative positioning of the components, presence or absence of user contact with the terminal device. The sensor assembly 1208 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact, including detecting the distance between the user and the terminal device. In some embodiments, the sensor assembly 1208 may also include a camera or the like.
The communication component 1203 is configured to facilitate communications between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one embodiment, the terminal device may include a SIM card slot therein for inserting a SIM card therein, so that the terminal device may log onto a GPRS network to establish communication with the server via the internet.
As can be seen from the above, the communication component 1203, the voice component 1206, the input/output interface 1207 and the sensor component 1208 referred to in the embodiment of fig. 6 can be implemented as the input device in the embodiment of fig. 5.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (15)

1. A camera lens module shielding control method based on target detection is characterized by comprising the following steps:
carrying out target detection on a snapshot image acquired by a camera, and judging whether a detection target exists in the snapshot image or not;
controlling the shielding state of the shielding device on the camera lens module according to the target detection result; the shielding state of the shielding device on the camera lens module comprises a complete shielding state and a non-shielding state;
if a plurality of detection targets exist in the snapshot image, adjusting the shielding state of the shielding device on the camera lens module from a non-shielding state to a completely shielding state;
judging the shielding state of the shielding device on the camera lens module according to signals of at least two sensors arranged on the shielding path;
if the first sensor arranged at the front section of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state;
if the first sensor arranged at the front section of the shielding path and the second sensor arranged at the tail section of the shielding path both receive signals within the second time threshold value, the shielding state of the shielding device on the camera lens module is a complete shielding state.
2. The method according to claim 1, wherein if the stay time of the detected targets in the conference room exceeds a predetermined value, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a fully-shielding state.
3. The target detection-based camera lens module shielding control method according to claim 1, wherein if a detection target exists in the snapshot image, the attribute of the detection target is obtained; and controlling the shielding state of the shielding device on the camera lens module according to the attribute of the detection target.
4. The target detection-based camera lens module shielding control method according to claim 3, wherein the attributes of the detected target include at least one of: the level of the object is detected, whether it is a person who subscribes to the conference room.
5. The target detection-based camera lens module shielding control method according to claim 1, wherein the detected target is a human face target or a human body target.
6. The target detection based camera lens module shielding control method as claimed in claim 1, wherein when the camera is completely shielded, an alarm prompt is issued.
7. The utility model provides a camera lens module shelters from controlling means based on target detection which characterized in that includes:
the target detection module is used for carrying out target detection on the snapshot image acquired by the camera and judging whether a detection target exists in the snapshot image or not;
the shielding control module is used for controlling the shielding state of the shielding device on the camera lens module according to the target detection result; the shielding state of the shielding device on the camera lens module comprises a complete shielding state and a non-shielding state;
if a plurality of detection targets exist in the snapshot image, adjusting the shielding state of the shielding device on the camera lens module from a non-shielding state to a completely shielding state;
judging the shielding state of the shielding device on the camera lens module according to signals of at least two sensors arranged on the shielding path;
if the first sensor arranged at the front section of the shielding path does not receive the signal within the first time threshold, the shielding state of the shielding device on the camera lens module is a non-shielding state;
if the first sensor arranged at the front section of the shielding path and the second sensor arranged at the tail section of the shielding path both receive signals within the second time threshold value, the shielding state of the shielding device on the camera lens module is a complete shielding state.
8. The device for controlling shielding of a camera lens module according to claim 7, wherein if the staying time of the detected objects in the conference room exceeds a predetermined value, the shielding state of the camera lens module by the shielding device is adjusted from a non-shielding state to a fully-shielding state.
9. The target detection-based camera lens module shielding control device according to claim 7, wherein if a detection target exists in the snapshot image, the attribute of the detection target is obtained; and controlling the shielding state of the shielding device on the camera lens module according to the attribute of the detection target.
10. The target detection-based camera lens module shielding control device of claim 9, wherein the attributes of the detected target comprise at least one of: the level of the object is detected, whether it is a person who subscribes to the conference room.
11. The target detection-based camera lens module shielding control device as claimed in claim 7, wherein the detected target is a human face target or a human body target.
12. The target detection based camera lens module shielding control device as claimed in claim 7, wherein when the camera is completely shielded, an alarm prompt is issued.
13. A camera, comprising:
a shielding device;
object detection based camera lens module occlusion control device according to one or more of claims 7-12.
14. The utility model provides a camera lens module shelters from controlgear based on target detection which characterized in that includes:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-6.
15. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method of one or more of claims 1-6.
CN202010620495.3A 2020-06-30 2020-06-30 Camera lens module shielding control method and device based on target detection and camera Active CN111711762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010620495.3A CN111711762B (en) 2020-06-30 2020-06-30 Camera lens module shielding control method and device based on target detection and camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010620495.3A CN111711762B (en) 2020-06-30 2020-06-30 Camera lens module shielding control method and device based on target detection and camera

Publications (2)

Publication Number Publication Date
CN111711762A CN111711762A (en) 2020-09-25
CN111711762B true CN111711762B (en) 2021-06-29

Family

ID=72544351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010620495.3A Active CN111711762B (en) 2020-06-30 2020-06-30 Camera lens module shielding control method and device based on target detection and camera

Country Status (1)

Country Link
CN (1) CN111711762B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601019A (en) * 2020-12-14 2021-04-02 深圳市海雀科技有限公司 Image pickup apparatus and method of turning off the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206894785U (en) * 2017-07-13 2018-01-16 来邦科技股份公司 The talkback unit that the guard mechanism and camera of a kind of camera can block
CN108197450A (en) * 2017-12-28 2018-06-22 广东欧珀移动通信有限公司 Face identification method, face identification device, storage medium and electronic equipment
CN111327821A (en) * 2020-02-24 2020-06-23 珠海格力电器股份有限公司 Control method and device of intelligent camera device, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5842057A (en) * 1996-01-26 1998-11-24 Asahi Kogaki Kogo Kabushiki Kaisha Camera with lens barrier apparatus
CN101306249B (en) * 2008-05-30 2011-09-14 北京中星微电子有限公司 Motion analysis device and method
US10230880B2 (en) * 2011-11-14 2019-03-12 Tseng-Lu Chien LED light has built-in camera-assembly for colorful digital-data under dark environment
CN203608272U (en) * 2013-12-16 2014-05-21 北京精仪达盛科技有限公司 Intelligent monitoring camera and camera system which are provided with protection function
CN107566750A (en) * 2017-09-30 2018-01-09 北京小米移动软件有限公司 Control method, device and the storage medium of flash lamp
CN109598706A (en) * 2018-11-26 2019-04-09 安徽嘉拓信息科技有限公司 A kind of camera lens occlusion detection method and system
CN209472671U (en) * 2019-04-15 2019-10-08 四川正好科技发展有限公司 A kind of prison monitoring individual privacy automatic covering gear photographic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206894785U (en) * 2017-07-13 2018-01-16 来邦科技股份公司 The talkback unit that the guard mechanism and camera of a kind of camera can block
CN108197450A (en) * 2017-12-28 2018-06-22 广东欧珀移动通信有限公司 Face identification method, face identification device, storage medium and electronic equipment
CN111327821A (en) * 2020-02-24 2020-06-23 珠海格力电器股份有限公司 Control method and device of intelligent camera device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111711762A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN106970754B (en) Screen capture processing method and device
CN106020613B (en) A kind of operating method and mobile terminal of unread message
CN108197450B (en) Face recognition method, face recognition device, storage medium and electronic equipment
CN112906574B (en) Dynamic threshold management method and system
EP3641280A1 (en) Unlocking of a mobile terminal by face-recognition of a slidable camera
CN112989299A (en) Interactive identity recognition method, system, device and medium
CN111711762B (en) Camera lens module shielding control method and device based on target detection and camera
CN112135035B (en) Control method and device of image acquisition assembly and storage medium
CN109521923B (en) Floating window control method and device and storage medium
CN106547462A (en) Camera control method, device and mobile terminal
CN108874450A (en) Wake up the method and device of voice assistant
CN111711760B (en) Camera lens module shielding control method and device based on infrared control and camera
CN115344885A (en) Display method, device and terminal
CN117208725A (en) Staircase state monitoring method, device, machine-readable medium and equipment
CN104536640B (en) Background picture inspection method and device
CN111711761A (en) Camera lens module shielding control method and device based on time control and camera
CN111711763A (en) Camera lens module shielding control method and device and camera
CN114095794B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN114245017A (en) Shooting method and device and electronic equipment
CN111626192A (en) Living body detection method, system, equipment and medium
CN112347982A (en) Video-based unsupervised difficult case data mining method, device, medium and equipment
CN106155863A (en) Terminal anticipatory behavior control method and terminal
CN111626223A (en) Equipment state detection method and device, electronic equipment and medium
CN106126246B (en) Item display method and device
CN109151304B (en) Image processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant