WO2018121385A1 - Information processing method and apparatus, and computer storage medium - Google Patents

Information processing method and apparatus, and computer storage medium Download PDF

Info

Publication number
WO2018121385A1
WO2018121385A1 PCT/CN2017/117567 CN2017117567W WO2018121385A1 WO 2018121385 A1 WO2018121385 A1 WO 2018121385A1 CN 2017117567 W CN2017117567 W CN 2017117567W WO 2018121385 A1 WO2018121385 A1 WO 2018121385A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
location information
gesture
determining
camera
Prior art date
Application number
PCT/CN2017/117567
Other languages
French (fr)
Chinese (zh)
Inventor
孙春阳
Original Assignee
纳恩博(北京)科技有限公司
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 纳恩博(北京)科技有限公司 filed Critical 纳恩博(北京)科技有限公司
Publication of WO2018121385A1 publication Critical patent/WO2018121385A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to an information processing method, apparatus, and computer storage medium.
  • the automatic photographing technology is often only a time-lapse shooting, which requires the user to first set the camera parameters, such as the finder frame, the focus of the camera, etc., but in many scenes, such as when the camera is moving, or needs to be reflected in real time, Existing automatic camera technology cannot be satisfied.
  • the embodiment of the invention provides an information processing method, a device and a computer storage medium, which can solve the technical problem that the automatic photographing technology is not intelligent enough.
  • the embodiment of the present application provides an information processing method, which is applied to an electronic device, where the electronic device includes a camera, the method includes: obtaining a first imaging area of the camera, where the first imaging area includes a center range; Determining, by the first imaging area, first information that can be recognized by the camera; determining whether the first information includes gesture information; determining that the first information includes gesture information, determining second position information of the gesture information; adjusting The shooting posture of the camera is such that the second position information is located within the center range.
  • the method further includes: determining whether the first information does not include gesture information, determining whether the first information includes face information; determining that the first information includes face information, determining the location Determining first position information of the face information; adjusting a shooting posture of the camera such that the first position information is located within the center range.
  • the method further includes: determining whether the first information includes first gesture information and second gesture information, wherein the first gesture information has third location information, the second hand The potential information has fourth location information; after determining that the first information includes the first gesture information and the second gesture information, obtaining fifth location information according to the third location information and the fourth location information; adjusting the The shooting posture of the camera is such that the fifth position information is located within the center range.
  • the method further includes: determining whether the fourth location information is in the center range; determining that the fourth location information is not in the center range, sending a first instruction, where the first The instruction is to notify the user to adjust the distance between the fourth location information and the fifth location information such that the fourth location information is located within the central range.
  • the method further includes: determining whether the first information includes first face information and second face information, where the first The face information has first area information and sixth position information; the second face information has second area information and seventh position information; determining that the first information includes first face information and second face information Determining, according to the first area information and the second area information, third area information; when the third area information is greater than a predetermined first threshold, adjusting a shooting posture of the camera to make the sixth position
  • the information or the seventh location information is located within the central range.
  • the method further includes: when the third area information is less than a predetermined second threshold, obtaining eighth position information according to the sixth position information and the seventh position information; by controlling the shooting posture The adjusting device adjusts a shooting posture of the camera such that the eighth position information is located within the center range.
  • the method further includes: determining whether the sixth location information is in the center range; and determining that the sixth location information is not in the center range, sending a second instruction, where The second instruction is to notify the user to adjust the distance between the sixth location information and the seventh location information, so that the sixth location information is located in the center range.
  • the embodiment of the present application further provides an information processing apparatus, which is applied to an electronic device, where the electronic device includes a camera; the device includes: a first obtaining unit configured to obtain a first imaging area of the camera, the first An imaging area includes a central range; a first determining unit configured to determine first information that the camera can recognize according to the first imaging area obtained by the first obtaining unit; and a fourth determining unit configured to determine the Whether the first information includes the gesture information, and the fifth determining unit is configured to: after the fourth determining unit determines that the first information includes the gesture information, determine second location information of the gesture information; In order to adjust the shooting attitude of the camera, the second position information is located within the center range.
  • the device further includes: a second determining unit, configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes face information; a third determining unit, configured to: after the second determining unit determines that the first information includes face information, determine first location information of the face information; and the adjusting unit is further configured to adjust the camera The shooting posture is such that the first position information is located within the center range.
  • the apparatus further includes: a sixth determining unit, configured to determine whether the first information includes first gesture information and second gesture information, wherein the first gesture information has a third location Information, the second gesture information has fourth location information, and the second obtaining unit is configured to: after the sixth determining unit determines that the first information includes the first gesture information and the second gesture information, The third position information and the fourth position information obtain the fifth position information; and the third adjusting unit is configured to adjust the shooting posture of the camera such that the fifth position information is located in the center range.
  • a sixth determining unit configured to determine whether the first information includes first gesture information and second gesture information, wherein the first gesture information has a third location Information, the second gesture information has fourth location information, and the second obtaining unit is configured to: after the sixth determining unit determines that the first information includes the first gesture information and the second gesture information, The third position information and the fourth position information obtain the fifth position information; and the third adjusting unit is configured to adjust the shooting posture of the camera such that the fifth position information is located in the center range.
  • the apparatus further includes: a first determining unit configured to determine whether the fourth location information is in the center range; the first instruction unit is configured to determine, when the first determining unit determines After the fourth location information is not in the central range, the first instruction is sent, the first instruction is to notify the user to adjust a distance between the fourth location information and the fifth location information, so that the fourth location information is Located within the center of the area.
  • a first determining unit configured to determine whether the fourth location information is in the center range
  • the first instruction unit is configured to determine, when the first determining unit determines After the fourth location information is not in the central range, the first instruction is sent, the first instruction is to notify the user to adjust a distance between the fourth location information and the fifth location information, so that the fourth location information is Located within the center of the area.
  • the device further includes: a sixth determining unit, configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes the first human face Information and second face information, wherein the first face information has first area information and sixth position information; the second face information has second area information and seventh position information; seventh determining unit After the sixth determining unit determines that the first information includes the first face information and the second face information, determining third area information according to the first area information and the second area information; Identifying whether the third area information is greater than a predetermined first threshold; the adjusting unit is further configured to adjust the shooting of the camera when the seventh determining unit recognizes that the third area information is greater than a predetermined first threshold The gesture is such that the sixth location information or the seventh location information is located within the central range.
  • the device further includes: a third obtaining unit, wherein the seventh determining unit is further configured to: identify whether the third area information is less than a predetermined second threshold; the third obtaining unit is configured to And when the seventh determining unit identifies that the third area information is smaller than a predetermined second threshold, obtaining eighth position information according to the sixth position information and the seventh position information; and the adjusting unit is configured to adjust the The shooting posture of the camera is such that the eighth position information is located within the center range.
  • the apparatus further includes: a second determining unit configured to determine whether the sixth location information is within the central range; and a second instruction unit configured to determine, by the second determining unit After the sixth location information is not in the center range, sending a second instruction, the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location information is Located within the center of the area.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information processing method according to the embodiment of the invention.
  • Embodiments of the present invention also provide an information processing apparatus including: a processor and a memory for storing a computer program executable on a processor, wherein the processor is configured to execute the present invention when the computer program is executed The steps of the method described in the examples.
  • the information processing method and apparatus and the computer storage medium provided by the embodiments of the present application are applied to an electronic device, and the electronic device includes a camera.
  • the electronic device includes a camera.
  • the problem has the technical effect of being able to automatically adjust the shooting parameters according to the user's instructions and the user's actual situation.
  • FIG. 1 is a flowchart of an information processing method according to an embodiment of the present application
  • FIG. 2 is a flowchart of still another information processing method according to an embodiment of the present application.
  • FIG. 3 is a flowchart of another information processing method according to an embodiment of the present application.
  • FIG. 4 is a flowchart of still another information processing method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an information processing apparatus according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a gesture shooting situation according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a face shooting situation according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a multi-gesture shooting situation according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of still another multi-gesture shooting situation according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a multi-face shooting situation according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of still another multi-face shooting situation according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of still another multi-face shooting situation according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of hardware components of an information processing apparatus according to an embodiment of the present disclosure.
  • 1-first imaging area 2-center range
  • 3-first face information 4-first gesture information
  • 5-second face information 6-second gesture information.
  • FIG. 1 is a flowchart of an information processing method according to an embodiment of the present application.
  • the method is applied to an electronic device, and the electronic device may be a digital camera, a drone, a robot, a mobile phone, a tablet computer, or the like. Includes camera.
  • the method comprises:
  • Step 101 Obtain a first imaging area of the camera, where the first imaging area includes a central range.
  • the first imaging area is an imaging area that can be captured by the camera, and the center range is an ideal area of the first imaging area.
  • the size and location information of the ideal area may be customized according to the needs of the user or automatically set by the electronic device. Therefore, the center range is a sub-range of the first imaging area, and the first imaging area includes an ideal area and a non-ideal area.
  • the non-ideal area is embodied as an image capturing area that cannot effectively present the target object, such as an area that is closer to the edge, and the area can be defined as a non-ideal area because the display effect desired by the user cannot be well presented.
  • the sum of the ideal area and the non-ideal area described above constitutes the first imaging area. Among them, the ideal area and the non-ideal area can be set according to specific user settings or specific usage scenarios.
  • Step 102 Determine first information that the camera can recognize according to the first imaging area.
  • the first information is information that the camera can recognize according to the first imaging area. Since the first imaging area is an imaging area that can be captured by the camera, the first information is all information that the camera can capture.
  • the method for determining the first information may adopt an image recognition method. For example, after the camera obtains an image information, the image recognition program may be started, and specific information in the image information is obtained through an image recognition program, and specific information in the image information. That is the first information.
  • the foregoing first information may be specifically presented as two types of information, one is face information, and the other is gesture information. In the embodiment of the present application, the method for processing the face information and the gesture information achieves the technical effect of automatically adjusting the shooting parameters according to the user's instruction and the user's actual situation.
  • Step 103 Determine whether the first information includes gesture information.
  • This step determines whether the first information includes gesture information.
  • Step 104 Determine that the first information includes gesture information, and determine second location information of the gesture information.
  • the location information of the gesture information that is, the second location information, where the second location information specifically refers to the location information in the first imaging area. Wherein the second location information is different from the first location information.
  • the face information and the gesture information included in the first information may be determined, and the first location information of the face information and the second location information of the gesture information are determined according to the face information and the gesture information, and the obtained information can be obtained. It is based on face information, or based on gesture information to lay the foundation for the adjustment of the camera's shooting posture.
  • Step 105 Adjust a shooting posture of the camera such that the second position information is located in the center range.
  • the embodiment of the present application sets the priority of the gesture information to be higher than the face information, and by determining that the first information includes the gesture information, adjusting the camera regardless of whether the first information includes face information.
  • the posture is such that the second position information is located within the center range, that is, the second position information is adjusted into an ideal area, thereby realizing automatic adjustment of the shooting parameter to adjust the gesture information to an ideal area for shooting.
  • the adjusting the posture of the camera may be adjusting a shooting angle of the camera or the like.
  • the electronic device may include a shooting attitude adjusting device for adjusting a shooting posture of the camera.
  • the shooting attitude adjusting device may be a sports chassis, a flying wing, a robot or a head mounted on a drone, or the like.
  • the first imaging area 1 includes the center range 2, and when the camera is not adjusted, when the face information and the gesture information are captured in the first imaging area 1, the gesture information is prioritized, and the parameter information of the camera is adjusted. Thereafter, the gesture information is placed within the center range 2.
  • the method provided by the embodiment of the present application solves the technical problem that the automatic photographing technology is not intelligent enough in the prior art, and has the technical effect of being able to automatically adjust the shooting parameters according to the user's instruction and the user's actual situation.
  • the method further includes: determining whether the first information does not include gesture information, determining whether the first information includes face information; determining that the first information includes face information, determining the location Determining first position information of the face information; adjusting a shooting posture of the camera such that the first position information is located within the center range. Therefore, when there is no gesture information, the face position is automatically adjusted to an ideal area of the first imaging area, and the technical effect is automatically adjusted by automatically adjusting the shooting parameters according to the actual situation of the user.
  • the first information may include gesture information, face information, and the like of the user. After determining that the first information includes the face information, determining location information of the face information, that is, first location information, where the first location information specifically refers to location information in the first imaging area.
  • the priority of the gesture information is set to be higher than the face information. If the first information does not include the gesture information, the shooting posture of the camera is adjusted, so that the first location information of the face information is ideal. The area, thus realizing that when there is only face information without gesture information, the shooting parameters are automatically adjusted to adjust the face information to the ideal area.
  • a schematic diagram of a face shooting situation is included in the first imaging area 1 .
  • the camera is not adjusted, only the face is captured in the first imaging area 1 .
  • the face information is placed in the center range 2 after the parameter information of the camera is adjusted.
  • the embodiment of the present application provides another information processing method, where the method can be used to place multiple gesture information in an ideal area when there is multiple gesture information.
  • the method includes:
  • Step 201 Determine whether the first information includes first gesture information and second gesture information, where the first gesture information has third location information, and the second gesture information has fourth location information.
  • the step determines whether the first information includes the first gesture information and the second gesture information. In order to put both the first gesture information and the second gesture information into an ideal area, it is also required to determine location information of the first gesture information and the second gesture information.
  • the location information of the first gesture information is third location information, and the location information of the second gesture information is fourth location information.
  • Step 202 After determining that the first information includes the first gesture information and the second gesture information, obtain the fifth location information according to the third location information and the fourth location information.
  • a new location information that is, a fifth location
  • the location of the fifth location information may be an intermediate location of the location corresponding to the third location information and the location corresponding to the fourth location information.
  • Step 203 Adjust a shooting posture of the camera such that the fifth position information is located in the center range.
  • the shooting position of the camera is adjusted such that the fifth position information is within the center range, and the third position information and the fourth position information may both be in an ideal area.
  • the method provided by the embodiment of the present application realizes automatically placing a plurality of gesture position information in an ideal area of the imaging area, and has the technical effect of being able to automatically adjust the shooting parameters according to the user's instruction and the user's actual situation.
  • the information captured in the first imaging area 1 has the first gesture information 4 and the second gesture information 6.
  • the electronic device determines a new location information according to the location information of the first gesture information 4 and the second gesture information 6, and adjusts a shooting posture of the camera to cause the camera to capture the new location information, thereby implementing
  • the first gesture information 4 and the second gesture information 6 are both located in the center range 2, that is, in an ideal area.
  • the gesture information in the non-ideal area may be adjusted to an ideal area by the following method:
  • Determining whether the fourth location information is in the center range after determining that the fourth location information is not in the center range, sending a first instruction, the first instruction is to notify a user to adjust the fourth location information And a distance between the fifth location information such that the fourth location information is located within the central range.
  • the electronic device automatically sends a first instruction, where the first instruction may be presented in the form of a voice, and the content of the first instruction may be to notify the user to bring the gesture closer to a point in order to adjust The distance between the fourth location information and the fifth location information is even if the distance between the first gesture and the second gesture is close to adjust the fourth location information into the ideal region. For example, the electronic device sends a "please close to a little" voice to inform the user to bring the gesture closer.
  • the electronic device automatically notifies the user to adjust the distance, so that the gesture that is not in the ideal area is adjusted to the ideal area, and has the ability to be according to the user's instruction and the user.
  • the actual situation is analyzed and the technical effect of the shooting parameters is automatically adjusted.
  • FIG. 1 Another schematic diagram of a multi-gesture shooting situation as shown in FIG.
  • the camera captures the first gesture information 4 and the second gesture information 6.
  • the first gesture information 4 is not in the center range 2, and the second gesture information 6 is in the center range 2.
  • the electronic device sends a first instruction to notify the user to adjust the distance between the first gesture information 4 and the second gesture information 6. After the user adjusts, the first gesture information 4 and the second gesture information 6 are both located in the center range 2.
  • the embodiment of the present application provides another information processing.
  • Step 301 Determine whether the first information includes first face information and second face information, where the first face information has first area information and sixth position information; the second face information There are second area information and seventh position information.
  • the face information When the first information does not include gesture information, the face information is used as a shooting center. Therefore, it is required to determine whether the first face information and the second face information are included in the first information.
  • the first face information and the second face information respectively have area size and position information of the respective faces.
  • the first face information has first area information and sixth position information; the second face information has second area information and seventh position information.
  • Step 302 After determining that the first information includes the first face information and the second face information, determining third area information according to the first area information and the second area information.
  • the camera takes a picture centering on the face having a larger area.
  • the one having the larger area among the first area information and the second area information is the third area information.
  • Step 303 When the third area information is greater than a predetermined first threshold, adjust a shooting attitude of the camera such that the sixth location information or the seventh location information is located in the center range.
  • the first threshold is predetermined in the electronic device, and when the third area information is greater than the first threshold, the face corresponding to the third area information is considered to be a large face. Then, the shooting attitude adjusting device is controlled to adjust a shooting posture of the camera such that the large face is located in the center range, that is, in an ideal area. Since the large face corresponds to the third area information, the third area information may correspond to any one of the first area information or the second area information. Therefore, the location information corresponding to the large face may be any one of the sixth location information or the seventh location information. Therefore, when there are multiple faces, the automatic shooting is performed centering on the larger face, and the technical effect of automatically adjusting the shooting parameters after analyzing according to the actual situation of the user is realized.
  • FIG. 1 a schematic diagram of a multi-face shooting situation as shown in FIG.
  • the first face information 3 and the second face information 5 are captured in the first imaging area 1 , wherein after the first face value is compared with the predetermined first threshold, the first face information 3 is determined to be a large face.
  • the camera automatically adjusts the parameters such that the first face information 3 is located within the center range 2.
  • the embodiment of the present application provides another information processing method:
  • Step 401 When the third area information is less than a predetermined second threshold, obtain the eighth location information according to the sixth location information and the seventh location information.
  • the smaller one of the first face area information and the second face area information is the third area information.
  • a second threshold is predetermined in the electronic device, and when the third area information is smaller than the second threshold, all faces are considered to be small faces. Then put all the faces in the ideal area. Therefore, determining a new location information, that is, the eighth location information, according to the location information of the first face information and the second face information, as an implementation manner, the location of the eighth location information may be the sixth
  • the position information corresponds to an intermediate position of the position and the position corresponding to the seventh position information.
  • Step 402 Adjust a shooting posture of the camera such that the eighth position information is located in the center range.
  • the eighth position information After determining the eighth position information, adjusting the shooting posture of the camera such that the eighth position information is located in the center range, that is, the geometric center of the ideal area, the sixth position information and the The seventh position information is in the ideal area, that is, all the faces are located in the ideal area.
  • the method provided by the embodiment of the present invention realizes that when there are no obvious large faces in a plurality of faces, the automatic shooting is performed centering on the center of all the faces, and the technical effect of automatically adjusting the shooting parameters according to the actual situation of the user is analyzed.
  • FIG. 1 Another schematic diagram of a multi-face shooting situation as shown in FIG.
  • the first face information 3 and the second face information 5 are captured in the first imaging area 1, wherein the first face information 3 and the second face are determined after being compared with a predetermined second threshold. If the information 5 is smaller than the second threshold, it is considered that there is no obvious big face, and the camera automatically adjusts the parameters, so that the first face information 3 and the second face information 5 are both located in the center range 2.
  • the face information in the non-ideal area can be adjusted to the ideal by the following method. region:
  • Determining whether the sixth location information is in the center range determining that the sixth location information is not in the center range, sending a second instruction, the second instruction is to notify the user to adjust the sixth location information And a distance between the seventh location information such that the sixth location information is located within the central range.
  • the electronic device automatically sends a second instruction, where the second instruction may be presented in the form of a voice, and the content of the second instruction may be to notify the user to bring the face closer to adjust The distance between the sixth position information and the seventh position information is even if the distance between the first face and the second face is close to adjust the sixth position information into the ideal area.
  • the method provided by the embodiment of the present application realizes that when there are multiple face information, if some faces are not in the ideal area, the electronic device automatically notifies the user to adjust the distance, so that the face not in the ideal area is adjusted to the ideal area.
  • FIG. 1 a schematic diagram of another multi-face shooting situation as shown in FIG.
  • the camera captures the first face information 3 and the second face information 5.
  • the first face information 3 is not in the center range 2, and the second face information 5 is in the center range 2.
  • the electronic device issues a first instruction to notify the user to adjust the distance between the first face information 3 and the second face information 5.
  • the first face information 3 and the second face information 5 are both located in the center range 2.
  • the embodiment of the present application further provides an information processing apparatus, which is applied to an electronic device, where the electronic device includes a camera; as shown in FIG. 5, the device includes:
  • the first obtaining unit 11 is configured to obtain a first imaging area of the camera, where the first imaging area includes a central range;
  • the first determining unit 12 is configured to determine, according to the first imaging area obtained by the first obtaining unit 11, the first information that the camera can recognize;
  • the fourth determining unit 13 is configured to determine whether the first information includes gesture information
  • a fifth determining unit 14 configured to determine second location information of the gesture information after the fourth determining unit 15 determines that the first information includes gesture information
  • the adjusting unit 15 is configured to adjust a shooting attitude of the camera such that the second position information is located within the center range.
  • the apparatus further includes:
  • a second determining unit configured to determine, when the fourth determining unit 13 does not include the gesture information, whether the first information includes face information
  • a third determining unit configured to: after the second determining unit determines that the first information includes face information, determine first location information of the face information;
  • the adjusting unit 15 is further configured to: after the fourth determining unit 13 determines that the first information does not include gesture information, adjust a shooting posture of the camera, so that the first location information is located in the center range .
  • the apparatus further includes:
  • a sixth determining unit configured to determine whether the first information includes first gesture information and second gesture information, where the first gesture information has third location information, and the second gesture information has a fourth location information;
  • a second obtaining unit configured to: after the sixth determining unit determines that the first information includes the first gesture information and the second gesture information, obtain a fifth according to the third location information and the fourth location information location information;
  • the adjusting unit 15 is configured to adjust a shooting posture of the camera such that the fifth position information is located in the center range.
  • the apparatus further includes:
  • a first determining unit configured to determine whether the fourth location information is in the center range
  • a first instruction unit configured to: when the first determining unit determines that the fourth location information is not in the center range, send a first instruction, where the first instruction is to notify a user to adjust the fourth location information and The distance between the fifth location information is such that the fourth location information is located within the central range.
  • the apparatus further includes:
  • a sixth determining unit configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes first face information and second face information, where The first face information has first area information and sixth position information; the second face information has second area information and seventh position information;
  • a seventh determining unit configured to determine, according to the first area information and the second area information, after the sixth determining unit determines that the first information includes the first face information and the second face information Three area information; identifying whether the third area information is greater than a predetermined first threshold;
  • the adjusting unit 15 is further configured to: when the seventh determining unit recognizes that the third area information is greater than a predetermined first threshold, adjust a shooting posture of the camera, so that the sixth position information or the first Seven location information is located within the center range.
  • the device further includes: a third obtaining unit;
  • the seventh determining unit is further configured to identify whether the third area information is smaller than a predetermined second threshold
  • the third obtaining unit is configured to: when the seventh determining unit identifies that the third area information is smaller than a predetermined second threshold, obtain the eighth location information according to the sixth location information and the seventh location information;
  • the adjusting unit 15 is further configured to adjust a shooting posture of the camera such that the eighth position information is located in the center range.
  • the apparatus further includes:
  • a second determining unit configured to determine whether the sixth location information is in the center range
  • a second instruction unit configured to: when the second determining unit determines that the sixth location information is not in the center range, send a second instruction, where the second instruction is to notify a user to adjust the sixth location information and The distance between the seven location information is such that the sixth location information is within the central range.
  • the information processing apparatus provided in the above embodiment is exemplified by the division of each of the above-mentioned program modules. In actual application, the processing allocation may be completed by different program modules as needed. The internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the information processing apparatus and the information processing method embodiment provided in the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • the unit, the second obtaining unit, the first determining unit, the seventh determining unit, the third obtaining unit, the second determining unit and the adjusting unit 15 can be used by a central processing unit (CPU) and a digital signal in practical applications.
  • CPU central processing unit
  • a DSP Digital Signal Processor
  • MCU Microcontroller Unit
  • FPGA Field-Programmable Gate Array
  • the first instruction unit and the second instruction unit in the apparatus can be realized through communication modules (including: basic communication suite, operating system, communication module, standardized interface and protocol, etc.) and transceiver antennas.
  • FIG. 13 is a schematic structural diagram of hardware components of an information processing apparatus according to an embodiment of the present invention
  • the information processing apparatus includes: a processor 51 and is configured to: Storing a memory 52 of a computer program executable on the processor 51, wherein the processor 51 is configured to: when the computer program is executed, obtain a first imaging area of the camera, the first imaging area comprising Determining, according to the first imaging area, first information that can be recognized by the camera, determining whether the first information includes gesture information, and determining that the first information includes gesture information, determining that the gesture information is Two position information; adjusting a shooting posture of the camera such that the second position information is located within the center range.
  • the processor 51 when the processor 51 is configured to run the computer program, determining that the first information does not include gesture information, determining whether the first information includes face information; After the information includes the face information, the first position information of the face information is determined; and the shooting posture of the camera is adjusted such that the first position information is located within the center range.
  • the processor 51 is configured to: when the computer program is executed, determine whether the first information includes first gesture information and second gesture information, where the first gesture information has The third location information, the second gesture information has fourth location information; after determining that the first information includes the first gesture information and the second gesture information, according to the third location information and the fourth location The information obtains the fifth position information; adjusting the shooting posture of the camera such that the fifth position information is located within the center range.
  • the processor 51 when the processor 51 is configured to run the computer program, perform: determining whether the fourth location information is within the center range; determining that the fourth location information is not in the center range Afterwards, the first instruction is sent, the first instruction is to notify the user to adjust the distance between the fourth location information and the fifth location information, so that the fourth location information is located in the center range.
  • the processor 51 when the processor 51 is configured to run the computer program, determining that the first information does not include the gesture information, determining whether the first information includes the first face information and the second The face information, wherein the first face information has first area information and sixth position information; the second face information has second area information and seventh position information; determining that the first information includes After the face information and the second face information, determining the third area information according to the first area information and the second area information; and adjusting the camera when the third area information is greater than a predetermined first threshold
  • the shooting posture is such that the sixth position information or the seventh position information is located within the center range.
  • the processor 51 when the processor 51 is configured to run the computer program, when the third area information is less than a predetermined second threshold, obtaining, according to the sixth location information and the seventh location information, Eight position information; adjusting the shooting posture of the camera by controlling the shooting posture adjusting device such that the eighth position information is located within the center range.
  • the processor 51 when the processor 51 is configured to run the computer program, it is executed to: determine whether the sixth location information is in the center range; and determine that the sixth location information is not in the center range And transmitting a second instruction, the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location information is located in the center range.
  • the information processing apparatus further includes a communication interface 53 and a bus system 54, and the various components in the information processing apparatus are coupled together by the bus system 54.
  • bus system 54 is used to implement connection communication between these components.
  • the bus system 54 includes, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 54 in FIG.
  • memory 52 can be either volatile memory or non-volatile memory, as well as both volatile and non-volatile memory.
  • the non-volatile memory may be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), or an Erasable Programmable Read (EPROM). Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface memory can be a disk storage or a tape storage.
  • the volatile memory can be a random access memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • SSRAM Dynamic Random Access
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhancement Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Dynamic Random Access Memory
  • DRRAM Direct Memory Bus Random Access Memory
  • Processor 51 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 51 or an instruction in a form of software.
  • the processor 51 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like.
  • the processor 51 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present invention.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can reside in a storage medium located in memory 52, and processor 51 reads the information in memory 52 in conjunction with its hardware to perform the steps of the foregoing method.
  • Embodiments of the present invention also provide a computer storage medium, such as a memory 52 including a computer program that can be executed by processor 51 of the information processing apparatus to perform the steps described in the foregoing methods.
  • the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
  • the computer storage medium provided by the embodiment of the present invention has a computer program stored thereon, and when the computer program is executed by the processor, performing: obtaining a first imaging area of the camera, where the first imaging area includes a central range; Determining, by the first imaging area, first information that can be recognized by the camera, determining whether the first information includes gesture information, determining that the first information includes gesture information, determining second position information of the gesture information, and adjusting The shooting posture of the camera is such that the second position information is located within the center range.
  • the computer program when executed by the processor, performing: determining that the first information does not include the gesture information, determining whether the first information includes face information; determining that the first information includes a face After the information, the first location information of the face information is determined; and the shooting posture of the camera is adjusted such that the first location information is located in the center range.
  • the computer program when executed by the processor, performing: determining whether the first information includes first gesture information and second gesture information, wherein the first gesture information has third location information, The second gesture information has fourth location information; after determining that the first information includes the first gesture information and the second gesture information, obtaining the fifth location according to the third location information and the fourth location information Information; adjusting a shooting posture of the camera such that the fifth position information is located within the center range.
  • the computer program when executed by the processor, performing: determining whether the fourth location information is in the center range; and determining that the fourth location information is not in the center range, sending the first The first instruction is to notify the user to adjust a distance between the fourth location information and the fifth location information, so that the fourth location information is located in the center range.
  • determining that the first information does not include the gesture information determining whether the first information includes the first face information and the second face information, wherein The first face information has first area information and sixth position information; the second face information has second area information and seventh position information; determining that the first information includes first face information and After the second face information, determining third area information according to the first area information and the second area information; and when the third area information is greater than a predetermined first threshold, adjusting a shooting posture of the camera, so that The sixth location information or the seventh location information is located within the central range.
  • the computer program when executed by the processor, performing: when the third area information is less than a predetermined second threshold, obtaining the eighth location information according to the sixth location information and the seventh location information;
  • the shooting attitude adjusting device is controlled to adjust a shooting posture of the camera such that the eighth position information is located within the center range.
  • the computer program when executed by the processor, performing: determining whether the sixth location information is in the center range; determining that the sixth location information is not in the center range, sending a second instruction And the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location information is located in the center range.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the technical solution of the embodiment of the present invention obtains a first imaging area of the camera, the first imaging area includes a center range, and determines first information that the camera can recognize according to the first imaging area; Whether the gesture information is included in a message; if the gesture information is included, the second location information of the gesture information is determined; and the second location information is located in the center range by adjusting the shooting posture of the camera, thereby solving
  • the technical problem that the automatic photographing technology is not intelligent enough has the technical effect of being able to automatically adjust the shooting parameters according to the user's instructions and the user's actual situation.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Analysis (AREA)

Abstract

Disclosed are an information processing method and apparatus, and a computer storage medium. The method is applied to an electronic device, wherein the electronic device comprises a camera. The method comprises: acquiring a first camera-shooting area of the camera, wherein the first camera-shooting area comprises a centre range; according to the first camera-shooting area, determining first information that can be recognised by the camera; judging whether the first information contains gesture information; after it is determined that the first information contains gesture information, determining second location information of the gesture information; and adjusting a shooting gesture of the camera so that the second location information is located in the centre range.

Description

一种信息处理方法、装置和计算机存储介质Information processing method, device and computer storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201611262898.5、申请日为2016年12月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。The present application is based on a Chinese patent application filed on Jan. 30, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种信息处理方法、装置和计算机存储介质。The present invention relates to the field of electronic technologies, and in particular, to an information processing method, apparatus, and computer storage medium.
背景技术Background technique
随着电子技术的不断发展,适用于各类应用场景的电子设备不断产生。对于摄像技术而言,自动拍照技术也日趋成熟,应用场景也越来越多,比如没有照相人员时,通过照相机的自动拍照功能可实现对所有参与者的人像拍摄。With the continuous development of electronic technology, electronic devices suitable for various application scenarios are continuously generated. For the camera technology, the automatic camera technology is also becoming more and more mature, and the application scenes are also more and more. For example, when there is no photographer, the portrait shooting of all participants can be realized by the camera's automatic photographing function.
但是,自动拍照技术往往只是延时拍摄,其需要用户先设定好摄像参数,比如取景框、拍照焦点等信息,但是,在很多场景中,比如被拍照是运动的、或者需要实时反映时,现有的自动拍照技术不能予以满足。However, the automatic photographing technology is often only a time-lapse shooting, which requires the user to first set the camera parameters, such as the finder frame, the focus of the camera, etc., but in many scenes, such as when the camera is moving, or needs to be reflected in real time, Existing automatic camera technology cannot be satisfied.
发明内容Summary of the invention
本发明实施例提供了一种信息处理方法、装置和计算机存储介质,能够解决自动拍照技术不够智能的技术问题。The embodiment of the invention provides an information processing method, a device and a computer storage medium, which can solve the technical problem that the automatic photographing technology is not intelligent enough.
本申请实施例提供一种信息处理方法,应用于电子设备,所述电子设备包括摄像头,所述方法包括:获得所述摄像头的第一摄像区域,所述第 一摄像区域包括中心范围;根据所述第一摄像区域确定所述摄像头能识别的第一信息;判断所述第一信息是否包括手势信息;判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。The embodiment of the present application provides an information processing method, which is applied to an electronic device, where the electronic device includes a camera, the method includes: obtaining a first imaging area of the camera, where the first imaging area includes a center range; Determining, by the first imaging area, first information that can be recognized by the camera; determining whether the first information includes gesture information; determining that the first information includes gesture information, determining second position information of the gesture information; adjusting The shooting posture of the camera is such that the second position information is located within the center range.
在一实施例中,所述方法还包括:判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。In an embodiment, the method further includes: determining whether the first information does not include gesture information, determining whether the first information includes face information; determining that the first information includes face information, determining the location Determining first position information of the face information; adjusting a shooting posture of the camera such that the first position information is located within the center range.
在一实施例中,所述方法还包括:判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。In an embodiment, the method further includes: determining whether the first information includes first gesture information and second gesture information, wherein the first gesture information has third location information, the second hand The potential information has fourth location information; after determining that the first information includes the first gesture information and the second gesture information, obtaining fifth location information according to the third location information and the fourth location information; adjusting the The shooting posture of the camera is such that the fifth position information is located within the center range.
在一实施例中,所述方法还包括:判断所述第四位置信息是否在所述中心范围内;判定所述第四位置信息不在所述中心范围后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。In an embodiment, the method further includes: determining whether the fourth location information is in the center range; determining that the fourth location information is not in the center range, sending a first instruction, where the first The instruction is to notify the user to adjust the distance between the fourth location information and the fifth location information such that the fourth location information is located within the central range.
在一实施例中,判定所述第一信息不包括手势信息之后,所述方法还包括:判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;当所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。In an embodiment, after determining that the first information does not include the gesture information, the method further includes: determining whether the first information includes first face information and second face information, where the first The face information has first area information and sixth position information; the second face information has second area information and seventh position information; determining that the first information includes first face information and second face information Determining, according to the first area information and the second area information, third area information; when the third area information is greater than a predetermined first threshold, adjusting a shooting posture of the camera to make the sixth position The information or the seventh location information is located within the central range.
在一实施例中,所述方法还包括:当所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;通过控制所述拍摄姿态调整装置调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内。In an embodiment, the method further includes: when the third area information is less than a predetermined second threshold, obtaining eighth position information according to the sixth position information and the seventh position information; by controlling the shooting posture The adjusting device adjusts a shooting posture of the camera such that the eighth position information is located within the center range.
在一实施例中,所述方法还包括:判断所述第六位置信息是否在所述中心范围内;判定所述第六位置信息不在所述中心范围内后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。In an embodiment, the method further includes: determining whether the sixth location information is in the center range; and determining that the sixth location information is not in the center range, sending a second instruction, where The second instruction is to notify the user to adjust the distance between the sixth location information and the seventh location information, so that the sixth location information is located in the center range.
本申请实施例还提供一种信息处理装置,应用于电子设备中,所述电子设备包括摄像头;所述装置包括:第一获得单元,配置为获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;第一确定单元,配置为根据所述第一获得单元获得的所述第一摄像区域确定所述摄像头能识别的第一信息;第四确定单元,配置为判断所述第一信息是否包括手势信息;第五确定单元,配置为当所述第四确定单元判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;第一调整单元,配置为调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。The embodiment of the present application further provides an information processing apparatus, which is applied to an electronic device, where the electronic device includes a camera; the device includes: a first obtaining unit configured to obtain a first imaging area of the camera, the first An imaging area includes a central range; a first determining unit configured to determine first information that the camera can recognize according to the first imaging area obtained by the first obtaining unit; and a fourth determining unit configured to determine the Whether the first information includes the gesture information, and the fifth determining unit is configured to: after the fourth determining unit determines that the first information includes the gesture information, determine second location information of the gesture information; In order to adjust the shooting attitude of the camera, the second position information is located within the center range.
在一实施例中,所述装置还包括:第二确定单元,配置为当所述第四确定单元判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;第三确定单元,配置为当所述第二确定单元判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;所述调整单元,还配置为调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。In an embodiment, the device further includes: a second determining unit, configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes face information; a third determining unit, configured to: after the second determining unit determines that the first information includes face information, determine first location information of the face information; and the adjusting unit is further configured to adjust the camera The shooting posture is such that the first position information is located within the center range.
在一实施例中,所述装置还包括:第六确定单元,配置为判定所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;第二获得单元, 配置为当所述第六确定单元判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;第三调整单元,配置为调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。In an embodiment, the apparatus further includes: a sixth determining unit, configured to determine whether the first information includes first gesture information and second gesture information, wherein the first gesture information has a third location Information, the second gesture information has fourth location information, and the second obtaining unit is configured to: after the sixth determining unit determines that the first information includes the first gesture information and the second gesture information, The third position information and the fourth position information obtain the fifth position information; and the third adjusting unit is configured to adjust the shooting posture of the camera such that the fifth position information is located in the center range.
在一实施例中,所述装置还包括:第一判断单元,配置为判断所述第四位置信息是否在所述中心范围内;第一指令单元,配置为当所述第一判断单元判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。In an embodiment, the apparatus further includes: a first determining unit configured to determine whether the fourth location information is in the center range; the first instruction unit is configured to determine, when the first determining unit determines After the fourth location information is not in the central range, the first instruction is sent, the first instruction is to notify the user to adjust a distance between the fourth location information and the fifth location information, so that the fourth location information is Located within the center of the area.
在一实施例中,所述装置还包括:第六确定单元,配置为当所述第四确定单元判定所述第一信息不包括手势信息后,判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;第七确定单元,配置为当所述第六确定单元判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;识别所述第三面积信息是否大于预定第一阈值;所述调整单元,还配置为当所述第七确定单元识别出所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。In an embodiment, the device further includes: a sixth determining unit, configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes the first human face Information and second face information, wherein the first face information has first area information and sixth position information; the second face information has second area information and seventh position information; seventh determining unit After the sixth determining unit determines that the first information includes the first face information and the second face information, determining third area information according to the first area information and the second area information; Identifying whether the third area information is greater than a predetermined first threshold; the adjusting unit is further configured to adjust the shooting of the camera when the seventh determining unit recognizes that the third area information is greater than a predetermined first threshold The gesture is such that the sixth location information or the seventh location information is located within the central range.
在一实施例中,所述装置还包括:第三获得单元,所述第七确定单元,还用于识别所述第三面积信息是否小于预定第二阈值;所述第三获得单元,配置为当所述第七确定单元识别出所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;所述调整单元,配置为调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内。In an embodiment, the device further includes: a third obtaining unit, wherein the seventh determining unit is further configured to: identify whether the third area information is less than a predetermined second threshold; the third obtaining unit is configured to And when the seventh determining unit identifies that the third area information is smaller than a predetermined second threshold, obtaining eighth position information according to the sixth position information and the seventh position information; and the adjusting unit is configured to adjust the The shooting posture of the camera is such that the eighth position information is located within the center range.
在一实施例中,所述装置还包括:第二判断单元,配置为判断所述第六位置信息是否在所述中心范围内;第二指令单元,配置为当所述第二判断单元判定所述第六位置信息不在所述中心范围内后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。In an embodiment, the apparatus further includes: a second determining unit configured to determine whether the sixth location information is within the central range; and a second instruction unit configured to determine, by the second determining unit After the sixth location information is not in the center range, sending a second instruction, the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location information is Located within the center of the area.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的信息处理方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information processing method according to the embodiment of the invention.
本发明实施例还提供了一种信息处理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行本发明实施例所述方法的步骤。Embodiments of the present invention also provide an information processing apparatus including: a processor and a memory for storing a computer program executable on a processor, wherein the processor is configured to execute the present invention when the computer program is executed The steps of the method described in the examples.
本申请实施例提供的信息处理方法、装置和计算机存储介质,所述方法应用于电子设备,所述电子设备包括摄像头。通过获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;根据所述第一摄像区域确定所述摄像头能识别的第一信息;判断所述第一信息内是否包括手势信息;若包括手势信息,确定所述手势信息的第二位置信息;通过调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内,从而解决了自动拍照技术不够智能的技术问题,具有能够根据用户的指令以及用户的现实情况予以分析后自动调整拍摄参数的技术效果。The information processing method and apparatus and the computer storage medium provided by the embodiments of the present application are applied to an electronic device, and the electronic device includes a camera. Obtaining a first imaging area of the camera, the first imaging area includes a center range; determining first information that the camera can recognize according to the first imaging area; determining whether the first information includes gesture information If the gesture information is included, the second location information of the gesture information is determined; and the second location information is located in the center range by adjusting the shooting posture of the camera, thereby solving the problem that the automatic camera technology is not intelligent enough. The problem has the technical effect of being able to automatically adjust the shooting parameters according to the user's instructions and the user's actual situation.
附图说明DRAWINGS
图1为本申请实施例提供的一种信息处理方法流程图;FIG. 1 is a flowchart of an information processing method according to an embodiment of the present application;
图2为本申请实施例提供的又一种信息处理方法流程图;2 is a flowchart of still another information processing method according to an embodiment of the present application;
图3为本申请实施例提供的另一种信息处理方法流程图;FIG. 3 is a flowchart of another information processing method according to an embodiment of the present application;
图4为本申请实施例提供的再一种信息处理方法流程图;FIG. 4 is a flowchart of still another information processing method according to an embodiment of the present application;
图5为本申请实施例提供的一种信息处理装置示意图;FIG. 5 is a schematic diagram of an information processing apparatus according to an embodiment of the present application;
图6为本申请实施例提供的一种手势拍摄情况示意图;FIG. 6 is a schematic diagram of a gesture shooting situation according to an embodiment of the present application;
图7为本申请实施例提供的一种人脸拍摄情况示意图;FIG. 7 is a schematic diagram of a face shooting situation according to an embodiment of the present application; FIG.
图8为本申请实施例提供的一种多手势拍摄情况示意图;FIG. 8 is a schematic diagram of a multi-gesture shooting situation according to an embodiment of the present application; FIG.
图9为本申请实施例提供的又一种多手势拍摄情况示意图;FIG. 9 is a schematic diagram of still another multi-gesture shooting situation according to an embodiment of the present application; FIG.
图10为本申请实施例提供的一种多人脸拍摄情况示意图;FIG. 10 is a schematic diagram of a multi-face shooting situation according to an embodiment of the present application; FIG.
图11为本申请实施例提供的又一种多人脸拍摄情况示意图;FIG. 11 is a schematic diagram of still another multi-face shooting situation according to an embodiment of the present application; FIG.
图12为本申请实施例提供的再一种多人脸拍摄情况示意图;FIG. 12 is a schematic diagram of still another multi-face shooting situation according to an embodiment of the present application; FIG.
图13为本发明实施例提供的信息处理装置的硬件组成结构示意图;FIG. 13 is a schematic structural diagram of hardware components of an information processing apparatus according to an embodiment of the present disclosure;
图中:1-第一摄像区域,2-中心范围,3-第一人脸信息,4-第一手势信息,5-第二人脸信息,6-第二手势信息。In the figure: 1-first imaging area, 2-center range, 3-first face information, 4-first gesture information, 5-second face information, 6-second gesture information.
具体实施方式detailed description
下面通过附图以及具体实施例对本发明技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。The technical solutions of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments. It is understood that the specific features of the embodiments and the embodiments of the present application are the detailed description of the technical solutions of the present application, and are not limited to the technical solutions of the present application. In the case of no conflict, the technical features in the embodiments of the present application and the embodiments may be combined with each other.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
实施例1Example 1
图1为本申请实施例提供的一种信息处理方法流程图,所述方法应用于电子设备,所述电子设备可以是数码相机、无人机、机器人、手机、平板电脑等,所述电子设备包括摄像头。其中,所述方法包括:FIG. 1 is a flowchart of an information processing method according to an embodiment of the present application. The method is applied to an electronic device, and the electronic device may be a digital camera, a drone, a robot, a mobile phone, a tablet computer, or the like. Includes camera. Wherein the method comprises:
步骤101:获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围。Step 101: Obtain a first imaging area of the camera, where the first imaging area includes a central range.
所述第一摄像区域为所述摄像头能拍摄到的摄像区域,所述中心范围为第一摄像区域的理想区域。其中,所述理想区域的大小和位置信息可根据用户的需要进行自定义、或者由上述电子设备自动设定。因此,所述中心范围为所述第一摄像区域的子范围,所述第一摄像区域包括理想区域和非理想区域。所述非理想区域体现为不能有效呈现目标对象的摄像区域,比如距离边缘较近的区域,该区域由于不能很好的呈现用户期望的展示效果,可以定义为非理想区域。上述理想区域和非理想区域的总和构成了第一摄像区域。其中,理想区域和非理想区域可以根据具体的用户设定或者具体的使用场景设定不同的方式和比例关系。The first imaging area is an imaging area that can be captured by the camera, and the center range is an ideal area of the first imaging area. The size and location information of the ideal area may be customized according to the needs of the user or automatically set by the electronic device. Therefore, the center range is a sub-range of the first imaging area, and the first imaging area includes an ideal area and a non-ideal area. The non-ideal area is embodied as an image capturing area that cannot effectively present the target object, such as an area that is closer to the edge, and the area can be defined as a non-ideal area because the display effect desired by the user cannot be well presented. The sum of the ideal area and the non-ideal area described above constitutes the first imaging area. Among them, the ideal area and the non-ideal area can be set according to specific user settings or specific usage scenarios.
步骤102:根据所述第一摄像区域确定所述摄像头能识别的第一信息。Step 102: Determine first information that the camera can recognize according to the first imaging area.
所述第一信息为所述摄像头根据所述第一摄像区域所能识别的信息。由于所述第一摄像区域为所述摄像头能拍摄到的摄像区域,因此,所述第一信息为所述摄像头能够拍摄到的所有信息。确定第一信息的方式,可以采用图像识别的方式,比如在摄像头获得一个图像信息后,可以启动图像识别程序,通过图像识别程序获得上述图像信息中的具体信息,所述图像信息中的具体信息即为第一信息。对于本申请实施例而言,上述第一信息具体可以呈现为两类信息,一类是人脸信息,另一类是手势信息。本申请实施例通过人脸信息和手势信息的处理方法,达到具有能够根据用户的指令以及用户的现实情况予以分析后自动调整拍摄参数的技术效果的目的。The first information is information that the camera can recognize according to the first imaging area. Since the first imaging area is an imaging area that can be captured by the camera, the first information is all information that the camera can capture. The method for determining the first information may adopt an image recognition method. For example, after the camera obtains an image information, the image recognition program may be started, and specific information in the image information is obtained through an image recognition program, and specific information in the image information. That is the first information. For the embodiment of the present application, the foregoing first information may be specifically presented as two types of information, one is face information, and the other is gesture information. In the embodiment of the present application, the method for processing the face information and the gesture information achieves the technical effect of automatically adjusting the shooting parameters according to the user's instruction and the user's actual situation.
步骤103:判断所述第一信息是否包括手势信息。Step 103: Determine whether the first information includes gesture information.
本步骤即判断所述第一信息是否包括手势信息。This step determines whether the first information includes gesture information.
步骤104:判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息。Step 104: Determine that the first information includes gesture information, and determine second location information of the gesture information.
判定所述第一信息包括手势信息后,则在本步骤中确定所述手势信息的位置信息,即第二位置信息,其中所述第二位置信息具体是指在第一摄 像区域内的位置信息,其中,所述第二位置信息不同于所述第一位置信息。After determining that the first information includes the gesture information, determining the location information of the gesture information, that is, the second location information, where the second location information specifically refers to the location information in the first imaging area. Wherein the second location information is different from the first location information.
通过上述步骤可以确定第一信息中包括的人脸信息和手势信息,根据人脸信息和手势信息确定了人脸信息的第一位置信息和手势信息的第二位置信息,上述信息的获得能够为是以人脸信息为主,还是以手势信息为主进行摄像头的拍摄姿态的调整奠定了基础。Through the above steps, the face information and the gesture information included in the first information may be determined, and the first location information of the face information and the second location information of the gesture information are determined according to the face information and the gesture information, and the obtained information can be obtained. It is based on face information, or based on gesture information to lay the foundation for the adjustment of the camera's shooting posture.
步骤105:调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。Step 105: Adjust a shooting posture of the camera such that the second position information is located in the center range.
具体来说,本申请实施例设定手势信息的优先级高于人脸信息,通过确定所述第一信息包括手势信息,则无论所述第一信息是否包括人脸信息,调整所述摄像头的姿态,使所述第二位置信息位于所述中心范围内,即将所述第二位置信息调整至理想区域内,从而实现自动调整拍摄参数将手势信息调整至拍摄的理想区域。其中,所述调整所述摄像头的姿态可以是调整所述摄像头的拍摄角度等。Specifically, the embodiment of the present application sets the priority of the gesture information to be higher than the face information, and by determining that the first information includes the gesture information, adjusting the camera regardless of whether the first information includes face information. The posture is such that the second position information is located within the center range, that is, the second position information is adjusted into an ideal area, thereby realizing automatic adjustment of the shooting parameter to adjust the gesture information to an ideal area for shooting. The adjusting the posture of the camera may be adjusting a shooting angle of the camera or the like.
实际应用中,电子设备可包括拍摄姿态调整装置,所述拍摄姿态调整装置用于调整所述摄像头的拍摄姿态。所述拍摄姿态调整装置可以是运动底盘、飞行翼、机器人或无人机上架设的云台等。In an actual application, the electronic device may include a shooting attitude adjusting device for adjusting a shooting posture of the camera. The shooting attitude adjusting device may be a sports chassis, a flying wing, a robot or a head mounted on a drone, or the like.
例如,如图6所示的一种手势拍摄情况示意图,图中长方形区域表示所述第一摄像区域1,椭圆形区域表示所述中心范围2。所述第一摄像区域1包括所述中心范围2,在未调整摄像头时,所述第一摄像区域1内拍摄到有人脸信息和手势信息,则以手势信息为优先级,调整摄像头的参数信息后,使手势信息位于所述中心范围2内。For example, a schematic diagram of a gesture shooting situation as shown in FIG. 6 in which a rectangular area indicates the first imaging area 1 and an elliptical area indicates the center range 2. The first imaging area 1 includes the center range 2, and when the camera is not adjusted, when the face information and the gesture information are captured in the first imaging area 1, the gesture information is prioritized, and the parameter information of the camera is adjusted. Thereafter, the gesture information is placed within the center range 2.
本申请实施例提供的方法解决了现有技术中自动拍照技术不够智能的技术问题,具有能够根据用户的指令以及用户的现实情况予以分析后自动调整拍摄参数的技术效果。The method provided by the embodiment of the present application solves the technical problem that the automatic photographing technology is not intelligent enough in the prior art, and has the technical effect of being able to automatically adjust the shooting parameters according to the user's instruction and the user's actual situation.
在一实施例中,所述方法还包括:判定所述第一信息不包括手势信息 后,判断所述第一信息是否包括人脸信息;判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。从而实现了当没有手势信息时,自动将人脸位置调整至所述第一摄像区域的理想区域,具有根据用户的现实情况予以分析后自动调整拍摄参数,从而进行自动拍摄的技术效果。In an embodiment, the method further includes: determining whether the first information does not include gesture information, determining whether the first information includes face information; determining that the first information includes face information, determining the location Determining first position information of the face information; adjusting a shooting posture of the camera such that the first position information is located within the center range. Therefore, when there is no gesture information, the face position is automatically adjusted to an ideal area of the first imaging area, and the technical effect is automatically adjusted by automatically adjusting the shooting parameters according to the actual situation of the user.
本发明实施例中,所述第一信息可以包括用户的手势信息和人脸信息等。当确定第一信息包括人脸信息后,确定所述人脸信息的位置信息,即第一位置信息,所述第一位置信息具体是指在第一摄像区域内的位置信息。In the embodiment of the present invention, the first information may include gesture information, face information, and the like of the user. After determining that the first information includes the face information, determining location information of the face information, that is, first location information, where the first location information specifically refers to location information in the first imaging area.
本实施例设定手势信息的优先级高于人脸信息,如果所述第一信息不包括手势信息,则调整所述摄像头的拍摄姿态,以使所述人脸信息的第一位置信息位于理想区域,从而实现了当只有人脸信息而没有手势信息时,自动调整拍摄参数将人脸信息调整至理想区域内。In this embodiment, the priority of the gesture information is set to be higher than the face information. If the first information does not include the gesture information, the shooting posture of the camera is adjusted, so that the first location information of the face information is ideal. The area, thus realizing that when there is only face information without gesture information, the shooting parameters are automatically adjusted to adjust the face information to the ideal area.
例如,如图7所示的一种人脸拍摄情况示意图,所述第一摄像区域1内包括所述中心范围2,在未调整摄像头时,所述第一摄像区域1内拍摄到只有人脸信息,则调整摄像头的参数信息后,使人脸信息位于所述中心范围2内。For example, as shown in FIG. 7 , a schematic diagram of a face shooting situation is included in the first imaging area 1 . When the camera is not adjusted, only the face is captured in the first imaging area 1 . After the information is adjusted, the face information is placed in the center range 2 after the parameter information of the camera is adjusted.
如图2所示,本申请实施例提供又一种信息处理方法,所述方法可用于当有多个手势信息时,将多个手势信息都放在理想区域。所述方法包括:As shown in FIG. 2, the embodiment of the present application provides another information processing method, where the method can be used to place multiple gesture information in an ideal area when there is multiple gesture information. The method includes:
步骤201:判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息。Step 201: Determine whether the first information includes first gesture information and second gesture information, where the first gesture information has third location information, and the second gesture information has fourth location information.
本步骤确定所述第一信息是否包括第一手势信息和第二手势信息。为了将所述第一手势信息和第二手势信息都放到理想区域,还需要确定所述第一手势信息和第二手势信息的位置信息。其中,所述第一手势信息的位置信息为第三位置信息,所述第二手势信息的位置信息为第四位置信息。The step determines whether the first information includes the first gesture information and the second gesture information. In order to put both the first gesture information and the second gesture information into an ideal area, it is also required to determine location information of the first gesture information and the second gesture information. The location information of the first gesture information is third location information, and the location information of the second gesture information is fourth location information.
步骤202:判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息。Step 202: After determining that the first information includes the first gesture information and the second gesture information, obtain the fifth location information according to the third location information and the fourth location information.
为了将所述第一手势信息和第二手势信息都放到理想区域,可根据所述第一手势信息和所述第二手势信息的位置信息确定一个新的位置信息,即第五位置信息。其中,作为一种实施方式,第五位置信息的位置可以是所述第三位置信息对应位置和第四位置信息对应位置的中间位置。In order to put the first gesture information and the second gesture information into the ideal area, a new location information, that is, a fifth location, may be determined according to the first gesture information and the location information of the second gesture information. information. Wherein, as an implementation manner, the location of the fifth location information may be an intermediate location of the location corresponding to the third location information and the location corresponding to the fourth location information.
步骤203:调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。Step 203: Adjust a shooting posture of the camera such that the fifth position information is located in the center range.
调整所述摄像头的拍摄姿态,使所述第五位置信息处于所述中心范围内,则所述第三位置信息和所述第四位置信息均可处于理想区域内。The shooting position of the camera is adjusted such that the fifth position information is within the center range, and the third position information and the fourth position information may both be in an ideal area.
本申请实施例提供的方法从而实现自动将多个手势位置信息放于所述摄像区域的理想区域,具有能够根据用户的指令以及用户的现实情况予以分析后自动调整拍摄参数的技术效果。The method provided by the embodiment of the present application realizes automatically placing a plurality of gesture position information in an ideal area of the imaging area, and has the technical effect of being able to automatically adjust the shooting parameters according to the user's instruction and the user's actual situation.
例如,如图8所示的一种多手势拍摄情况示意图。在未调整摄像头时,所述第一摄像区域1内拍摄到信息有第一手势信息4和第二手势信息6。所述电子设备根据所述第一手势信息4和所述第二手势信息6的位置信息确定一个新的位置信息,通过调整摄像头的拍摄姿势,使摄像头拍摄所述新的位置信息,从而实现使所述第一手势信息4和所述第二手势信息6均位于所述中心范围2,即理想区域内。For example, a schematic diagram of a multi-gesture shooting situation as shown in FIG. When the camera is not adjusted, the information captured in the first imaging area 1 has the first gesture information 4 and the second gesture information 6. The electronic device determines a new location information according to the location information of the first gesture information 4 and the second gesture information 6, and adjusts a shooting posture of the camera to cause the camera to capture the new location information, thereby implementing The first gesture information 4 and the second gesture information 6 are both located in the center range 2, that is, in an ideal area.
在一实施例中,在上述步骤201至步骤203中,有多个手势信息,当有的手势信息不在理想区域时,可以通过下述方法使所述不在理想区域的手势信息调整至理想区域:In an embodiment, in the foregoing steps 201 to 203, there are multiple gesture information. When the gesture information is not in the ideal area, the gesture information in the non-ideal area may be adjusted to an ideal area by the following method:
判断所述第四位置信息是否在所述中心范围内;判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于 所述中心范围内。Determining whether the fourth location information is in the center range; after determining that the fourth location information is not in the center range, sending a first instruction, the first instruction is to notify a user to adjust the fourth location information And a distance between the fifth location information such that the fourth location information is located within the central range.
这里,需要判断所述第四位置信息是否在理想区域,若所述第四位置信息不在所述中心范围,即位置信息不在理想区域内。则需要调整所述第四位置信息,所述电子设备自动发送第一指令,所述第一指令可以通过语音的形式呈现,所述第一指令的内容可以是通知用户将手势靠近一点,以便调整所述第四位置信息和所述第五位置信息之间的距离,即使第一手势和第二手势之间的距离靠近,以使所述第四位置信息调整到理想区域内。比如,电子设备发出“请大家靠近一点”的语音的方式通知用户将手势靠近一点。从而实现了当有多个手势信息时,有的手势不在理想区域内,所述电子设备自动通知用户调整距离,使所述不在理想区域的手势调整至理想区域,具有能够根据用户的指令以及用户的现实情况予以分析后自动调整拍摄参数的技术效果。Here, it is necessary to determine whether the fourth location information is in an ideal region, and if the fourth location information is not in the central range, that is, the location information is not in the ideal region. Then, the fourth location information needs to be adjusted, the electronic device automatically sends a first instruction, where the first instruction may be presented in the form of a voice, and the content of the first instruction may be to notify the user to bring the gesture closer to a point in order to adjust The distance between the fourth location information and the fifth location information is even if the distance between the first gesture and the second gesture is close to adjust the fourth location information into the ideal region. For example, the electronic device sends a "please close to a little" voice to inform the user to bring the gesture closer. Therefore, when there are multiple gesture information, some gestures are not in the ideal area, and the electronic device automatically notifies the user to adjust the distance, so that the gesture that is not in the ideal area is adjusted to the ideal area, and has the ability to be according to the user's instruction and the user. The actual situation is analyzed and the technical effect of the shooting parameters is automatically adjusted.
例如,如图9所示的又一种多手势拍摄情况示意图。所述摄像头拍摄到第一手势信息4和第二手势信息6。其中,所述第一手势信息4不在所述中心范围2内,所述第二手势信息6在所述中心范围2内。则所述电子设备发出第一指令,通知用户调整所述第一手势信息4和第二手势信息6的距离。用户调整后,则所述第一手势信息4和第二手势信息6均位于所述中心范围2内。For example, another schematic diagram of a multi-gesture shooting situation as shown in FIG. The camera captures the first gesture information 4 and the second gesture information 6. The first gesture information 4 is not in the center range 2, and the second gesture information 6 is in the center range 2. The electronic device sends a first instruction to notify the user to adjust the distance between the first gesture information 4 and the second gesture information 6. After the user adjusts, the first gesture information 4 and the second gesture information 6 are both located in the center range 2.
在一实施例中,如所述第一信息不包括手势信息,只有人脸信息,且具有多个人脸的情况下,如图3所示流程图,本申请实施例还提供另一种信息处理方法:In an embodiment, if the first information does not include gesture information, only face information, and has multiple faces, as shown in the flowchart of FIG. 3, the embodiment of the present application provides another information processing. method:
步骤301:判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息。Step 301: Determine whether the first information includes first face information and second face information, where the first face information has first area information and sixth position information; the second face information There are second area information and seventh position information.
当所述第一信息不包括手势信息,则以人脸信息为拍摄中心。因此需 要确定所述第一信息内是否包括第一人脸信息和第二人脸信息。第一人脸信息和第二人脸信息分别具有各自对应的脸的面积大小和位置信息。其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息。When the first information does not include gesture information, the face information is used as a shooting center. Therefore, it is required to determine whether the first face information and the second face information are included in the first information. The first face information and the second face information respectively have area size and position information of the respective faces. The first face information has first area information and sixth position information; the second face information has second area information and seventh position information.
步骤302:判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息。Step 302: After determining that the first information includes the first face information and the second face information, determining third area information according to the first area information and the second area information.
如果第一人脸的面积和第二人脸的面积不同,则所述摄像头以面积较大的脸为中心进行拍摄。以所述第一面积信息和所述第二面积信息中面积较大的一个为第三面积信息。If the area of the first face is different from the area of the second face, the camera takes a picture centering on the face having a larger area. The one having the larger area among the first area information and the second area information is the third area information.
步骤303:当所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。Step 303: When the third area information is greater than a predetermined first threshold, adjust a shooting attitude of the camera such that the sixth location information or the seventh location information is located in the center range.
在所述电子设备中预定第一阈值,当所述第三面积信息大于所述第一阈值时,则认为所述第三面积信息对应的人脸为大脸。则控制所述拍摄姿态调整装置调整所述摄像头的拍摄姿态,使所述大脸位于所述中心范围,即理想区域内。由于所述大脸对应第三面积信息,而所述第三面积信息有可能对应第一面积信息或第二面积信息中的任何一个。因此,所述大脸对应的位置信息可能为第六位置信息或第七位置信息中的任何一个。从而实现了当有多个人脸时,以较大的脸为中心自动拍摄,具有根据用户的现实情况予以分析后自动调整拍摄参数的技术效果。The first threshold is predetermined in the electronic device, and when the third area information is greater than the first threshold, the face corresponding to the third area information is considered to be a large face. Then, the shooting attitude adjusting device is controlled to adjust a shooting posture of the camera such that the large face is located in the center range, that is, in an ideal area. Since the large face corresponds to the third area information, the third area information may correspond to any one of the first area information or the second area information. Therefore, the location information corresponding to the large face may be any one of the sixth location information or the seventh location information. Therefore, when there are multiple faces, the automatic shooting is performed centering on the larger face, and the technical effect of automatically adjusting the shooting parameters after analyzing according to the actual situation of the user is realized.
例如,如图10所示的一种多人脸拍摄情况示意图。所述第一摄像区域1内拍摄到第一人脸信息3和第二人脸信息5,其中,经过与预定的第一阈值比较后,确定所述第一人脸信息3为大脸,则摄像头自动调整参数,使所述第一人脸信息3位于所述中心范围2内。For example, a schematic diagram of a multi-face shooting situation as shown in FIG. The first face information 3 and the second face information 5 are captured in the first imaging area 1 , wherein after the first face value is compared with the predetermined first threshold, the first face information 3 is determined to be a large face. The camera automatically adjusts the parameters such that the first face information 3 is located within the center range 2.
在一实施例中,上述步骤301至步骤303中,当第一人脸和第二人脸 没有明显较大的脸,则将所述第一人脸和第二人脸一起放到理想区域,如图4所示流程图,本申请实施例提供再一种信息处理方法:In an embodiment, in the above steps 301 to 303, when the first face and the second face do not have a significantly larger face, the first face and the second face are placed together in an ideal area. As shown in the flowchart of FIG. 4, the embodiment of the present application provides another information processing method:
步骤401:当所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息。Step 401: When the third area information is less than a predetermined second threshold, obtain the eighth location information according to the sixth location information and the seventh location information.
以第一人脸面积信息和第二人脸面积信息中较小的一个为第三面积信息。在所述电子设备中预定一个第二阈值,当所述第三面积信息小于所述第二阈值时,则认为所有的人脸均为小脸。则将所有的人脸均放于理想区域内。因此,根据所述第一人脸信息和第二人脸信息的位置信息确定一个新的位置信息,即第八位置信息,作为一种实施方式,第八位置信息的位置可以为所述第六位置信息对应位置和所述第七位置信息对应位置的中间位置。The smaller one of the first face area information and the second face area information is the third area information. A second threshold is predetermined in the electronic device, and when the third area information is smaller than the second threshold, all faces are considered to be small faces. Then put all the faces in the ideal area. Therefore, determining a new location information, that is, the eighth location information, according to the location information of the first face information and the second face information, as an implementation manner, the location of the eighth location information may be the sixth The position information corresponds to an intermediate position of the position and the position corresponding to the seventh position information.
步骤402:调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内。Step 402: Adjust a shooting posture of the camera such that the eighth position information is located in the center range.
确定所述第八位置信息后,调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内,即理想区域的几何中心,则可使所述第六位置信息和所述第七位置信息均处于理想区域,也就是使所有的人脸均位于理想区域。After determining the eighth position information, adjusting the shooting posture of the camera such that the eighth position information is located in the center range, that is, the geometric center of the ideal area, the sixth position information and the The seventh position information is in the ideal area, that is, all the faces are located in the ideal area.
本申请实施例提供的方法实现了当多个人脸中无明显的大脸时,以所有人脸的中心为中心自动拍摄,具有根据用户的现实情况予以分析后自动调整拍摄参数的技术效果。The method provided by the embodiment of the present invention realizes that when there are no obvious large faces in a plurality of faces, the automatic shooting is performed centering on the center of all the faces, and the technical effect of automatically adjusting the shooting parameters according to the actual situation of the user is analyzed.
例如,如图11所示的又一种多人脸拍摄情况示意图。所述第一摄像区域1内拍摄到第一人脸信息3和第二人脸信息5,其中,经过与预定的第二阈值比较后,确定所述第一人脸信息3和第二人脸信息5均小于所述第二阈值,则认为无明显大脸,摄像头自动调整参数,使所述第一人脸信息3和第二人脸信息5均位于所述中心范围2内。For example, another schematic diagram of a multi-face shooting situation as shown in FIG. The first face information 3 and the second face information 5 are captured in the first imaging area 1, wherein the first face information 3 and the second face are determined after being compared with a predetermined second threshold. If the information 5 is smaller than the second threshold, it is considered that there is no obvious big face, and the camera automatically adjusts the parameters, so that the first face information 3 and the second face information 5 are both located in the center range 2.
在一实施例中,在上述步骤401至步骤402中,有多个人脸信息,当有的人脸信息不在理想区域时,可以通过下述方法使所述不在理想区域的人脸信息调整至理想区域:In an embodiment, in the foregoing steps 401 to 402, there are multiple face information. When some face information is not in the ideal area, the face information in the non-ideal area can be adjusted to the ideal by the following method. region:
判断所述第六位置信息是否在所述中心范围内;判定所述第六位置信息不在所述中心范围内后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。Determining whether the sixth location information is in the center range; determining that the sixth location information is not in the center range, sending a second instruction, the second instruction is to notify the user to adjust the sixth location information And a distance between the seventh location information such that the sixth location information is located within the central range.
这里,判断所述第六位置信息是否在理想区域,若所述第六位置信息不在理想区域内。则需要调整所述第六位置信息,所述电子设备自动发送第二指令,所述第二指令可以通过语音的形式呈现,所述第二指令的内容可以是通知用户将脸靠近一点,以便调整所述第六位置信息和所述第七位置信息之间的距离,即使第一人脸和第二人脸之间的距离靠近,以使所述第六位置信息调整到理想区域内。Here, it is determined whether the sixth location information is in an ideal region if the sixth location information is not in the ideal region. Then, the sixth location information needs to be adjusted, the electronic device automatically sends a second instruction, where the second instruction may be presented in the form of a voice, and the content of the second instruction may be to notify the user to bring the face closer to adjust The distance between the sixth position information and the seventh position information is even if the distance between the first face and the second face is close to adjust the sixth position information into the ideal area.
本申请实施例提供的方法实现了当有多个人脸信息时,有的人脸不在理想区域内,则所述电子设备自动通知用户调整距离,使所述不在理想区域的人脸调整至理想区域,具有根据用户的现实情况予以分析后自动调整拍摄参数的技术效果。The method provided by the embodiment of the present application realizes that when there are multiple face information, if some faces are not in the ideal area, the electronic device automatically notifies the user to adjust the distance, so that the face not in the ideal area is adjusted to the ideal area. The technical effect of automatically adjusting the shooting parameters after analyzing according to the actual situation of the user.
例如,如图12所示的再一种多人脸拍摄情况示意图。所述摄像头拍摄到第一人脸信息3和第二人脸信息5。其中,所述第一人脸信息3不在所述中心范围2内,所述第二人脸信息5在所述中心范围2内。则所述电子设备发出第一指令,通知用户调整所述第一人脸信息3和第二人脸信息5的距离。用户调整后,则所述第一人脸信息3和第二人脸信息5均位于所述中心范围2内。For example, a schematic diagram of another multi-face shooting situation as shown in FIG. The camera captures the first face information 3 and the second face information 5. The first face information 3 is not in the center range 2, and the second face information 5 is in the center range 2. Then, the electronic device issues a first instruction to notify the user to adjust the distance between the first face information 3 and the second face information 5. After the user adjusts, the first face information 3 and the second face information 5 are both located in the center range 2.
基于同样的发明构思,本申请实施例还提供一种信息处理装置,应用于电子设备中,所述电子设备包括摄像头;如图5所示,所述装置包括:Based on the same inventive concept, the embodiment of the present application further provides an information processing apparatus, which is applied to an electronic device, where the electronic device includes a camera; as shown in FIG. 5, the device includes:
第一获得单元11,配置为获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;The first obtaining unit 11 is configured to obtain a first imaging area of the camera, where the first imaging area includes a central range;
第一确定单元12,配置为根据所述第一获得单元11获得的所述第一摄像区域确定所述摄像头能识别的第一信息;The first determining unit 12 is configured to determine, according to the first imaging area obtained by the first obtaining unit 11, the first information that the camera can recognize;
第四确定单元13,配置为判断所述第一信息是否包括手势信息;The fourth determining unit 13 is configured to determine whether the first information includes gesture information;
第五确定单元14,配置为当所述第四确定单元15判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;a fifth determining unit 14 configured to determine second location information of the gesture information after the fourth determining unit 15 determines that the first information includes gesture information;
调整单元15,配置为调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。The adjusting unit 15 is configured to adjust a shooting attitude of the camera such that the second position information is located within the center range.
在一实施例中,所述装置还包括:In an embodiment, the apparatus further includes:
第二确定单元,配置为当所述第四确定单元13判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;a second determining unit, configured to determine, when the fourth determining unit 13 does not include the gesture information, whether the first information includes face information;
第三确定单元,配置为当所述第二确定单元判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;a third determining unit, configured to: after the second determining unit determines that the first information includes face information, determine first location information of the face information;
所述调整单元15,还配置为当所述第四确定单元13判定所述第一信息不包括手势信息后,调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。The adjusting unit 15 is further configured to: after the fourth determining unit 13 determines that the first information does not include gesture information, adjust a shooting posture of the camera, so that the first location information is located in the center range .
在一实施例中,所述装置还包括:In an embodiment, the apparatus further includes:
第六确定单元,配置为判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;a sixth determining unit, configured to determine whether the first information includes first gesture information and second gesture information, where the first gesture information has third location information, and the second gesture information has a fourth location information;
第二获得单元,配置为当所述第六确定单元判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;a second obtaining unit, configured to: after the sixth determining unit determines that the first information includes the first gesture information and the second gesture information, obtain a fifth according to the third location information and the fourth location information location information;
所述调整单元15,配置为调整所述摄像头的拍摄姿态,使所述第五位 置信息位于所述中心范围内。The adjusting unit 15 is configured to adjust a shooting posture of the camera such that the fifth position information is located in the center range.
在一实施例中,所述装置还包括:In an embodiment, the apparatus further includes:
第一判断单元,配置为判断所述第四位置信息是否在所述中心范围内;a first determining unit, configured to determine whether the fourth location information is in the center range;
第一指令单元,配置为当所述第一判断单元判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。a first instruction unit, configured to: when the first determining unit determines that the fourth location information is not in the center range, send a first instruction, where the first instruction is to notify a user to adjust the fourth location information and The distance between the fifth location information is such that the fourth location information is located within the central range.
在一实施例中,所述装置还包括:In an embodiment, the apparatus further includes:
第六确定单元,配置为当所述第四确定单元判定所述第一信息不包括手势信息后,判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;a sixth determining unit, configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes first face information and second face information, where The first face information has first area information and sixth position information; the second face information has second area information and seventh position information;
第七确定单元,配置为当所述第六确定单元判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;识别所述第三面积信息是否大于预定第一阈值;a seventh determining unit, configured to determine, according to the first area information and the second area information, after the sixth determining unit determines that the first information includes the first face information and the second face information Three area information; identifying whether the third area information is greater than a predetermined first threshold;
所述调整单元15,还配置为当所述第七确定单元识别出所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。The adjusting unit 15 is further configured to: when the seventh determining unit recognizes that the third area information is greater than a predetermined first threshold, adjust a shooting posture of the camera, so that the sixth position information or the first Seven location information is located within the center range.
在一实施例中,所述装置还包括:第三获得单元;In an embodiment, the device further includes: a third obtaining unit;
所述第七确定单元,还用于识别所述第三面积信息是否小于预定第二阈值;The seventh determining unit is further configured to identify whether the third area information is smaller than a predetermined second threshold;
所述第三获得单元,配置为当所述第七确定单元识别出所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;The third obtaining unit is configured to: when the seventh determining unit identifies that the third area information is smaller than a predetermined second threshold, obtain the eighth location information according to the sixth location information and the seventh location information;
所述调整单元15,还配置为调整所述摄像头的拍摄姿态,使所述第八 位置信息位于所述中心范围内。The adjusting unit 15 is further configured to adjust a shooting posture of the camera such that the eighth position information is located in the center range.
在一实施例中,所述装置还包括:In an embodiment, the apparatus further includes:
第二判断单元,配置为判断所述第六位置信息是否在所述中心范围内;a second determining unit, configured to determine whether the sixth location information is in the center range;
第二指令单元,配置为当所述第二判断单元判定所述第六位置信息不在所述中心范围内,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。a second instruction unit, configured to: when the second determining unit determines that the sixth location information is not in the center range, send a second instruction, where the second instruction is to notify a user to adjust the sixth location information and The distance between the seven location information is such that the sixth location information is within the central range.
需要说明的是:上述实施例提供的信息处理装置在进行信息处理时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息处理装置与信息处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when performing information processing, the information processing apparatus provided in the above embodiment is exemplified by the division of each of the above-mentioned program modules. In actual application, the processing allocation may be completed by different program modules as needed. The internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information processing apparatus and the information processing method embodiment provided in the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
本发明实施例中,所述信息处理装置中的第一获得单元11、第一确定单元12、第二确定单元、第三确定单元、第四确定单元13、第五确定单元14、第六确定单元、第二获得单元、第一判断单元、第七确定单元、第三获得单元、第二判断单元和调整单元15,在实际应用中均可由中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述装置中的第一指令单元和第二指令单元,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present invention, the first obtaining unit 11, the first determining unit 12, the second determining unit, the third determining unit, the fourth determining unit 13, the fifth determining unit 14, and the sixth determining in the information processing apparatus The unit, the second obtaining unit, the first determining unit, the seventh determining unit, the third obtaining unit, the second determining unit and the adjusting unit 15 can be used by a central processing unit (CPU) and a digital signal in practical applications. a DSP (Digital Signal Processor), a Microcontroller Unit (MCU), or a Field-Programmable Gate Array (FPGA); the first instruction unit and the second instruction unit in the apparatus, In practical applications, it can be realized through communication modules (including: basic communication suite, operating system, communication module, standardized interface and protocol, etc.) and transceiver antennas.
本发明实施例还提供了一种信息处理装置,图13为本发明实施例提供的信息处理装置的硬件组成结构示意图;如图13所示,所述信息处理装置包括:处理器51和用于存储能够在处理器51上运行的计算机程序的存储 器52,其中,所述处理器51用于运行所述计算机程序时,执行:获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;根据所述第一摄像区域确定所述摄像头能识别的第一信息,判断所述第一信息是否包括手势信息;判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。An embodiment of the present invention further provides an information processing apparatus, and FIG. 13 is a schematic structural diagram of hardware components of an information processing apparatus according to an embodiment of the present invention; as shown in FIG. 13, the information processing apparatus includes: a processor 51 and is configured to: Storing a memory 52 of a computer program executable on the processor 51, wherein the processor 51 is configured to: when the computer program is executed, obtain a first imaging area of the camera, the first imaging area comprising Determining, according to the first imaging area, first information that can be recognized by the camera, determining whether the first information includes gesture information, and determining that the first information includes gesture information, determining that the gesture information is Two position information; adjusting a shooting posture of the camera such that the second position information is located within the center range.
在一实施例中,所述处理器51用于运行所述计算机程序时,执行:判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。In an embodiment, when the processor 51 is configured to run the computer program, determining that the first information does not include gesture information, determining whether the first information includes face information; After the information includes the face information, the first position information of the face information is determined; and the shooting posture of the camera is adjusted such that the first position information is located within the center range.
在一实施例中,所述处理器51用于运行所述计算机程序时,执行:判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。In an embodiment, the processor 51 is configured to: when the computer program is executed, determine whether the first information includes first gesture information and second gesture information, where the first gesture information has The third location information, the second gesture information has fourth location information; after determining that the first information includes the first gesture information and the second gesture information, according to the third location information and the fourth location The information obtains the fifth position information; adjusting the shooting posture of the camera such that the fifth position information is located within the center range.
在一实施例中,所述处理器51用于运行所述计算机程序时,执行:判断所述第四位置信息是否在所述中心范围内;判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。In an embodiment, when the processor 51 is configured to run the computer program, perform: determining whether the fourth location information is within the center range; determining that the fourth location information is not in the center range Afterwards, the first instruction is sent, the first instruction is to notify the user to adjust the distance between the fourth location information and the fifth location information, so that the fourth location information is located in the center range.
在一实施例中,所述处理器51用于运行所述计算机程序时,执行:判定所述第一信息不包括手势信息之后,判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;判定 所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;当所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。In an embodiment, when the processor 51 is configured to run the computer program, determining that the first information does not include the gesture information, determining whether the first information includes the first face information and the second The face information, wherein the first face information has first area information and sixth position information; the second face information has second area information and seventh position information; determining that the first information includes After the face information and the second face information, determining the third area information according to the first area information and the second area information; and adjusting the camera when the third area information is greater than a predetermined first threshold The shooting posture is such that the sixth position information or the seventh position information is located within the center range.
在一实施例中,所述处理器51用于运行所述计算机程序时,执行:当所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;通过控制所述拍摄姿态调整装置调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内。In an embodiment, when the processor 51 is configured to run the computer program, when the third area information is less than a predetermined second threshold, obtaining, according to the sixth location information and the seventh location information, Eight position information; adjusting the shooting posture of the camera by controlling the shooting posture adjusting device such that the eighth position information is located within the center range.
在一实施例中,所述处理器51用于运行所述计算机程序时,执行:判断所述第六位置信息是否在所述中心范围内;判定所述第六位置信息不在所述中心范围后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。In an embodiment, when the processor 51 is configured to run the computer program, it is executed to: determine whether the sixth location information is in the center range; and determine that the sixth location information is not in the center range And transmitting a second instruction, the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location information is located in the center range.
可以理解,信息处理装置中还包括通信接口53和总线系统54,信息处理装置中的各个组件通过总线系统54耦合在一起。可理解,总线系统54用于实现这些组件之间的连接通信。总线系统54除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图13中将各种总线都标为总线系统54。It will be understood that the information processing apparatus further includes a communication interface 53 and a bus system 54, and the various components in the information processing apparatus are coupled together by the bus system 54. It will be appreciated that bus system 54 is used to implement connection communication between these components. The bus system 54 includes, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 54 in FIG.
可以理解,存储器52可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash  Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器52旨在包括但不限于这些和任意其它适合类型的存储器。It will be appreciated that memory 52 can be either volatile memory or non-volatile memory, as well as both volatile and non-volatile memory. The non-volatile memory may be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), or an Erasable Programmable Read (EPROM). Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface memory can be a disk storage or a tape storage. The volatile memory can be a random access memory (RAM) that acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access (SSRAM). DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhancement Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory Bus Random Access Memory (DRRAM) ). The memory 52 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
上述本发明实施例揭示的方法可以应用于处理器51中,或者由处理器51实现。处理器51可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器51中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器51可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器51可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器52,处理器51读取存储器52中的信 息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 51 or implemented by the processor 51. Processor 51 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 51 or an instruction in a form of software. The processor 51 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. The processor 51 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can reside in a storage medium located in memory 52, and processor 51 reads the information in memory 52 in conjunction with its hardware to perform the steps of the foregoing method.
本发明实施例还提供了一种计算机存储介质,例如包括计算机程序的存储器52,上述计算机程序可由信息处理装置的处理器51执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。Embodiments of the present invention also provide a computer storage medium, such as a memory 52 including a computer program that can be executed by processor 51 of the information processing apparatus to perform the steps described in the foregoing methods. The computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
本发明实施例提供的计算机存储介质,其上存储有计算机程序,该计算机程序被处理器运行时,执行:获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;根据所述第一摄像区域确定所述摄像头能识别的第一信息,判断所述第一信息是否包括手势信息;判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。The computer storage medium provided by the embodiment of the present invention has a computer program stored thereon, and when the computer program is executed by the processor, performing: obtaining a first imaging area of the camera, where the first imaging area includes a central range; Determining, by the first imaging area, first information that can be recognized by the camera, determining whether the first information includes gesture information, determining that the first information includes gesture information, determining second position information of the gesture information, and adjusting The shooting posture of the camera is such that the second position information is located within the center range.
在一实施例中,该计算机程序被处理器运行时,执行:判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。In an embodiment, when the computer program is executed by the processor, performing: determining that the first information does not include the gesture information, determining whether the first information includes face information; determining that the first information includes a face After the information, the first location information of the face information is determined; and the shooting posture of the camera is adjusted such that the first location information is located in the center range.
在一实施例中,该计算机程序被处理器运行时,执行:判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。In an embodiment, when the computer program is executed by the processor, performing: determining whether the first information includes first gesture information and second gesture information, wherein the first gesture information has third location information, The second gesture information has fourth location information; after determining that the first information includes the first gesture information and the second gesture information, obtaining the fifth location according to the third location information and the fourth location information Information; adjusting a shooting posture of the camera such that the fifth position information is located within the center range.
在一实施例中,该计算机程序被处理器运行时,执行:判断所述第四位置信息是否在所述中心范围内;判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息 和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。In an embodiment, when the computer program is executed by the processor, performing: determining whether the fourth location information is in the center range; and determining that the fourth location information is not in the center range, sending the first The first instruction is to notify the user to adjust a distance between the fourth location information and the fifth location information, so that the fourth location information is located in the center range.
在一实施例中,该计算机程序被处理器运行时,执行:判定所述第一信息不包括手势信息之后,判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;当所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。In an embodiment, when the computer program is executed by the processor, determining that the first information does not include the gesture information, determining whether the first information includes the first face information and the second face information, wherein The first face information has first area information and sixth position information; the second face information has second area information and seventh position information; determining that the first information includes first face information and After the second face information, determining third area information according to the first area information and the second area information; and when the third area information is greater than a predetermined first threshold, adjusting a shooting posture of the camera, so that The sixth location information or the seventh location information is located within the central range.
在一实施例中,该计算机程序被处理器运行时,执行:当所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;通过控制所述拍摄姿态调整装置调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内。In an embodiment, when the computer program is executed by the processor, performing: when the third area information is less than a predetermined second threshold, obtaining the eighth location information according to the sixth location information and the seventh location information; The shooting attitude adjusting device is controlled to adjust a shooting posture of the camera such that the eighth position information is located within the center range.
在一实施例中,该计算机程序被处理器运行时,执行:判断所述第六位置信息是否在所述中心范围内;判定所述第六位置信息不在所述中心范围后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。In an embodiment, when the computer program is executed by the processor, performing: determining whether the sixth location information is in the center range; determining that the sixth location information is not in the center range, sending a second instruction And the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location information is located in the center range.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的, 作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例的技术方案通过获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;根据所述第一摄像区域确定所述摄像头能识别的第一信息;判断所述第一信息内是否包括手势信息;若包括手势信息,确定所述手势信息的第二位置信息;通过调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内,从而解决了自动拍照技术不够智能的技术问题,具有能够根据用户的指令以及用户的现实情况予以分析后自动调整拍摄参数的技术效果。The technical solution of the embodiment of the present invention obtains a first imaging area of the camera, the first imaging area includes a center range, and determines first information that the camera can recognize according to the first imaging area; Whether the gesture information is included in a message; if the gesture information is included, the second location information of the gesture information is determined; and the second location information is located in the center range by adjusting the shooting posture of the camera, thereby solving The technical problem that the automatic photographing technology is not intelligent enough has the technical effect of being able to automatically adjust the shooting parameters according to the user's instructions and the user's actual situation.

Claims (16)

  1. 一种信息处理方法,应用于电子设备,所述电子设备包括摄像头,所述方法包括:An information processing method is applied to an electronic device, the electronic device includes a camera, and the method includes:
    获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;Obtaining a first imaging area of the camera, the first imaging area including a center range;
    根据所述第一摄像区域确定所述摄像头能识别的第一信息,判断所述第一信息是否包括手势信息;Determining, according to the first imaging area, first information that can be recognized by the camera, and determining whether the first information includes gesture information;
    判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;After determining that the first information includes gesture information, determining second location information of the gesture information;
    调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。Adjusting a shooting attitude of the camera such that the second position information is within the center range.
  2. 如权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;After determining that the first information does not include the gesture information, determining whether the first information includes face information;
    判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;After determining that the first information includes face information, determining first location information of the face information;
    调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。Adjusting a shooting attitude of the camera such that the first position information is within the center range.
  3. 如权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;Determining whether the first information includes first gesture information and second gesture information, wherein the first gesture information has third location information, and the second gesture information has fourth location information;
    判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;After determining that the first information includes the first gesture information and the second gesture information, obtaining the fifth location information according to the third location information and the fourth location information;
    调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。Adjusting a shooting attitude of the camera such that the fifth position information is within the center range.
  4. 如权利要求3所述的方法,其中,所述方法还包括:The method of claim 3 wherein the method further comprises:
    判断所述第四位置信息是否在所述中心范围内;Determining whether the fourth location information is within the central range;
    判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。After determining that the fourth location information is not in the central range, sending a first instruction, the first instruction is to notify a user to adjust a distance between the fourth location information and the fifth location information, so that the fourth Location information is located within the center range.
  5. 如权利要求2所述的方法,其中,判定所述第一信息不包括手势信息之后,所述方法还包括:The method of claim 2, wherein after the determining that the first information does not include gesture information, the method further comprises:
    判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;Determining whether the first information includes first face information and second face information, wherein the first face information has first area information and sixth position information; and the second face information has a second Area information and seventh position information;
    判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;After determining that the first information includes the first face information and the second face information, determining third area information according to the first area information and the second area information;
    当所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。And when the third area information is greater than a predetermined first threshold, adjusting a shooting attitude of the camera such that the sixth position information or the seventh position information is located within the center range.
  6. 如权利要求5所述的方法,其中,所述方法还包括:The method of claim 5 wherein the method further comprises:
    当所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;When the third area information is less than the predetermined second threshold, obtaining the eighth location information according to the sixth location information and the seventh location information;
    通过控制所述拍摄姿态调整装置调整所述摄像头的拍摄姿态,使所述第八位置信息位于所述中心范围内。The shooting posture of the camera is adjusted by controlling the shooting posture adjusting device such that the eighth position information is located within the center range.
  7. 如权利要求6所述的方法,其中,所述方法还包括:The method of claim 6 wherein the method further comprises:
    判断所述第六位置信息是否在所述中心范围内;Determining whether the sixth location information is within the central range;
    判定所述第六位置信息不在所述中心范围后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。After determining that the sixth location information is not in the central range, sending a second instruction, the second instruction is to notify the user to adjust a distance between the sixth location information and the seventh location information, so that the sixth location Information is located within the center.
  8. 一种信息处理装置,应用于电子设备中,所述电子设备包括摄像头;所述装置包括:An information processing device is applied to an electronic device, the electronic device comprising a camera; the device comprising:
    第一获得单元,配置为获得所述摄像头的第一摄像区域,所述第一摄像区域包括中心范围;a first obtaining unit configured to obtain a first imaging area of the camera, where the first imaging area includes a central range;
    第一确定单元,配置为根据所述第一获得单元获得的所述第一摄像区域确定所述摄像头能识别的第一信息;a first determining unit, configured to determine first information that the camera can recognize according to the first imaging area obtained by the first obtaining unit;
    第四确定单元,配置为判断所述第一信息是否包括手势信息;a fourth determining unit, configured to determine whether the first information includes gesture information;
    第五确定单元,配置为当所述第四确定单元判定所述第一信息包括手势信息后,确定所述手势信息的第二位置信息;a fifth determining unit, configured to: after the fourth determining unit determines that the first information includes gesture information, determine second location information of the gesture information;
    调整单元,配置为调整所述摄像头的拍摄姿态,使所述第二位置信息位于所述中心范围内。And an adjusting unit configured to adjust a shooting posture of the camera such that the second position information is located within the center range.
  9. 如权利要求8所述装置,其中,所述装置还包括:The device of claim 8 wherein said device further comprises:
    第二确定单元,配置为当所述第四确定单元判定所述第一信息不包括手势信息后,判断所述第一信息是否包括人脸信息;a second determining unit, configured to determine, after the fourth determining unit determines that the first information does not include gesture information, whether the first information includes face information;
    第三确定单元,配置为当所述第二确定单元判定所述第一信息包括人脸信息后,确定所述人脸信息的第一位置信息;a third determining unit, configured to: after the second determining unit determines that the first information includes face information, determine first location information of the face information;
    所述调整单元,还配置为调整所述摄像头的拍摄姿态,使所述第一位置信息位于所述中心范围内。The adjusting unit is further configured to adjust a shooting posture of the camera such that the first position information is located in the center range.
  10. 如权利要求8所述装置,其中,所述装置还包括:The device of claim 8 wherein said device further comprises:
    第六确定单元,配置为判断所述第一信息是否包括第一手势信息和第二手势信息,其中,所述第一手势信息具有第三位置信息,所述第二手势信息具有第四位置信息;a sixth determining unit, configured to determine whether the first information includes first gesture information and second gesture information, where the first gesture information has third location information, and the second gesture information has a fourth location information;
    第二获得单元,配置为当所述第六确定单元判定所述第一信息包括第一手势信息和第二手势信息后,根据所述第三位置信息和所述第四位置信息获得第五位置信息;a second obtaining unit, configured to: after the sixth determining unit determines that the first information includes the first gesture information and the second gesture information, obtain a fifth according to the third location information and the fourth location information location information;
    所述调整单元,还配置为调整所述摄像头的拍摄姿态,使所述第五位置信息位于所述中心范围内。The adjusting unit is further configured to adjust a shooting posture of the camera such that the fifth position information is located in the center range.
  11. 如权利要求10所述的装置,其中,所述装置还包括:The device of claim 10, wherein the device further comprises:
    第一判断单元,配置为判断所述第四位置信息是否在所述中心范围内;a first determining unit, configured to determine whether the fourth location information is in the center range;
    第一指令单元,配置为当所述第一判断单元判定所述第四位置信息不在所述中心范围内后,发送第一指令,所述第一指令为通知用户调整所述第四位置信息和第五位置信息之间的距离,使所述第四位置信息位于所述中心范围内。a first instruction unit, configured to: when the first determining unit determines that the fourth location information is not in the center range, send a first instruction, where the first instruction is to notify a user to adjust the fourth location information and The distance between the fifth location information is such that the fourth location information is located within the central range.
  12. 如权利要求9所述的装置,其中,所述装置还包括:The device of claim 9 wherein said device further comprises:
    第六确定单元,配置为当所述第四确定单元判定所述第一信息不包括手势信息后,判断所述第一信息是否包括第一人脸信息和第二人脸信息,其中,所述第一人脸信息具有第一面积信息和第六位置信息;所述第二人脸信息具有第二面积信息和第七位置信息;a sixth determining unit, configured to determine, when the fourth determining unit does not include the gesture information, whether the first information includes first face information and second face information, where The first face information has first area information and sixth position information; the second face information has second area information and seventh position information;
    第七确定单元,配置为当所述第六确定单元判定所述第一信息包括第一人脸信息和第二人脸信息后,根据所述第一面积信息和所述第二面积信息确定第三面积信息;识别所述第三面积信息是否大于预定第一阈值;a seventh determining unit, configured to determine, according to the first area information and the second area information, after the sixth determining unit determines that the first information includes the first face information and the second face information Three area information; identifying whether the third area information is greater than a predetermined first threshold;
    所述调整单元,还配置为当所述第七确定单元识别出所述第三面积信息大于预定第一阈值时,调整所述摄像头的拍摄姿态,使所述第六位置信息或所述第七位置信息位于所述中心范围内。The adjusting unit is further configured to: when the seventh determining unit identifies that the third area information is greater than a predetermined first threshold, adjust a shooting posture of the camera to enable the sixth position information or the seventh Location information is located within the center range.
  13. 如权利要求12所述的装置,其中,所述装置还包括:第三获得单元;The device of claim 12, wherein the device further comprises: a third obtaining unit;
    所述第七确定单元,还用于识别所述第三面积信息是否小于预定第二阈值;The seventh determining unit is further configured to identify whether the third area information is smaller than a predetermined second threshold;
    所述第三获得单元,配置为当所述第七确定单元识别出所述第三面积信息小于预定第二阈值时,根据所述第六位置信息和第七位置信息获得第八位置信息;The third obtaining unit is configured to: when the seventh determining unit identifies that the third area information is smaller than a predetermined second threshold, obtain the eighth location information according to the sixth location information and the seventh location information;
    所述调整单元,还配置为调整所述摄像头的拍摄姿态,使所述第八位 置信息位于所述中心范围内。The adjusting unit is further configured to adjust a shooting posture of the camera such that the eighth position information is located in the center range.
  14. 如权利要求13所述的装置,其中,所述装置还包括:The apparatus of claim 13 wherein said apparatus further comprises:
    第二判断单元,配置为判断所述第六位置信息是否在所述中心范围内;a second determining unit, configured to determine whether the sixth location information is in the center range;
    第二指令单元,配置为当所述第二判断单元判定所述第六位置信息不在所述中心范围内后,发送第二指令,所述第二指令为通知用户调整所述第六位置信息和第七位置信息之间的距离,使所述第六位置信息位于所述中心范围内。a second instruction unit, configured to: when the second determining unit determines that the sixth location information is not in the center range, send a second instruction, where the second instruction is to notify a user to adjust the sixth location information and The distance between the seventh location information is such that the sixth location information is within the central range.
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至7任一项所述的信息处理方法。A computer storage medium having stored therein computer executable instructions for performing the information processing method of any one of claims 1 to 7.
  16. 一种信息处理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行权利要求1至7所述方法的步骤。An information processing apparatus comprising: a processor and a memory for storing a computer program executable on a processor, wherein the processor is configured to execute the method of claims 1 to 7 when the computer program is executed step.
PCT/CN2017/117567 2016-12-30 2017-12-20 Information processing method and apparatus, and computer storage medium WO2018121385A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611262898.5 2016-12-30
CN201611262898.5A CN106851094A (en) 2016-12-30 2016-12-30 A kind of information processing method and device

Publications (1)

Publication Number Publication Date
WO2018121385A1 true WO2018121385A1 (en) 2018-07-05

Family

ID=59112908

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117567 WO2018121385A1 (en) 2016-12-30 2017-12-20 Information processing method and apparatus, and computer storage medium

Country Status (2)

Country Link
CN (1) CN106851094A (en)
WO (1) WO2018121385A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401371A (en) * 2020-08-05 2022-04-26 深圳市浩瀚卓越科技有限公司 Tracking control method, tracking control device, object tracking unit, and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851094A (en) * 2016-12-30 2017-06-13 纳恩博(北京)科技有限公司 A kind of information processing method and device
CN107610108B (en) * 2017-09-04 2019-04-26 腾讯科技(深圳)有限公司 Image processing method and device
CN108921815A (en) * 2018-05-16 2018-11-30 Oppo广东移动通信有限公司 It takes pictures exchange method, device, storage medium and terminal device
CN110786005A (en) * 2018-06-29 2020-02-11 深圳市大疆创新科技有限公司 Control method and control device for time-lapse photography, imaging system and storage medium
WO2021217430A1 (en) * 2020-04-28 2021-11-04 SZ DJI Technology Co., Ltd. System and method for operating a movable object based on human body indications
CN112733619A (en) * 2020-12-24 2021-04-30 北京市商汤科技开发有限公司 Pose adjusting method and device for acquisition equipment, electronic equipment and storage medium
CN113542832B (en) * 2021-07-01 2023-07-04 深圳创维-Rgb电子有限公司 Display control method, display device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220465A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method, device and mobile terminal for accurate positioning of facial image when mobile phone is used for photographing
JP2013162268A (en) * 2012-02-03 2013-08-19 Saxa Inc Human detection apparatus
CN103475849A (en) * 2013-09-22 2013-12-25 广东欧珀移动通信有限公司 Method and device for adjusting shooting angle of camera during video call
CN104243791A (en) * 2013-06-19 2014-12-24 联想(北京)有限公司 Information processing method and electronic device
CN105763787A (en) * 2014-12-19 2016-07-13 索尼公司 Image forming method, device and electric device
CN106851094A (en) * 2016-12-30 2017-06-13 纳恩博(北京)科技有限公司 A kind of information processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013162268A (en) * 2012-02-03 2013-08-19 Saxa Inc Human detection apparatus
CN103220465A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method, device and mobile terminal for accurate positioning of facial image when mobile phone is used for photographing
CN104243791A (en) * 2013-06-19 2014-12-24 联想(北京)有限公司 Information processing method and electronic device
CN103475849A (en) * 2013-09-22 2013-12-25 广东欧珀移动通信有限公司 Method and device for adjusting shooting angle of camera during video call
CN105763787A (en) * 2014-12-19 2016-07-13 索尼公司 Image forming method, device and electric device
CN106851094A (en) * 2016-12-30 2017-06-13 纳恩博(北京)科技有限公司 A kind of information processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401371A (en) * 2020-08-05 2022-04-26 深圳市浩瀚卓越科技有限公司 Tracking control method, tracking control device, object tracking unit, and storage medium
CN114401371B (en) * 2020-08-05 2024-03-26 深圳市浩瀚卓越科技有限公司 tracking control method, device, object tracking unit, and storage medium

Also Published As

Publication number Publication date
CN106851094A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
WO2018121385A1 (en) Information processing method and apparatus, and computer storage medium
EP3326360B1 (en) Image capturing apparatus and method of operating the same
US11012626B2 (en) Electronic device for providing quality-customized image based on at least two sets of parameters
US9692959B2 (en) Image processing apparatus and method
KR102524498B1 (en) The Electronic Device including the Dual Camera and Method for controlling the Dual Camera
KR102222073B1 (en) Method and electronic device for taking a photograph
US10956774B2 (en) Electronic device for acquiring image using plurality of cameras and method for processing image using the same
CN105282430B (en) Electronic device using composition information of photograph and photographing method using the same
TW201901527A (en) Video conference and video conference management method
US20150146078A1 (en) Shift camera focus based on speaker position
WO2018228330A1 (en) Focusing method and apparatus for realizing clear human face, and computer device
US20180077359A1 (en) Image processing method and apparatus and terminal device
CN104917959A (en) Photographing method and terminal
WO2021238351A1 (en) Image correction method and electronic apparatus
CN109981964B (en) Robot-based shooting method and shooting device and robot
WO2020082827A1 (en) Photographing method, device, terminal, and computer storage medium
TWI676113B (en) Preview method and device in iris recognition process
CN112840634A (en) Electronic device and method for obtaining image
WO2017128750A1 (en) Image collection method and image collection device
CN115484403B (en) Video recording method and related device
CN103780839A (en) Shooting method and terminal
US20150015724A1 (en) Electronic device and method for controlling image capturing
WO2021185374A1 (en) Image capturing method and electronic device
US10009545B2 (en) Image processing apparatus and method of operating the same
CN114868180A (en) Electronic device for changing display in designated area of display and operation method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17887308

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17887308

Country of ref document: EP

Kind code of ref document: A1