CN113645403B - Self-photographing method and system based on holder, computer readable storage medium and intelligent holder - Google Patents

Self-photographing method and system based on holder, computer readable storage medium and intelligent holder Download PDF

Info

Publication number
CN113645403B
CN113645403B CN202110865771.7A CN202110865771A CN113645403B CN 113645403 B CN113645403 B CN 113645403B CN 202110865771 A CN202110865771 A CN 202110865771A CN 113645403 B CN113645403 B CN 113645403B
Authority
CN
China
Prior art keywords
shooting
instruction
image information
user
generating
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
CN202110865771.7A
Other languages
Chinese (zh)
Other versions
CN113645403A (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.)
Shenzhen Core Imaging Technology Co ltd
Original Assignee
Shenzhen Core Imaging Technology 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 Shenzhen Core Imaging Technology Co ltd filed Critical Shenzhen Core Imaging Technology Co ltd
Priority to CN202110865771.7A priority Critical patent/CN113645403B/en
Publication of CN113645403A publication Critical patent/CN113645403A/en
Application granted granted Critical
Publication of CN113645403B publication Critical patent/CN113645403B/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
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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/67Focus control based on electronic image sensor signals
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a self-photographing method and system based on a holder, a computer readable storage medium and an intelligent holder, belonging to the technical field of communication, wherein the self-photographing method comprises an image information acquisition step of acquiring image information in real time; a face feature recognition step, namely recognizing face features in the image information; a judgment result generation step, namely judging whether the face features are in the central area of the image information or not and generating a judgment result; an angle fine adjustment instruction generating step, wherein when the judgment result is negative, an angle fine adjustment instruction is generated; a shooting distance obtaining step, wherein when the judgment result is yes, the position of the user is determined according to the face characteristics, and the shooting distance is obtained; and a zooming instruction generation step, namely acquiring the current focal length of the shooting device, determining a zooming multiple based on a preset database, the current focal length and the shooting distance, and generating a zooming instruction according to the zooming multiple. The invention has the effect of improving the experience of the user.

Description

Self-photographing method and system based on holder, computer readable storage medium and intelligent holder
Technical Field
The invention relates to the technical field of communication, in particular to a self-photographing method and system based on a holder, a computer readable storage medium and an intelligent holder.
Background
At present, along with the development of intelligent equipment, the user is to the video shooting requirement increase gradually, and the cloud platform has become many hobbyists of shooing and live broadcast user's equipment commonly used, and it is as the carrier of shooting device, can provide comparatively stable shooting condition for shooting device.
When the user shoots and uses in need, the shooting devices such as a mobile phone and a camera are placed on the cloud deck, and the shooting angle of the shooting device is adjusted through the rotating mechanism on the cloud deck, so that the convenience of shooting and live broadcasting of the user is greatly improved.
For the related art, the inventor thinks that when the user performs self-shooting by using the shooting device on the pan/tilt, when the user moves to a position far away from the shooting device, the position of the user in the shot image may deviate from the position of the central area, and the proportion of the user in the image also becomes very small, so that the user needs to perform shooting by multiple times of debugging or assistance of others, and the operation is cumbersome, resulting in poor user experience.
Disclosure of Invention
In order to improve the user experience, the invention provides a self-photographing method and system based on a holder, a computer readable storage medium and an intelligent holder.
In a first aspect, the present invention provides a self-timer method based on a pan-tilt, which adopts the following technical scheme:
a self-timer method based on a pan-tilt, the self-timer method comprising,
the method comprises the steps of acquiring image information in real time, wherein the image information is acquired by shooting through a shooting device arranged on a holder base;
a face feature recognition step of recognizing face features in the image information;
a judgment result generation step, namely judging whether the face features are in the central area of the image information or not and generating a judgment result;
an angle fine adjustment instruction generating step, wherein when the judgment result is negative, an angle fine adjustment instruction is generated; the angle fine adjustment instruction is used for controlling the rotating mechanism to adjust the shooting angle of the shooting device until the human face features are in the central area of the image information; the rotating mechanism is arranged on the holder base and used for rotating the shooting device;
a shooting distance obtaining step, wherein when the judgment result is yes, the position of the user is determined according to the face characteristics, and the shooting distance is obtained; the shooting distance is the distance between the position of the user and the shooting device; and (c) a second step of,
a zoom instruction generating step of acquiring a current focal length of the shooting device, determining a zoom multiple based on a preset database, the current focal length and the shooting distance, and generating a zoom instruction according to the zoom multiple; the preset database comprises a plurality of groups of corresponding relations between shooting distance intervals and target focal lengths, the target focal lengths are equal to the product of the current focal lengths and the zoom multiple, and the zoom instruction is used for controlling the shooting device to adjust the current focal lengths to the target focal lengths according to the zoom multiple.
By adopting the embodiment, when a user utilizes the shooting device on the holder to carry out self-shooting, the image information shot by the shooting device is obtained in real time, the face feature in the image information is identified, whether the face feature is in the central area of the image information is judged, if the judgment result is negative, an angle fine-tuning instruction is generated to adjust the shooting angle of the shooting device, and the user is always in the central area of the shot image; if the judgment result is yes, the position of the user is determined according to the human face characteristics, the shooting distance is obtained, the zooming multiple is determined based on the preset database according to the shooting distance and the current focal length, the zooming instruction is generated according to the zooming multiple, the current focal length is adjusted to be the target focal length, so that the proportion of the user in the shot image is in a proper state, the clear detailed image of the user can be conveniently obtained, the self-shooting can be carried out without multiple times of debugging or assistance of other people, and the user experience is improved.
Optionally, the specific method of the face feature recognition step includes,
the method comprises the steps of obtaining face information of a user, wherein the face information is input in advance, extracting face features in image information, comparing the face features in the image information with face information of the user, and determining that the face features belong to the user if a comparison result is larger than or equal to a preset similarity threshold value.
By adopting the embodiment, the face information of the user is input in advance before shooting, the face features in the image information are extracted, and when two or more face features appear in the image information at the same time, the face features in the image information are compared with the face information of the user, so that the face features of the user are accurately distinguished, and the user is always in the central position.
Optionally, after the step of face feature recognition, the method further comprises,
and a detection result generation step, namely detecting whether the time for which the face features do not move is greater than or equal to a preset time threshold value or not, generating a detection result, and if so, executing the judgment result generation step.
By adopting the embodiment, whether the time for which the human face features do not move is larger than or equal to the preset threshold value or not is detected, and then the subsequent steps are executed when the user position is in a stable state, so that the situations of multiple times of adjustment and zooming caused by continuous movement of the user are reduced.
Optionally, after the step of generating the zoom instruction, the method further comprises,
and an automatic focusing instruction generating step, namely generating an automatic focusing instruction, wherein the automatic focusing instruction is used for controlling a shooting device to automatically focus the human face characteristics.
By adopting the embodiment, after zooming is finished, the face characteristics of the user are automatically focused by utilizing the automatic focusing instruction, so that the definition of a self-photographing picture of the user is improved.
Optionally, after the step of generating the automatic focusing instruction, the method further comprises,
and a shooting instruction generating step, namely acquiring gesture information and/or voice information of a user, judging whether the gesture information and/or the voice information meet a preset trigger condition, and if so, generating a corresponding shooting instruction according to the preset trigger condition.
By adopting the embodiment, when the gesture information and/or the voice information of the user meet the preset triggering condition, the corresponding shooting instruction can be generated, so that the user can still shoot through the gesture or the voice when the distance is far away, the shooting mode is enriched, and the adaptability is enhanced.
Optionally, after the step of generating the shooting instruction, the method further comprises,
a shooting operation executing step, which receives a shooting instruction and controls a shooting device to execute corresponding shooting operation according to the shooting instruction; the shooting instruction comprises a shooting instruction and a video recording instruction.
By adopting the embodiment, corresponding photographing or video recording operation is executed according to different photographing instructions, so that the flexibility of photographing is improved, and different requirements of users can be met conveniently.
In a second aspect, the invention provides a self-timer system based on a pan-tilt, which adopts the following technical scheme:
a self-timer system based on a holder, the self-timer system comprises,
the image information acquisition module is used for acquiring image information in real time, and the image information is obtained by shooting through a shooting device arranged on the holder;
the face feature recognition module is used for recognizing the face features in the image information;
the judging result generating module is used for judging whether the face features are in the central area of the image information or not and generating a judging result;
the angle fine adjustment instruction generation module is used for generating an angle fine adjustment instruction when the judgment result is negative, and the angle fine adjustment instruction is used for controlling the rotating mechanism to adjust the shooting angle of the shooting device until the human face features are in the central area of the image information; the rotating mechanism is arranged on the holder base and used for rotating the shooting device;
the shooting distance acquisition module is used for determining the position of the user according to the face features and acquiring the shooting distance when the judgment result is yes; the shooting distance is the distance between the position of the user and the shooting device; and (c) a second step of,
the zoom instruction generation module is used for acquiring the current focal length of the shooting device, determining a zoom multiple based on a preset database, the current focal length and the shooting distance, and generating a zoom instruction according to the zoom multiple; the preset database comprises a corresponding relation between a plurality of groups of shooting distance intervals and a target focal length, the target focal length is equal to the product of the current focal length and a zooming multiple, and the zooming instruction is used for controlling the shooting device to adjust the current focal length to the target focal length according to the zooming multiple.
By adopting the embodiment, when a user carries out self-shooting by using the shooting device on the holder, the image information shot by the shooting device is obtained in real time by using the image information obtaining module, the face feature in the image information is identified by using the face feature identification module, whether the face feature is in the central area of the image information is judged, if the face feature is not in the central area of the image information, the angle fine-tuning instruction generating module is used for generating the angle fine-tuning instruction to control the rotating mechanism to adjust the shooting angle of the shooting device, and then the user is always in the central area of the shot image; if the judgment result is yes, determining the position of the user according to the face features by using a shooting distance acquisition module, and acquiring a shooting distance; utilize zoom instruction generation module according to this shooting distance and current focal length, confirm the multiple of zooming based on the database of predetermineeing to zoom the instruction according to this multiple of zooming and adjust the current focal length to the target focal length, thereby make the user in the shared proportion of shooting the image in comparatively suitable state, be convenient for acquire user's clear detail image, need not many times debugging or other people to assist and can autodyne, improved user experience and felt.
Optionally, the self-timer system further comprises,
and the automatic focusing instruction generating module is used for generating an automatic focusing instruction, and the automatic focusing instruction is used for controlling the shooting device to automatically focus the human face characteristics.
By adopting the embodiment, after zooming is finished, the face characteristics of the user are automatically focused by the automatic focusing instruction generation module, so that the definition of a self-photographing picture of the user is improved.
In a third aspect, the present invention provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium storing a computer program which can be loaded by a processor and which performs the method steps as in the first aspect.
In a fourth aspect, the invention provides an intelligent holder, which adopts the following technical scheme:
an intelligent cloud deck comprises a cloud deck base, a rotating mechanism, a distance measuring device, a memory and a processor;
the rotating mechanism is arranged on the holder base and used for rotating the shooting device;
the distance measuring device is arranged on the holder base and used for measuring a shooting distance, and the shooting distance is the distance between the position of the user and the shooting device;
the memory is used for storing program instructions and a preset database, and the preset database comprises a plurality of groups of corresponding relations between shooting distance intervals and target focal lengths;
the processor is configured to call and execute the program instructions in the memory to perform the method steps as in the first aspect.
In summary, the invention includes at least one of the following beneficial technical effects:
1. when a user uses a shooting device on a holder to shoot, image information shot by the shooting device is obtained in real time, human face features in the image information are identified, whether the human face features are in the central area of the image information or not is judged, if the human face features are not in the central area of the image information, an angle fine-tuning instruction is generated to adjust the shooting angle of the shooting device, and the user is enabled to be always in the central area of a shot image; if the judgment result is yes, the position of the user is determined according to the face characteristics, the shooting distance is obtained, the zooming times are determined based on a preset database according to the shooting distance and the current focal length, zooming instructions are generated according to the zooming times, and the current focal length is adjusted to be the target focal length, so that the proportion of the user in the shot image is in a proper state, the clear detailed image of the user can be conveniently obtained, the self-shooting can be carried out without multiple times of debugging or assistance of others, and the user experience is improved;
2. by detecting whether the time that the human face features do not move is greater than or equal to a preset threshold value or not, the subsequent steps are executed when the position of the user is in a stable state, and the situations of multiple adjustment and zooming caused by continuous movement of the user are reduced;
3. when the gesture information and/or the voice information of the user meet the preset triggering conditions, the corresponding shooting instruction can be generated, so that the user can still shoot through gestures or voice when the user is far away, the shooting mode is enriched, and the adaptability is enhanced.
Drawings
Fig. 1 is a schematic flow chart of a pan-tilt-based self-timer method according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a pan-tilt-based self-timer method according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart of a self-timer method based on a pan-tilt according to an embodiment of the invention.
Fig. 4 is a schematic flow chart of a self-timer method based on a pan/tilt head according to an embodiment of the present invention.
Fig. 5 is a block diagram of a self-timer system based on a pan/tilt head according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an intelligent pan/tilt head according to an embodiment of the present invention.
Description of the reference numerals: 101. an image information acquisition step; 102. a human face feature recognition step; 103. a judgment result generation step; 104. generating an angle fine adjustment instruction; 105. a shooting distance obtaining step; 106. a zoom instruction generation step; 107. an automatic focusing instruction generating step; 108. a shooting instruction generation step; 109. a shooting operation execution step; 1. a holder base; 2. a fixing clip; 3. a rotation mechanism; 31. a rotating table; 32. connecting columns; 33. a rotating shaft; 34. a fixing plate; 35. a rotating shaft; 4. a distance measuring device.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying fig. 1-6 and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The embodiment of the invention discloses a self-photographing method based on a holder.
Referring to fig. 1 and 2, a self-timer method based on a pan/tilt head, the self-timer method includes,
an image information obtaining step 101, obtaining image information in real time, wherein the image information is obtained by shooting by a shooting device installed on the holder base 1.
The shooting device can be a camera, a mobile phone, a tablet computer and other mobile terminals with shooting and video recording functions.
A face feature recognition step 102, recognizing face features in the image information.
The image information is analyzed through a face recognition algorithm, and then the face features in the image information can be recognized.
A judgment result generation step 103 of judging whether the face features are in the central area of the image information, and generating a judgment result.
The central area of the image information is within the central range of the shooting picture during shooting.
An angle fine adjustment instruction generating step 104, wherein when the judgment result is negative, an angle fine adjustment instruction is generated; the angle fine-tuning instruction is used for controlling the rotating mechanism 3 to adjust the shooting angle of the shooting device until the human face features are in the central area of the image information; the rotating mechanism 3 is installed on the holder base 1 and used for rotating the shooting device.
And a shooting distance obtaining step 105, when the judgment result is yes, determining the position of the user according to the face features, and obtaining the shooting distance, wherein the shooting distance is the distance between the position of the user and the shooting device.
A zoom instruction generation step 106, acquiring the current focal length of the shooting device, determining a zoom multiple based on a preset database, the current focal length and the shooting distance, and generating a zoom instruction according to the zoom multiple; the preset database comprises a plurality of groups of corresponding relations between shooting distance intervals and target focal lengths, the target focal length is equal to the product of the current focal length and the zoom multiple, and the zoom instruction is used for controlling the shooting device to adjust the current focal length to the target focal length according to the zoom multiple.
When the shooting distance is within a certain shooting distance interval in the preset database, the current focal length can be adjusted to the target focal length corresponding to the shooting distance interval, and the adjustment can be carried out by zooming in or zooming out according to the zoom factor.
In the embodiment, when a user uses a shooting device on a holder to take a self-timer picture, the image information shot by the shooting device is obtained in real time, the human face feature in the image information is identified, whether the human face feature is in the central area of the image information is judged, if the human face feature is not in the central area of the image information, an angle fine-tuning instruction is generated to adjust the shooting angle of the shooting device, and the user is always in the central area of the shot image; if the judgment result is yes, the position of the user is determined according to the human face characteristics, the shooting distance is obtained, the zooming multiple is determined based on the preset database according to the shooting distance and the current focal length, the zooming instruction is generated according to the zooming multiple, the current focal length is adjusted to be the target focal length, so that the proportion of the user in the shot image is in a proper state, the clear detailed image of the user can be conveniently obtained, the self-shooting can be carried out without multiple times of debugging or assistance of other people, and the user experience is improved.
It should be noted that, when the user performs self-timer shooting, when the user is far away from the shooting device, the position of the user in the shot image may deviate from the central area, and in order to cope with this, the rotation mechanism 3 is controlled by the angle fine-adjustment command to perform fine adjustment on the shooting angle of the shooting device, so that the user can be in the central area of the shot image during shooting, thereby improving flexibility and adaptability during shooting.
As an embodiment of the step 105 of obtaining the shooting distance, after determining the position of the user according to the facial features, the shooting distance may be measured by the distance measuring device 4; the distance measuring device 4 may be a distance measuring camera, a laser tester, or the like.
As an implementation manner of the zoom instruction generating step 106, the preset database includes a plurality of sets of corresponding relationships between the shooting distance intervals and the target focal lengths, each shooting distance interval constitutes an extreme shooting distance interval of the shooting device, and each shooting distance interval has no intersection, and each shooting distance interval corresponds to one target focal length; for example, the shooting distance interval [ D1, D2] corresponds to a target focal length f1, the shooting distance interval (D2, D3] corresponds to a target focal length f2, the target focal length is an optimal focal length when the shooting distance is within the shooting distance interval, and the optimal focal length is obtained by manual debugging for multiple times according to actual requirements and by combining the height of the user.
As a specific implementation of determining the zoom multiple according to the current focal length and the shooting distance, for example, the target focal length F1 corresponding to the shooting distance interval [ D1, D2] is obtained according to a preset database, the shooting distance L1 and the current focal length F1 are obtained, if L1 is located in [ D1, D2], the target focal length corresponding to the shooting distance L1 is determined to be F1, and the zoom multiple is k = F1/F1 according to the fact that the target focal length is equal to the product of the current focal length and the zoom multiple; the zoom command can be generated according to the zoom multiple k, and then the zoom command is used to control the shooting device to adjust the current focal length F1 to the target focal length F1 according to the zoom multiple k.
It should be noted that each shooting distance section may cover all or part of the limit shooting distance section of the shooting device, and the opening and closing of the end point of each shooting distance section, the length of each shooting distance section, and the number of shooting distance sections may be set and adjusted according to actual conditions.
As a further embodiment of the self-timer method, the specific method of the face feature recognition step 102 includes,
the method comprises the steps of obtaining face information of a user, wherein the face information is input in advance, extracting face features in image information, comparing the face features in the image information with the face information of the user, and determining that the face features belong to the user if a comparison result is larger than or equal to a preset similarity threshold value.
The similarity threshold value can be preset, and when the similarity threshold value is met, the similarity between the face features and the face information of the user can be judged.
In the embodiment, the face information of the user is input in advance before shooting, and when two or more face features appear in the image information at the same time, the face features of the user are accurately distinguished by comparing the face features in the image information with the face information of the user, so that the user is always in the central position, and the self-shooting quality is further improved.
As a further embodiment of the self-timer method, referring to fig. 3, after the face feature recognition step 102,
and a detection result generation step of detecting whether the time when the face features do not move is greater than or equal to a preset time threshold value, generating a detection result, and if the detection result is yes, executing a judgment result generation step 103.
The preset time threshold value can be preset according to the actual situation; for example, the preset time threshold may be set to five seconds, and when it is detected that the time for the face feature to keep freezing and not move is more than five seconds, the detection result is yes, and the next step is executed.
In the embodiment, whether the time for which the face features do not move is greater than or equal to the preset threshold value or not is detected, and then the subsequent steps are executed when the user position is in a stable state, so that the situations of multiple times of adjustment and zooming caused by continuous movement of the user are reduced.
As a further embodiment of the self-timer method, referring to fig. 4, after the zoom instruction generating step 106,
an autofocus command generating step 107 generates an autofocus command for controlling the imaging device to automatically focus the face feature.
In the above embodiment, after zooming is completed, the face features of the user are automatically focused by using the automatic focusing instruction, so that the definition of a self-photographing picture of the user is improved.
As a further embodiment of the self-timer shooting method, referring to fig. 4, after the automatic focusing instruction generating step 107,
a shooting instruction generating step 108, acquiring gesture information and/or voice information of the user, judging whether the gesture information and/or the voice information meets a preset trigger condition, and if so, generating a corresponding shooting instruction according to the preset trigger condition.
The preset trigger condition can be set according to personal habits of the user; the preset trigger condition can be a preset trigger gesture or preset trigger voice; for example, the preset trigger gesture may include a "V" shaped gesture, a heart shaped gesture, etc.; the preset trigger voice can comprise 'start to take a picture', 'start to record a video', and the like; and when the gesture information and/or the voice information do not meet the preset trigger condition, the corresponding shooting instruction cannot be generated.
In the embodiment, when the gesture information and/or the voice information of the user meet the preset trigger condition, the corresponding shooting instruction can be generated, so that the user can still shoot through gestures or voices when the user is far away, the shooting mode is enriched, and the adaptability is enhanced.
As a further embodiment of the self-timer shooting method, referring to fig. 4, after the shooting instruction generating step 108,
a shooting operation executing step 109, receiving a shooting instruction and controlling the shooting device to execute corresponding shooting operation according to the shooting instruction; the shooting instruction comprises a shooting instruction and a video recording instruction.
In the embodiment, corresponding photographing or video recording operation is executed according to different photographing instructions, so that the flexibility of photographing is improved, and different requirements of users are met conveniently.
The embodiment of the invention also discloses a self-timer system based on the holder.
Referring to fig. 5, the self-timer system based on the pan/tilt head, the self-timer system includes,
the image information acquisition module is used for acquiring image information in real time, and the image information is obtained by shooting through a shooting device arranged on the holder;
the face feature recognition module is used for recognizing face features in the image information;
the judging result generating module is used for judging whether the face features are in the central area of the image information or not and generating a judging result;
the angle fine-tuning instruction generation module is used for generating an angle fine-tuning instruction when the judgment result is negative, and the angle fine-tuning instruction is used for controlling the rotating mechanism 3 to adjust the shooting angle of the shooting device until the human face features are in the central area of the image information; the rotating mechanism 3 is arranged on the holder base 1 and is used for rotating the shooting device;
the shooting distance acquisition module is used for determining the position of the user according to the face features and acquiring the shooting distance when the judgment result is yes, wherein the shooting distance is the distance between the position of the user and the shooting device; and (c) a second step of,
the zoom instruction generation module is used for acquiring the current focal length of the shooting device, determining a zoom multiple based on a preset database, the current focal length and the shooting distance, and generating a zoom instruction according to the zoom multiple; the preset database comprises a corresponding relation between a plurality of groups of shooting distance intervals and a target focal length, the target focal length is equal to the product of the current focal length and a zooming multiple, and the zooming instruction is used for controlling the shooting device to adjust the current focal length to the target focal length according to the zooming multiple.
In the above embodiment, when a user uses a shooting device on a pan/tilt head to perform self-shooting, image information shot by the shooting device is obtained in real time, a face feature in the image information is identified, whether the face feature is in a central area of the image information is judged, and if the face feature is not in the central area of the image information, an angle fine-tuning instruction is generated to adjust a shooting angle of the shooting device, so that the user is always in the central area of a shot image; if the judgment result is yes, the position of the user is determined according to the face characteristics, the shooting distance is obtained, the zooming multiple is determined based on the preset database according to the shooting distance and the current focal length, the zooming instruction is generated according to the zooming multiple, the current focal length is adjusted to be the target focal length, the proportion of the user in the shot image is in a proper state, the clear detail image of the user can be conveniently obtained, self-shooting can be carried out without multiple times of debugging or assistance of other people, and the user experience is improved.
As a further embodiment of the self-timer shooting system, the face feature recognition module further comprises,
the face feature extraction unit is used for extracting face features in the image information;
and the face feature comparison unit is used for acquiring the face information of the user which is input in advance, comparing the face features in the image information with the face information of the user, and determining that the face features belong to the user if the comparison result is greater than or equal to a preset similarity threshold value.
In the above embodiment, the face feature extraction unit is used to extract the face features in the image information, and when two or more face features appear in the image information at the same time, the face feature comparison unit is used to obtain the face information of the user, which is input in advance, and compare the face features in the image information with the face information of the user, so that the face features of the user are accurately distinguished, and the user is always in the central position.
As a further embodiment of the self-timer system, the self-timer system further comprises,
and a detection result generation module, configured to detect whether the time during which the face features do not move is greater than or equal to a preset time threshold, and generate a detection result, and if the detection result is yes, perform a determination result generation step 103.
In the embodiment, the detection result generation module is used for detecting whether the time that the human face features do not move is greater than or equal to the preset threshold value or not, so that the subsequent steps are executed when the user position is in a stable state, and the situations of multiple adjustment and zooming caused by continuous movement of the user are reduced.
As a further embodiment of the self-timer system, the self-timer system further comprises,
and the automatic focusing instruction generating module is used for generating an automatic focusing instruction, and the automatic focusing instruction is used for controlling the shooting device to automatically focus the face characteristics.
In the above embodiment, after zooming is completed, the automatic focusing instruction generation module is used to perform automatic focusing on the human face features of the user, so that the definition of a self-photographing picture of the user is improved.
As a further embodiment of the self-timer system, the self-timer system further comprises,
and the shooting instruction generating module is used for acquiring gesture information and/or voice information of a user, judging whether the gesture information and/or the voice information meet a preset trigger condition or not, and if the gesture information and/or the voice information meet the preset trigger condition, generating a corresponding shooting instruction according to the preset trigger condition.
The shooting operation execution module is used for receiving the shooting instruction and controlling the shooting device to execute corresponding shooting operation according to the shooting instruction; the shooting instruction comprises a shooting instruction and a video recording instruction.
In the embodiment, the gesture information and/or the voice information of the user are/is acquired through the shooting instruction generating module, when the gesture information and/or the voice information meet the preset triggering condition, the shooting instruction corresponding to the preset triggering condition is generated, and the shooting operation executing module controls the shooting device to execute the corresponding shooting or video recording operation according to the shooting instruction, so that the shooting flexibility is improved, and different requirements of the user can be met conveniently.
The self-photographing system based on the holder can realize any one of the methods of the self-photographing method based on the holder, and the specific working process of the self-photographing system can refer to the corresponding process in the method embodiment.
The embodiment of the invention also discloses a computer readable storage medium.
A computer readable storage medium storing a computer program capable of being loaded by a processor and executing a self-timer method based on a pan/tilt head as described above.
The computer-readable storage medium includes, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the invention also discloses an intelligent cradle head.
Referring to fig. 6, the intelligent cradle head includes a cradle head base 1, a rotating mechanism 3, a distance measuring device 4, a memory and a processor.
The rotating mechanism 3 is arranged on the holder base 1 and is used for rotating the shooting device; the distance measuring device 4 is arranged on the holder base 1 and used for measuring a shooting distance, and the shooting distance is the distance between the position of the user and the shooting device; the memory is used for storing program instructions and a preset database, and the preset database comprises a plurality of groups of corresponding relations between shooting distance intervals and target focal lengths; the processor is used for calling and executing the program instructions in the memory and executing the steps of the self-timer method based on the holder.
In the embodiment of the invention, the intelligent cradle head further comprises a fixing mechanism, the fixing mechanism is used for fixedly placing the shooting device, the fixing mechanism can be a fixing clamp 2, the rotating mechanism 3 comprises a rotating platform 31, a connecting column 32, a rotating shaft 33, a fixing plate 34 and a rotating shaft 35, the rotating platform 31 is rotatably arranged at the top of the cradle head base 1, the connecting column 32 is fixedly arranged at the top of the rotating platform 31, the fixing plate 34 is rotatably arranged on the connecting column 32 through the rotating shaft 33, the fixing clamp 2 is rotatably arranged on the fixing plate 34 through the rotating shaft 35, a driving motor is arranged in the cradle head base 1 and used for driving the rotating platform 31 to rotate, and the driving motor is electrically connected with the processor; when the camera is used, the shooting device is installed on the fixing clamp 2, the processor controls the driving motor to drive the rotating platform 31 to rotate, and then the fixing clamp 2 on the fixing plate 34 and the fixing plate 34 is driven to rotate, so that the shooting angle of the shooting device can be adjusted.
As an implementation mode of the distance measuring device 4, the distance measuring device 4 is in wireless communication connection with the processor, the distance measuring device 4 can adopt a binocular camera, the binocular camera is installed on the fixing clamp 2, the shooting angle of the binocular camera is always consistent with that of the shooting device, and when the rotating mechanism 3 drives the shooting device to rotate, the binocular camera rotates along with the shooting device, so that the accuracy in measurement is improved.
It should be noted that the processor may have various specific implementation forms, the processor may be a central processing unit or an image processor, and the processor may also be a single-core processor or a multi-core processor. The processor executes corresponding operations according to the program instructions stored in the memory, and the method steps for the processor to execute the corresponding operations can be specifically implemented by referring to the corresponding processes of the above method embodiments.
By adopting the intelligent holder provided by the embodiment of the invention, when a user carries out self-shooting, the shooting angle of the shooting device can be finely adjusted according to the human face characteristics of the user, so that the user is always in the central area of the shot image, and the proportion of the user in the image is always in a proper state by carrying out automatic zooming, thereby being convenient for adapting to different shooting distances, being simple and convenient to operate and improving the user experience.
The foregoing is a preferred embodiment of the present invention and is not intended to limit the scope of the invention in any way, and any feature disclosed in this specification (including the abstract and drawings) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.

Claims (5)

1. A self-timer method based on a holder is characterized in that: the self-timer shooting method comprises the following steps,
an image information acquisition step (101) of acquiring image information in real time, wherein the image information is obtained by shooting by a shooting device arranged on a holder base (1);
a face feature recognition step (102) for recognizing a face feature in the image information;
a judgment result generation step (103) for judging whether the face features are in the central area of the image information and generating a judgment result; the central area of the image information is in the central range of a shooting picture during shooting;
an angle fine adjustment instruction generating step (104) for generating an angle fine adjustment instruction when the judgment result is negative; the angle fine adjustment instruction is used for controlling the rotating mechanism (3) to adjust the shooting angle of the shooting device until the face features are in the central area of the image information; the rotating mechanism (3) is arranged on the holder base (1) and is used for rotating the shooting device;
a shooting distance obtaining step (105), when the judgment result is yes, determining the position of the user according to the face characteristics, and obtaining the shooting distance; the shooting distance is the distance between the position of the user and the shooting device; and (c) a second step of,
a zoom instruction generation step (106) of acquiring a current focal length of the shooting device, determining a zoom multiple based on a preset database, the current focal length and the shooting distance, and generating a zoom instruction according to the zoom multiple; the preset database comprises a plurality of groups of corresponding relations between shooting distance intervals and target focal lengths, each shooting distance interval forms a limit shooting distance interval of the shooting device, the shooting distance intervals are not intersected with each other, each shooting distance interval corresponds to one target focal length, the target focal length is equal to the product of the current focal length and a zoom multiple, and the zoom instruction is used for controlling the shooting device to adjust the current focal length to the target focal length according to the zoom multiple;
an automatic focusing instruction generating step (107) for generating an automatic focusing instruction, wherein the automatic focusing instruction is used for controlling a shooting device to carry out automatic focusing on the human face characteristics;
a shooting instruction generating step (108) of acquiring gesture information and/or voice information of a user, judging whether the gesture information and/or the voice information meet a preset trigger condition, and if so, generating a corresponding shooting instruction according to the preset trigger condition; the preset triggering condition comprises a preset triggering gesture and/or a preset triggering voice;
a shooting operation execution step (109) for receiving a shooting instruction and controlling the shooting device to execute corresponding shooting operation according to the shooting instruction; the shooting instruction comprises a shooting instruction and a video recording instruction;
further comprising after the face feature recognition step (102),
and a detection result generation step of detecting whether the time for which the face features do not move is greater than or equal to a preset time threshold value or not, generating a detection result, and if so, executing the judgment result generation step (103).
2. The pan/tilt-based self-timer method according to claim 1, wherein: the specific method of the face feature recognition step (102) comprises,
the method comprises the steps of obtaining face information of a user input in advance, extracting face features in image information, comparing the face features in the image information with the face information of the user, and determining that the face features belong to the user if a comparison result is larger than or equal to a preset similarity threshold value.
3. The utility model provides a self-heterodyne system based on cloud platform which characterized in that: the self-timer shooting system comprises a self-timer shooting device,
the system comprises an image information acquisition module, a data acquisition module and a data processing module, wherein the image information acquisition module is used for acquiring image information in real time, and the image information is obtained by shooting by a shooting device arranged on a holder;
the face feature recognition module is used for recognizing the face features in the image information;
the judging result generating module is used for judging whether the face features are in the central area of the image information or not and generating a judging result; the central area of the image information is in the central range of a shooting picture during shooting;
the angle fine-tuning instruction generation module is used for generating an angle fine-tuning instruction when the judgment result is negative, and the angle fine-tuning instruction is used for controlling the rotating mechanism (3) to adjust the shooting angle of the shooting device until the human face features are in the central area of the image information; the rotating mechanism (3) is arranged on the holder base (1) and is used for rotating the shooting device;
the shooting distance acquisition module is used for determining the position of the user according to the face features and acquiring the shooting distance when the judgment result is yes; the shooting distance is the distance between the position of the user and the shooting device; and the number of the first and second groups,
the zooming instruction generating module is used for acquiring the current focal length of the shooting device, determining a zooming multiple based on a preset database, the current focal length and the shooting distance, and generating a zooming instruction according to the zooming multiple; the preset database comprises a plurality of groups of shooting distance intervals and a corresponding relation of target focal lengths, each shooting distance interval forms a limit shooting distance interval of the shooting device, each shooting distance interval does not have intersection, each shooting distance interval corresponds to one target focal length, the target focal length is equal to the product of the current focal length and a zoom multiple, and the zoom instruction is used for controlling the shooting device to adjust the current focal length to the target focal length according to the zoom multiple;
the automatic focusing instruction generating module is used for generating an automatic focusing instruction, and the automatic focusing instruction is used for controlling a shooting device to automatically focus the human face features;
the shooting instruction generating module is used for acquiring gesture information and/or voice information of a user, judging whether the gesture information and/or the voice information meet a preset trigger condition or not, and if the gesture information and/or the voice information meet the preset trigger condition, generating a corresponding shooting instruction according to the preset trigger condition; the preset triggering condition comprises a preset triggering gesture and/or a preset triggering voice;
the shooting operation execution module is used for receiving the shooting instruction and controlling the shooting device to execute corresponding shooting operation according to the shooting instruction; the shooting instruction comprises a shooting instruction and a video recording instruction;
and the detection result generation module is used for detecting whether the time for which the human face features do not move is greater than or equal to a preset time threshold value or not and generating a detection result.
4. A computer-readable storage medium, characterized in that: a computer program which can be loaded into a processor and which carries out the method steps of any of claims 1 to 2.
5. The utility model provides an intelligence cloud platform which characterized in that: the intelligent cradle head comprises a cradle head base (1), a rotating mechanism (3), a distance measuring device (4), a memory and a processor;
the rotating mechanism (3) is arranged on the holder base (1) and is used for rotating the shooting device;
the distance measuring device (4) is arranged on the holder base (1) and is used for measuring a shooting distance, and the shooting distance is the distance between the position where the user is located and the shooting device;
the memory is used for storing programs and a preset database, and the preset database comprises a corresponding relation between a plurality of groups of shooting distance intervals and a target focal length;
the processor, for calling and executing the program in the memory, performing the method steps of any of claims 1 to 2;
intelligence cloud platform still includes fixed establishment, fixed establishment is used for fixing the shooting device and places, fixed establishment is fixation clamp (2), rotary mechanism (3) are including revolving stage (31), spliced pole (32), rotation axis (33), fixed plate (34) and axis of rotation (35), revolving stage (31) are rotated and are set up the top at cloud platform base (1), spliced pole (32) fixed mounting is at revolving stage (31) top, fixed plate (34) are rotated through rotation axis (33) and are set up on spliced pole (32), fixation clamp (2) are rotated through axis of rotation (35) and are set up on fixed plate (34), be provided with driving motor in cloud platform base (1), driving motor is used for driving revolving stage (31) to rotate, driving motor and treater electricity are connected.
CN202110865771.7A 2021-07-29 2021-07-29 Self-photographing method and system based on holder, computer readable storage medium and intelligent holder Active CN113645403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110865771.7A CN113645403B (en) 2021-07-29 2021-07-29 Self-photographing method and system based on holder, computer readable storage medium and intelligent holder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110865771.7A CN113645403B (en) 2021-07-29 2021-07-29 Self-photographing method and system based on holder, computer readable storage medium and intelligent holder

Publications (2)

Publication Number Publication Date
CN113645403A CN113645403A (en) 2021-11-12
CN113645403B true CN113645403B (en) 2022-08-19

Family

ID=78418919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110865771.7A Active CN113645403B (en) 2021-07-29 2021-07-29 Self-photographing method and system based on holder, computer readable storage medium and intelligent holder

Country Status (1)

Country Link
CN (1) CN113645403B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339042A (en) * 2021-12-28 2022-04-12 展讯通信(上海)有限公司 Image processing method and device based on multiple cameras and computer readable storage medium
CN114245021B (en) * 2022-02-14 2023-08-08 北京火山引擎科技有限公司 Interactive shooting method, electronic equipment, storage medium and computer program product
CN117170418B (en) * 2023-11-02 2024-02-20 杭州华橙软件技术有限公司 Cloud deck control method, device, equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001346090A (en) * 2000-06-01 2001-12-14 Olympus Optical Co Ltd Electronic camera system and electronic camera
JP5438805B2 (en) * 2012-07-23 2014-03-12 キヤノン株式会社 Automatic focusing device, automatic focusing method, and imaging device
CN104717427B (en) * 2015-03-06 2018-06-08 广东欧珀移动通信有限公司 A kind of automatic zooming method, device and mobile terminal
CN105554385B (en) * 2015-12-18 2018-07-10 天津中科智能识别产业技术研究院有限公司 A kind of remote multi-modal biological characteristic recognition methods and its system
CN105704389A (en) * 2016-04-12 2016-06-22 上海斐讯数据通信技术有限公司 Intelligent photo taking method and device
CN106385542A (en) * 2016-10-11 2017-02-08 广东欧珀移动通信有限公司 Camera focusing method, device and mobile terminal
CN106412437B (en) * 2016-10-19 2019-04-12 Oppo广东移动通信有限公司 Focusing method, device and the terminal of terminal
CN109982029B (en) * 2017-12-27 2021-11-16 浙江宇视科技有限公司 Automatic adjusting method and device for camera monitoring scene
CN110769148A (en) * 2018-07-27 2020-02-07 北京蜂盒科技有限公司 Camera automatic control method and device based on face recognition
CN109803090B (en) * 2019-01-25 2021-09-28 睿魔智能科技(深圳)有限公司 Automatic zooming method and system for unmanned shooting, unmanned camera and storage medium
CN112040137A (en) * 2020-11-03 2020-12-04 深圳点猫科技有限公司 Method, device and equipment for automatically tracking and shooting teachers in recording and broadcasting

Also Published As

Publication number Publication date
CN113645403A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN113645403B (en) Self-photographing method and system based on holder, computer readable storage medium and intelligent holder
US11729487B2 (en) Image pickup apparatus and control method therefor
CN102378097B (en) microphone control system and method
CN105654512A (en) Target tracking method and device
US20230362472A1 (en) Image pickup apparatus and control method therefor
CN105872363A (en) Adjustingmethod and adjusting device of human face focusing definition
CN108632536B (en) Camera control method and device, terminal and storage medium
CN102196171A (en) Imaging control device, subject detection method, and program
CN107702273B (en) Air conditioner control method and device
CN105678242B (en) Focusing method and device under hand-held certificate mode
CN109753925B (en) Iris feature extraction method and device
CN108600610A (en) Shoot householder method and device
CN107194379B (en) Face recognition verification terminal capable of adapting to different application scenes and working method thereof
CN111182204B (en) Shooting method based on wearable device and wearable device
CN102650801A (en) Camera and automatic focusing method thereof
CN112738388A (en) Photographing processing method and system, electronic device and storage medium
US11134188B2 (en) Electronic device with image capturing device that records based on external inputs
CN112954207A (en) Driving landscape snapshot method and device and automobile central console
CN113630556A (en) Focusing method, focusing device, electronic equipment and storage medium
CN116266418A (en) Motion recognition method, motion recognition device, electronic equipment and storage medium
CN112073639A (en) Shooting control method and device, computer readable medium and electronic equipment
CN112585946A (en) Image shooting method, image shooting device, movable platform and storage medium
CN112188085B (en) Image processing method and handheld pan-tilt camera
CN114598817B (en) Man-machine interaction judgment method and device based on multi-man interaction judgment
US20230300444A1 (en) Image capturing system and method for adjusting focus

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