CN116193235A - Shooting method, shooting device, electronic equipment and storage medium - Google Patents

Shooting method, shooting device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116193235A
CN116193235A CN202111423178.3A CN202111423178A CN116193235A CN 116193235 A CN116193235 A CN 116193235A CN 202111423178 A CN202111423178 A CN 202111423178A CN 116193235 A CN116193235 A CN 116193235A
Authority
CN
China
Prior art keywords
target object
height
motion information
determining
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111423178.3A
Other languages
Chinese (zh)
Inventor
宋伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111423178.3A priority Critical patent/CN116193235A/en
Publication of CN116193235A publication Critical patent/CN116193235A/en
Pending legal-status Critical Current

Links

Images

Abstract

The disclosure relates to a shooting method, a shooting device, an electronic device and a storage medium, wherein the method is applied to a terminal device, and comprises the following steps: when a target object in a view-finding frame of a shooting program moves in the vertical direction, acquiring movement information of the target object; and triggering the shooting program to shoot an image under the condition that the motion information meets the preset requirement. Because the method automatically acquires the motion information of the target object and automatically determines the shooting time according to the motion information, the shooting time can be accurately determined, so that the high-quality image meeting the requirement is shot, and the method does not depend on shooting skills and proficiency of users, so that the quality of the shot image is greatly improved.

Description

Shooting method, shooting device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of shooting, and in particular relates to a shooting method, a shooting device, electronic equipment and a storage medium.
Background
Terminal devices such as smartphones have become an unavailable part of life of people, and people seem to be away from terminal devices such as smartphones in various scenes of life. The photographing function of the terminal device can photograph images and record life, and various photographing modes such as jumping by a photographer, capturing a photograph of the photographer in the air by the photographer, and the like have also been studied. However, the above-described various photographing methods depend on photographing skills and proficiency of the user, and thus cannot guarantee the image and efficiency of photographed pictures.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a photographing method, apparatus, electronic device, and storage medium to solve the drawbacks in the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided a photographing method, applied to a terminal device, including:
when a target object in a view-finding frame of a shooting program moves in the vertical direction, acquiring movement information of the target object;
and triggering the shooting program to shoot an image under the condition that the motion information meets the preset requirement.
In one embodiment, the terminal device has a dynamic vision sensor for acquiring motion information within the viewfinder;
the obtaining the motion information of the target object includes:
acquiring motion information of the target object acquired by the dynamic vision sensor;
and converting the motion information of the target object acquired by the dynamic vision sensor into the motion information of the target object in the view-finding frame.
In one embodiment, further comprising:
determining the movement speed of the target object according to the movement information of the target object;
and under the condition that the movement speed of the target object is zero, determining that the movement information meets the preset requirement.
In one embodiment, further comprising:
determining the movement speed of the target object according to the movement information of the target object;
determining a maximum height of the target object according to the initial height of the target object and the movement speed;
determining whether the motion information meets a preset requirement according to the motion information and the maximum height under the condition that the maximum height is lower than or equal to a target height calibrated in advance;
and under the condition that the maximum height is higher than a target height calibrated in advance, determining whether the motion information meets the preset requirement according to the motion information and the target height.
In one embodiment, further comprising:
and determining the initial height of the target object according to the preview image and/or the motion information in the view-finding frame.
In one embodiment, the determining the initial height of the target object according to the preview image in the viewfinder and the motion information includes:
dividing the preview image into a target object part and a background part, and determining a first initial height of the target object according to the target object part;
determining a second initial height of the target object according to the motion information;
and determining the initial height of the target object according to the first initial height and the second initial height.
In one embodiment, further comprising:
and determining the target height according to a height calibration instruction aiming at the view finding frame.
In one embodiment, the determining whether the motion information meets a preset requirement according to the motion information and the maximum height includes:
determining a motion height of the target object according to the initial height and the motion information;
under the condition that the movement height of the target object reaches the maximum height, determining that the movement information meets a preset requirement;
the determining whether the motion information meets the preset requirement according to the motion information and the target height comprises the following steps:
determining a motion height of the target object according to the initial height and the motion information;
and under the condition that the motion height of the target object reaches the target height, determining that the motion information meets the preset requirement.
According to a second aspect of an embodiment of the present disclosure, there is provided a photographing apparatus, applied to a terminal device, including:
the acquisition module is used for acquiring the motion information of a target object in a view-finding frame of a shooting program when the target object moves in the vertical direction;
and the shooting module is used for triggering the shooting program to shoot an image under the condition that the motion information meets the preset requirement.
In one example, the terminal device has a dynamic vision sensor for acquiring motion information within the viewfinder;
the acquisition module is specifically configured to:
acquiring motion information of the target object acquired by the dynamic vision sensor;
and converting the motion information of the target object acquired by the dynamic vision sensor into the motion information of the target object in the view-finding frame.
In one example, the apparatus further comprises a first motion information processing module for:
determining the movement speed of the target object according to the movement information of the target object;
and under the condition that the movement speed of the target object is zero, determining that the movement information meets the preset requirement.
In one example, the apparatus further comprises a second motion information processing module for:
determining the movement speed of the target object according to the movement information of the target object;
determining a maximum height of the target object according to the initial height of the target object and the movement speed;
determining whether the motion information meets a preset requirement according to the motion information and the maximum height under the condition that the maximum height is lower than or equal to a target height calibrated in advance;
and under the condition that the maximum height is higher than a target height calibrated in advance, determining whether the motion information meets the preset requirement according to the motion information and the target height.
In one example, the system further comprises an initial height module to:
and determining the initial height of the target object according to the preview image and/or the motion information in the view-finding frame.
In one example, the initial height module is specifically configured to:
dividing the preview image into a target object part and a background part, and determining a first initial height of the target object according to the target object part;
determining a second initial height of the target object according to the motion information;
and determining the initial height of the target object according to the first initial height and the second initial height.
In one example, the system further comprises a calibration module for:
and determining the target height according to a height calibration instruction aiming at the view finding frame.
In one example, the second motion information is used to determine whether the motion information meets a preset requirement according to the motion information and the maximum height, and is specifically used to:
determining a motion height of the target object according to the initial height and the motion information;
under the condition that the movement height of the target object reaches the maximum height, determining that the movement information meets a preset requirement;
the second motion information is used for determining whether the motion information meets a preset requirement according to the motion information and the target height, and is specifically used for:
determining a motion height of the target object according to the initial height and the motion information;
and under the condition that the motion height of the target object reaches the target height, determining that the motion information meets the preset requirement.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory for storing computer instructions executable on a processor for performing the image capturing method according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
when a target object in a view-finding frame of a shooting program moves in the vertical direction, the method acquires the movement information of the target object, and then triggers the shooting program to shoot an image under the condition that the movement information meets the preset requirement. Because the method automatically acquires the motion information of the target object and automatically determines the shooting time according to the motion information, the shooting time can be accurately determined, so that the high-quality image meeting the requirement is shot, and the method does not depend on shooting skills and proficiency of users, so that the quality of the shot image is greatly improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of a photographing method shown in an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of a motion information processing method according to an exemplary embodiment of the present disclosure;
fig. 3 is a schematic structural view of a photographing apparatus according to an exemplary embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Terminal devices such as smartphones have become an unavailable part of life of people, and people seem to be away from terminal devices such as smartphones in various scenes of life. The photographing function of the terminal device can photograph images and record life, and various photographing modes such as jumping by a photographer, capturing a photograph of the photographer in the air by the photographer, and the like have also been studied. However, the above-described various photographing methods depend on photographing skills and proficiency of the user, and thus the quality and efficiency of the photographed image cannot be ensured.
In a specific scenario, a photographer takes an image of a jump posture for a photographer, the photographer starts a photographing procedure and adjusts a photographing direction so that the photographer enters into a viewfinder, and then the photographer jumps, while the photographer notices a jump height of the photographer and manually triggers the photographing procedure at an appropriate height to perform photographing (for example, presses a photographing key). However, the time of the shot person in the air is very short, and the shot person cannot guarantee that shooting is accurately triggered at the moment of proper height, so that more satisfactory images can be shot only by repeated shooting, and even satisfactory images cannot be acquired by repeated shooting.
Based on this, in a first aspect, at least one embodiment of the present disclosure provides a photographing method, please refer to fig. 1, which illustrates a flow of the method, including steps S101 to S102.
The photographing method may be performed by a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or other terminal devices, for example, by a processor invoking computer readable instructions stored in a memory.
The terminal device has a photographing program, the photographing program may have a skip photographing mode, and the photographing method may be automatically performed when the skip photographing mode of the photographing program is started.
In step S101, when there is a movement in the vertical direction of a target object in a viewfinder of a photographing program, movement information of the target object is acquired.
The target object may be a photographer. When a plurality of objects exist in the view-finding frame, the depth of each object can be obtained, and the object with the smallest depth is determined as a target object; when a plurality of objects exist in the view-finding frame, one of the objects can be determined to be a target object according to the selected operation of the user. There is a vertical movement of the target object, which may be a jump of the target object.
When the motion information of the target object is acquired, the motion information can be acquired according to a certain frequency, namely, the motion information from the initial time of the motion or the time when the motion information is acquired last time to the current time is acquired every preset time.
In some embodiments, the terminal device has a dynamic vision sensor (Dynamic Vision Sensor, DVS) for acquiring motion information within the viewfinder. The dynamic vision sensor is a sensor based on motion perception, which only outputs the information of a moving object of a shooting picture, and the pixel part corresponding to the object which does not move does not output any information, so that the sensor can be ensured to output the motion information of the moving object at a very high frame rate (basically up to 1000 fps). The motion information may be an original position of a pixel corresponding to the moving object, and a motion distance and a motion direction of the pixel.
Therefore, when the motion information of the target object is acquired in this step, the motion information of the target object acquired by the dynamic vision sensor may be acquired first, and then the motion information of the target object acquired by the dynamic vision sensor may be converted into the motion information of the target object in the viewfinder. The relation between the motion information acquired by the dynamic vision sensor and the motion information in the view frame is preconfigured in the terminal equipment, so that the motion information of the target object acquired by the dynamic vision sensor can be converted into the motion information of the target object in the view frame according to the relation, namely, the pixel position, the motion distance and the motion direction in the DVS image are registered to the RGB image in the view frame.
In step S102, the shooting procedure is triggered to shoot an image if the motion information meets a preset requirement.
After the motion information of the target object is acquired in step S101, the motion information may be processed, so as to determine whether the motion information meets a preset requirement. The preset requirement may be preset by the user, for example, the preset requirement may refer to that the movement speed of the target object reaches a certain threshold value, or that the movement height of the target object reaches a certain threshold value. In other words, the preset requirement refers to a state that a user wants to capture when manually capturing an image of a jumping posture of a subject in the related art.
Triggering a shooting program to shoot an image, namely automatically shooting the image. In the jumping process of the target object, one image can be shot, or a plurality of images can be shot, namely, the motion information of the target object in the process can meet one-time preset requirements, or meet multiple preset requirements.
When a target object in a view-finding frame of a shooting program moves in the vertical direction, the method acquires the movement information of the target object, and then triggers the shooting program to shoot an image under the condition that the movement information meets the preset requirement. Because the method automatically acquires the motion information of the target object and automatically determines the shooting time according to the motion information, the shooting time can be accurately determined, so that the high-quality image meeting the requirement is shot, and the method does not depend on shooting skills and proficiency of users, so that the quality of the shot image is greatly improved.
In some embodiments of the present disclosure, the preset requirement may refer to that the user jumps to the highest point, so the motion information may be processed in the following manner, so as to determine whether the motion information of the target object meets the preset requirement: firstly, determining the movement speed of the target object according to the movement information of the target object; and then, under the condition that the movement speed of the target object is zero, determining that the movement information meets the preset requirement.
The user jumping process is divided into an upward movement sub-process and a downward movement sub-process, the upward movement ending time is the time when the user jumps to the highest point, the downward movement starting time is the time when the user jumps to the highest point, the upward movement speed is upward in the upward movement sub-process, the downward movement speed is downward in the downward movement sub-process, and the user speed is zero.
After the motion information of the target object is acquired for the first time, the motion speed of the target object from the initial time to the time when the motion information is acquired at this time can be determined, and the speed is determined to be the initial speed of the target object jumping upwards, so that the duration from the initial time to the highest point time (namely, the time when the speed is zero) can be calculated according to the initial speed, and the motion information is determined to meet the preset requirement when the motion duration of the target object meets the duration.
For example, the motion information includes a motion distance X of the target object in the viewfinder in the vertical direction, and the time interval t at which the motion information is acquired is known, and thus can be based onCalculating the movement velocity V from the movement distance and the time interval init :V init =X/t。
The time period T between the initial speed calculation initial time and the highest point time (i.e., the time at which the speed is zero) can be calculated according to the following formula: t=v init /g。
In this embodiment, the highest point of the movement of the target object is determined by focusing on the movement speed of the target object, which is simple and convenient, and very accurate to lock the moment of triggering shooting, thereby improving the quality and efficiency of the shot image.
In some embodiments of the present disclosure, the target height may be determined in advance according to a height calibration instruction for the viewfinder, for example, a user performs a calibration operation on a certain height in the viewfinder, so that a height calibration instruction may be generated. The preset requirement may mean that the user jumps to the highest point or jumps to the target height, and thus the motion information may be processed in a manner as shown in fig. 2, thereby determining whether the motion information of the target object meets the preset requirement, including steps S201 to S204.
In step S201, a movement speed of the target object is determined according to the movement information of the target object.
For example, the motion information includes a motion distance X of the target object in the viewfinder in the vertical direction, and a time interval t at which the motion information is acquired is known, so that the motion velocity V in the time interval can be calculated from the motion distance and the time interval init :V init =X/t。
In step S202, a maximum height of the target object is determined from the initial height of the target object and the movement speed.
Optionally, after the motion information of the target object is obtained for the first time, the motion speed of the target object from the initial time to the time when the motion information is obtained this time can be determined, and the speed is determined as the initial speed of the target object jumping upwards, so that the duration and the motion distance between the initial time and the highest point time (i.e. the time when the speed is zero) can be calculated according to the initial speed.
Can be according toThe following formula calculates the time period T between the initial speed calculation initial time and the highest point time (i.e., the time at which the speed is zero): t=v init And/g. The movement distance H between the initial velocity calculation initial time and the highest point time (i.e., the time at which the velocity is zero) can be calculated according to the following formula: h=v init 2 2g, then according to the distance H and the initial height H init Determination of maximum height H max :H+H init
Optionally, the initial height of the target object is determined in advance according to the preview image and/or the motion information in the viewfinder. In one example, the preview image is divided into a target object portion and a background portion, and a first initial height of the target object is determined according to the target object portion, for example, a pixel height of a lowest point of the target object portion in a viewfinder is taken as the first initial height; determining a second initial height of the target object according to the motion information, for example, determining the second initial height according to an initial position of a lowest point of a pixel part of the target object included in the motion information acquired for the first time; the determining of the initial height of the target object according to the first initial height and the second initial height may preset rules, for example, when there is coincidence between the first initial height and the second initial height, the coincident portion is taken as the initial height of the target object, and when there is no coincidence between the first initial height and the second initial height, the second initial height is taken as the initial height of the target object.
In step S203, if the maximum height is less than or equal to a target height calibrated in advance, it is determined whether the motion information meets a preset requirement according to the motion information and the maximum height.
In one example, the motion height of the target object is determined according to the initial height and the motion information, for example, the initial speed is determined according to the motion distance and the time interval for acquiring the motion information after the motion information is acquired for the first time, and then the motion height of the target object can be determined according to the initial speed and the motion time; and then determining that the motion information meets the preset requirement under the condition that the motion height of the target object reaches the maximum height.
Alternatively, it may be directly determined that the moving height of the target object reaches the maximum height after the moving time of the target object reaches the time period T between the initial time and the highest point time (i.e., the time at which the velocity is zero).
In step S204, if the maximum height is higher than a target height calibrated in advance, it is determined whether the motion information meets a preset requirement according to the motion information and the target height.
In one example, the motion height of the target object is determined according to the initial height and the motion information, for example, the initial speed is determined according to the motion distance and the time interval for acquiring the motion information after the motion information is acquired for the first time, and then the motion height of the target object can be determined according to the initial speed and the motion time; and then determining that the motion information meets the preset requirement under the condition that the motion height of the target object reaches the target height.
Alternatively, the target height H may be determined dest Then, according to the following formula, according to the initial height H init Target height H dest Determining a target time T to reach a target height dest
Figure BDA0003378149880000111
And when the movement time of the target object reaches the target time T dest And then, directly determining that the motion height of the target object reaches the target height.
In this embodiment, the user determines the target height through the calibration operation, where the target height is used to represent the shooting state wanted by the user, so that the image is shot after the target object jumps to the target height, and supplementary measures are also provided, that is, when the target object cannot jump to the target height, the image is shot when the target object jumps to the highest point, so that the problem that the image cannot be shot due to inaccurate calibration of the user or insufficient jump height of the target object is avoided, the success of one-time shooting is achieved, and the shooting efficiency and the user experience are improved.
According to a second aspect of the embodiments of the present disclosure, a photographing apparatus is provided, which is applied to a terminal device, please refer to fig. 3, the terminal device includes:
an obtaining module 301, configured to obtain motion information of a target object in a viewfinder of a shooting procedure when there is motion in a vertical direction of the target object;
and the shooting module 302 is configured to trigger the shooting program to shoot an image if the motion information meets a preset requirement.
In some embodiments of the present disclosure, the terminal device has a dynamic vision sensor for acquiring motion information within the viewfinder;
the acquisition module is specifically configured to:
acquiring motion information of the target object acquired by the dynamic vision sensor;
and converting the motion information of the target object acquired by the dynamic vision sensor into the motion information of the target object in the view-finding frame.
In some embodiments of the present disclosure, the method further includes a first motion information processing module for:
determining the movement speed of the target object according to the movement information of the target object;
and under the condition that the movement speed of the target object is zero, determining that the movement information meets the preset requirement.
In some embodiments of the present disclosure, a second motion information processing module is further included for:
determining the movement speed of the target object according to the movement information of the target object;
determining a maximum height of the target object according to the initial height of the target object and the movement speed;
determining whether the motion information meets a preset requirement according to the motion information and the maximum height under the condition that the maximum height is lower than or equal to a target height calibrated in advance;
and under the condition that the maximum height is higher than a target height calibrated in advance, determining whether the motion information meets the preset requirement according to the motion information and the target height.
In some embodiments of the present disclosure, an initial height module is further included for:
and determining the initial height of the target object according to the preview image and/or the motion information in the view-finding frame.
In some embodiments of the present disclosure, the initial height module is specifically configured to:
dividing the preview image into a target object part and a background part, and determining a first initial height of the target object according to the target object part;
determining a second initial height of the target object according to the motion information;
and determining the initial height of the target object according to the first initial height and the second initial height.
In some embodiments of the present disclosure, the system further comprises a calibration module for:
and determining the target height according to a height calibration instruction aiming at the view finding frame.
In some embodiments of the present disclosure, the second motion information is used to determine, according to the motion information and the maximum height, whether the motion information meets a preset requirement, specifically for:
determining a motion height of the target object according to the initial height and the motion information;
under the condition that the movement height of the target object reaches the maximum height, determining that the movement information meets a preset requirement;
the second motion information is used for determining whether the motion information meets a preset requirement according to the motion information and the target height, and is specifically used for:
determining a motion height of the target object according to the initial height and the motion information;
and under the condition that the motion height of the target object reaches the target height, determining that the motion information meets the preset requirement.
The specific manner in which the various modules perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method of the first aspect and will not be described in detail here.
In accordance with a third aspect of embodiments of the present disclosure, reference is made to fig. 4, which schematically illustrates a block diagram of an electronic device. For example, apparatus 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at device 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 406 provides power to the various components of the device 400. The power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the device 400, the sensor assembly 414 may also detect the change in position of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may also include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication part 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the power supply methods of electronic devices described above.
In a fourth aspect, the present disclosure also provides, in an exemplary embodiment, a non-transitory computer-readable storage medium, such as memory 404, comprising instructions executable by processor 420 of apparatus 400 to perform the method of powering an electronic device described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A photographing method, applied to a terminal device, comprising:
when a target object in a view-finding frame of a shooting program moves in the vertical direction, acquiring movement information of the target object;
and triggering the shooting program to shoot an image under the condition that the motion information meets the preset requirement.
2. The photographing method of claim 1, wherein the terminal device has a dynamic vision sensor for acquiring movement information within the viewfinder;
the obtaining the motion information of the target object includes:
acquiring motion information of the target object acquired by the dynamic vision sensor;
and converting the motion information of the target object acquired by the dynamic vision sensor into the motion information of the target object in the view-finding frame.
3. The photographing method according to claim 1 or 2, characterized by further comprising:
determining the movement speed of the target object according to the movement information of the target object;
and under the condition that the movement speed of the target object is zero, determining that the movement information meets the preset requirement.
4. The photographing method according to claim 1 or 2, characterized by further comprising:
determining the movement speed of the target object according to the movement information of the target object;
determining a maximum height of the target object according to the initial height of the target object and the movement speed;
determining whether the motion information meets a preset requirement according to the motion information and the maximum height under the condition that the maximum height is lower than or equal to a target height calibrated in advance;
and under the condition that the maximum height is higher than a target height calibrated in advance, determining whether the motion information meets the preset requirement according to the motion information and the target height.
5. The photographing method as claimed in claim 4, further comprising:
and determining the initial height of the target object according to the preview image and/or the motion information in the view-finding frame.
6. The photographing method of claim 5, wherein said determining an initial height of said target object based on said preview image in said viewfinder and said motion information comprises:
dividing the preview image into a target object part and a background part, and determining a first initial height of the target object according to the target object part;
determining a second initial height of the target object according to the motion information;
and determining the initial height of the target object according to the first initial height and the second initial height.
7. The photographing method as claimed in claim 4, further comprising:
and determining the target height according to a height calibration instruction aiming at the view finding frame.
8. The photographing method of claim 4, wherein said determining whether said motion information satisfies a preset requirement based on said motion information and said maximum height comprises:
determining a motion height of the target object according to the initial height and the motion information;
under the condition that the movement height of the target object reaches the maximum height, determining that the movement information meets a preset requirement;
the determining whether the motion information meets the preset requirement according to the motion information and the target height comprises the following steps:
determining a motion height of the target object according to the initial height and the motion information;
and under the condition that the motion height of the target object reaches the target height, determining that the motion information meets the preset requirement.
9. A photographing apparatus, characterized by being applied to a terminal device, comprising:
the acquisition module is used for acquiring the motion information of a target object in a view-finding frame of a shooting program when the target object moves in the vertical direction;
and the shooting module is used for triggering the shooting program to shoot an image under the condition that the motion information meets the preset requirement.
10. The photographing device of claim 9, wherein the terminal equipment has a dynamic vision sensor for acquiring movement information within the viewfinder;
the acquisition module is specifically configured to:
acquiring motion information of the target object acquired by the dynamic vision sensor;
and converting the motion information of the target object acquired by the dynamic vision sensor into the motion information of the target object in the view-finding frame.
11. The photographing device of claim 9 or 10, further comprising a first motion information processing module configured to:
determining the movement speed of the target object according to the movement information of the target object;
and under the condition that the movement speed of the target object is zero, determining that the movement information meets the preset requirement.
12. The photographing device of claim 9 or 10, further comprising a second motion information processing module configured to:
determining the movement speed of the target object according to the movement information of the target object;
determining a maximum height of the target object according to the initial height of the target object and the movement speed;
determining whether the motion information meets a preset requirement according to the motion information and the maximum height under the condition that the maximum height is lower than or equal to a target height calibrated in advance;
and under the condition that the maximum height is higher than a target height calibrated in advance, determining whether the motion information meets the preset requirement according to the motion information and the target height.
13. The photographing device of claim 12, further comprising an initial height module for:
and determining the initial height of the target object according to the preview image and/or the motion information in the view-finding frame.
14. The photographing device of claim 13, wherein the initial height module is specifically configured to:
dividing the preview image into a target object part and a background part, and determining a first initial height of the target object according to the target object part;
determining a second initial height of the target object according to the motion information;
and determining the initial height of the target object according to the first initial height and the second initial height.
15. The photographing device of claim 12, further comprising a calibration module for:
and determining the target height according to a height calibration instruction aiming at the view finding frame.
16. The shooting device according to claim 12, wherein the second motion information is used for determining whether the motion information meets a preset requirement according to the motion information and the maximum height, specifically for:
determining a motion height of the target object according to the initial height and the motion information;
under the condition that the movement height of the target object reaches the maximum height, determining that the movement information meets a preset requirement;
the second motion information is used for determining whether the motion information meets a preset requirement according to the motion information and the target height, and is specifically used for:
determining a motion height of the target object according to the initial height and the motion information;
and under the condition that the motion height of the target object reaches the target height, determining that the motion information meets the preset requirement.
17. An electronic device comprising a memory, a processor for storing computer instructions executable on the processor, the processor for performing the method of photographing according to any of claims 1 to 8.
18. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any one of claims 1 to 8.
CN202111423178.3A 2021-11-26 2021-11-26 Shooting method, shooting device, electronic equipment and storage medium Pending CN116193235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111423178.3A CN116193235A (en) 2021-11-26 2021-11-26 Shooting method, shooting device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111423178.3A CN116193235A (en) 2021-11-26 2021-11-26 Shooting method, shooting device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116193235A true CN116193235A (en) 2023-05-30

Family

ID=86436938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111423178.3A Pending CN116193235A (en) 2021-11-26 2021-11-26 Shooting method, shooting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116193235A (en)

Similar Documents

Publication Publication Date Title
EP3032821B1 (en) Method and device for shooting a picture
CN108419016B (en) Shooting method and device and terminal
US11061202B2 (en) Methods and devices for adjusting lens position
CN106408603B (en) Shooting method and device
CN106210496B (en) Photo shooting method and device
EP3179711A2 (en) Method and apparatus for preventing photograph from being shielded
EP2991336A1 (en) Image capturing method and apparatus
CN108462833B (en) Photographing method, photographing device and computer-readable storage medium
CN107463052B (en) Shooting exposure method and device
US11310443B2 (en) Video processing method, apparatus and storage medium
US20170054906A1 (en) Method and device for generating a panorama
CN111385456A (en) Photographing preview method and device and storage medium
CN105959563B (en) Image storage method and image storage device
CN107241535B (en) Flash lamp adjusting device and terminal equipment
CN114820296A (en) Image processing method and device, electronic device and storage medium
CN114666490B (en) Focusing method, focusing device, electronic equipment and storage medium
US11617023B2 (en) Method for brightness enhancement of preview image, apparatus, and medium
CN111698414B (en) Image signal processing method and device, electronic device and readable storage medium
CN116193235A (en) Shooting method, shooting device, electronic equipment and storage medium
CN107682623B (en) Photographing method and device
CN108108668B (en) Age prediction method and device based on image
CN106131403B (en) Touch focusing method and device
CN108206910B (en) Image shooting method and device
CN114339017B (en) Distant view focusing method, device and storage medium
CN106713748B (en) Method and device for sending pictures

Legal Events

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