CN117956268A - Preview frame rate control method and device thereof - Google Patents
Preview frame rate control method and device thereof Download PDFInfo
- Publication number
- CN117956268A CN117956268A CN202211339947.6A CN202211339947A CN117956268A CN 117956268 A CN117956268 A CN 117956268A CN 202211339947 A CN202211339947 A CN 202211339947A CN 117956268 A CN117956268 A CN 117956268A
- Authority
- CN
- China
- Prior art keywords
- preview
- frame rate
- image
- acquisition device
- change information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000008859 change Effects 0.000 claims abstract description 119
- 230000001960 triggered effect Effects 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 11
- 230000001133 acceleration Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Studio Devices (AREA)
Abstract
The application relates to a preview frame rate control method and a device thereof. Wherein the method comprises the following steps: responding to the triggering of the image acquisition device to preview the image, and determining state change information of the image acquisition device; the state change information includes at least one of: position change information and angle change information; acquiring multi-frame preview images acquired by an image acquisition device; and controlling the preview frame rate of the image acquisition device according to the state change information of the image acquisition device and/or the content of the multi-frame preview image. The application can reduce the preview frame rate in the state of previewing still pictures by the image acquisition device, can effectively reduce the power consumption during previewing, has less influence on the fluency experience of previewing, and effectively combines the fluency of previewing and the power consumption of equipment.
Description
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a preview frame rate control method and a preview frame rate control device, which can be suitable for shooting preview and monitoring preview scenes of an image acquisition device.
Background
With the rapid development of intelligent terminal technology and the diversity demands of users, photographing functions have become indispensable functions on a plurality of terminal devices (e.g., mobile terminals, camera devices, etc.). The preview picture of the terminal equipment when photographing determines the cognition of the user on the photographing result of the current environment, and if a large amount of noise appears in the preview interface, the experience and the confidence of the user when photographing can be affected.
In the related art, the problem that a preview screen is noisy enough to ensure a preview effect is generally solved by: the preview frame rate of the image acquisition device (such as a camera) on the terminal equipment is adjusted according to the ambient brightness, so that the preview frame rate can be reduced at low brightness to obtain better image quality. However, this reduces the preview frame rate only in the scene with poor ambient light, and does not give consideration to the power consumption of the terminal device in other situations, but the power consumption of the terminal device is always a problem of concern in the industry.
Disclosure of Invention
In order to overcome the problems in the related art, the present application provides a preview frame rate control method and apparatus thereof.
According to a first aspect of an embodiment of the present application, there is provided a preview frame rate control method, including:
Responding to the triggering of the image acquisition device to preview the image, and determining state change information of the image acquisition device; the state change information includes at least one of: position change information and angle change information;
acquiring multi-frame preview images acquired by the image acquisition device;
And controlling the preview frame rate of the image acquisition device according to the state change information of the image acquisition device and/or the content of the multi-frame preview image.
According to a second aspect of an embodiment of the present application, there is provided a preview frame rate control apparatus including:
the determining module is used for determining state change information of the image acquisition device when the image acquisition device is triggered to preview the image; the state change information includes at least one of: position change information and angle change information;
The acquisition module is used for acquiring the multi-frame preview images acquired by the image acquisition device;
and the control module is used for controlling the preview frame rate of the image acquisition device according to the state change information of the image acquisition device and/or the content of the multi-frame preview image.
According to a third aspect of an embodiment of the present application, there is provided a terminal device including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in the first aspect above.
According to a fourth aspect of embodiments of the present application, there is provided a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor of a terminal device, enable the terminal device to perform the method as described in the foregoing first aspect.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
When the image acquisition device is triggered to preview the image, whether the image acquisition device moves in position or angle can be judged according to the state change information of the image acquisition device, so that on the basis of the state change judgment result of the image acquisition device, whether the preview content changes is judged on the basis of the multi-frame preview images acquired by the image acquisition device, and the current preview frame rate of the image acquisition device is correspondingly adjusted on the basis of the state change judgment result of the image acquisition device and the preview content change condition. Therefore, the application adjusts the preview frame rate based on the state change of the image acquisition device and the preview picture content, so that the preview frame rate of the image acquisition device can be reduced in the scene of the specific preview content, the smoothness of preview is considered, the equipment power consumption of the image acquisition device during preview can be effectively reduced, and the user experience can be better improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a preview frame rate control method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating another preview frame rate control method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating yet another preview frame rate control method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a preview frame rate control device according to an exemplary embodiment.
Fig. 5 is a block diagram of a terminal device according to an exemplary embodiment.
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 do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Fig. 1 is a flowchart illustrating a preview frame rate control method according to an exemplary embodiment. It should be noted that, the preview frame rate control method is used in a terminal device, and in the embodiment of the present application, the terminal device may be a mobile terminal, a camera device, or the like. The image capturing device may be a device with a photographing or image capturing function on the terminal device, for example, the image capturing device may be a camera. It should be further noted that, the preview frame rate control method of the embodiment of the present application is applicable to photographing preview and monitoring preview scenes of an image acquisition device.
As shown in fig. 1, the preview frame rate control method may include, but is not limited to, the following steps.
In step 101, state change information of the image capturing device is determined in response to the image capturing device being triggered to perform an image preview.
Wherein, in the embodiment of the application, the state change information can include, but is not limited to, at least one of the following: position change information, angle change information, and the like.
For example, the image acquisition device is used as a camera on the mobile terminal, the mobile terminal is provided with a camera application program, and when a user takes a picture through the camera application program, the camera is triggered to preview an image, namely a preview image appears in the camera application program. In order to reduce the preview frame rate and give consideration to the smoothness of the preview in the scene of specific preview content and effectively reduce the power consumption of the image acquisition device during the preview, the application can determine the state change information of the image acquisition device, such as whether the position of the image acquisition device moves, whether the angle of the image acquisition device moves, and the like, when the image acquisition device is triggered to preview the image, so as to determine whether the preview frame rate needs to be adjusted based on the state change information of the image acquisition device.
In step 102, a multi-frame preview image acquired by an image acquisition device is acquired.
In some embodiments of the present application, the multi-frame preview image may be at least three frames of preview images, for example, the multi-frame preview image may be three consecutive frames of preview images, or the multi-frame preview image may be five consecutive frames of preview images. In the description of the present application, the meaning of "at least three frames" is three frames or more, for example, three frames, four frames, etc., unless explicitly defined otherwise.
In step 103, the preview frame rate of the image capturing device is controlled according to the state change information of the image capturing device and/or the content of the multi-frame preview image.
Optionally, whether the position or the angle of the image acquisition device moves can be judged according to the state change information of the image acquisition device, so that whether the preview content changes is judged based on the state change judgment result of the image acquisition device, based on the multi-frame preview image acquired by the image acquisition device, so that the current preview frame rate of the image acquisition device is correspondingly adjusted based on the state change judgment result of the image acquisition device and the change condition of the preview content, so that the preview frame rate of the image acquisition device can be reduced under the scene of specific preview content, the smoothness of preview is considered, the equipment power consumption of the image acquisition device during preview can be effectively reduced, and therefore, the user experience can be better improved.
By implementing the embodiment of the application, when the image acquisition device is triggered to preview the image, whether the image acquisition device moves in position or angle can be judged according to the state change information of the image acquisition device, so that on the basis of the state change judgment result of the image acquisition device, whether the preview content changes is judged on the basis of the multi-frame preview image acquired by the image acquisition device, and the current preview frame rate of the image acquisition device is correspondingly adjusted on the basis of the state change judgment result of the image acquisition device and the change condition of the preview content. Therefore, the application adjusts the preview frame rate based on the state change of the image acquisition device and the preview picture content, so that the preview frame rate of the image acquisition device can be reduced in the scene of the specific preview content, the smoothness of preview is considered, the equipment power consumption of the image acquisition device during preview can be effectively reduced, and the user experience can be better improved.
It should be noted that the image capturing device is usually carried on the terminal device. For example, taking an image acquisition device as a camera, the camera on the smart phone can be used for realizing a photographing function by the smart phone. For another example, the image acquisition device may be a monitoring camera device, and the monitoring preview may be implemented by the image acquisition device. In embodiments of the present application, a sensor carried on the image capture device may be utilized to determine state change information of the image capture device. In some embodiments of the present application, as shown in fig. 2, the preview frame rate control method may include, but is not limited to, the following steps.
In step 201, in response to the image capturing device being triggered to perform image preview, acceleration sensor data and gyroscope sensor data on a terminal device carrying the image capturing device are acquired.
In an embodiment of the present application, the terminal device may be a mobile terminal, a camera device, or the like. The image capturing device may be a device with a photographing or image capturing function on the terminal device, for example, the image capturing device may be a camera.
Optionally, when the image capturing device is triggered to preview an image, sensor data, such as acceleration sensor data and gyroscope sensor data, reported by a terminal carrying the image capturing device may be obtained, so as to determine whether the state change information of the image capturing device, such as whether a position and/or an angle movement occurs, by using the sensor data.
In step 202, state change information of the image capturing device is determined based on the acceleration sensor data and the gyro sensor data.
Alternatively, the acceleration sensor data may be used to determine whether the image capturing device changes position, and the gyroscope sensor data may be used to determine whether the image capturing device changes angle, so that state change information of the image capturing device may be obtained.
Wherein, in an embodiment of the present application, the state change information includes, but is not limited to, at least one of: position change information, angle change information, and the like. The position change information may be understood as information indicating whether the position of the image capturing device has changed, including, for example, that the position of the image capturing device has moved or that the position of the image capturing device has not moved. The angle change information may be understood as information indicating whether the angle of the image pickup device is changed, including, for example, that the angle of the image pickup device is moved or that the angle of the image pickup device is not moved.
In step 203, a plurality of frames of preview images acquired by the image acquisition device are acquired.
In the embodiment of the present application, step 203 may be implemented in any manner of each embodiment of the present application, which is not limited to this embodiment, and is not described in detail.
In step 204, the preview frame rate of the image capturing device is controlled according to the state change information of the image capturing device and/or the content of the multi-frame preview image.
In the embodiment of the present application, step 204 may be implemented in any manner of each embodiment of the present application, which is not limited to this embodiment, and is not repeated.
By implementing the embodiment of the application, the state change information of the image acquisition device can be determined by using the sensor carried on the image acquisition device, and the preview frame rate is adjusted based on the state change of the image acquisition device and the preview picture content, so that the preview frame rate of the image acquisition device can be reduced in the scene of specific preview content, the smoothness of preview is considered, the equipment power consumption of the image acquisition device during preview can be effectively reduced, and the user experience can be better improved.
It should be noted that, in the embodiment of the present application, the state change information may include position change information and angle change information, and it may be determined that the image capturing apparatus is not moved in position and is not moved in angle by using the position change information and the angle change information, in which case the preview frame rate may be adjusted based on the current preview frame rate and the preview content of the image capturing apparatus. As shown in fig. 3, the preview frame rate control method may include, but is not limited to, the following steps.
In step 301, state change information of an image capture device is determined in response to the image capture device being triggered to perform an image preview.
Wherein, in an embodiment of the present application, the state change information includes position change information and angle change information.
In the embodiment of the present application, step 301 may be implemented in any manner of each embodiment of the present application, which is not limited to this embodiment, and is not described in detail.
In step 302, a multi-frame preview image acquired by an image acquisition device is acquired.
In the embodiment of the present application, step 302 may be implemented in any manner of each embodiment of the present application, which is not limited to this embodiment, and is not described in detail.
In step 303, it is determined that the image capturing device does not perform position movement and does not perform angular movement according to the position change information and the angle change information.
In the embodiment of the present application, the position change information may be understood as information indicating whether the position of the image capturing device is changed, for example, including that the position of the image capturing device is moved or that the position of the image capturing device is not moved. The angle change information may be understood as information indicating whether the angle of the image pickup device is changed, including, for example, that the angle of the image pickup device is moved or that the angle of the image pickup device is not moved.
Alternatively, when determining the position change information and the angle change information of the image capturing device, it may be determined that the image capturing device is not moved in position and is not moved in angle, that is, it is determined that the image capturing device is not moved, according to the position change information and the angle change information.
In step 304, a current preview frame rate of the image capture device is determined.
Alternatively, the execution order of the steps 303 and 304 is not particularly limited, and in one implementation, the steps 303 and 304 may be performed first, or the steps 304 and 303 may be performed first, or the steps 303 and 304 may be performed simultaneously.
In step 305, the preview frame rate of the image capture device is adjusted based on the current preview frame rate of the image capture device and the content of the multi-frame preview image.
Optionally, when it is determined that the image capturing device does not perform position movement and does not perform angle movement according to the position change information and the angle change information, and the current preview frame rate of the image capturing device is determined, the preview frame rate of the image capturing device may be adjusted according to the current preview frame rate of the image capturing device and the content of the multi-frame preview image.
In one implementation, in response to the current preview frame rate being a first preview frame rate, extracting feature points in the multi-frame preview image; controlling the current preview frame rate of the image acquisition device to adjust from the first preview frame rate to the second preview frame rate in response to determining that the content in the multi-frame preview image is unchanged based on the feature points; wherein the first preview frame rate is greater than the second preview frame rate.
As an example, the first preview frame rate may be understood as a normal preview frame rate of the image capturing device, for example, the first preview frame rate may be 30fps, or the first preview frame rate may also be 60fps, wherein the fps is a unit of frame rate.
Alternatively, in the case that the position of the image capturing device is determined not to be moved and the angle of the image capturing device is determined not to be moved according to the position change information and the angle change information, and in the case that the current preview frame rate of the image capturing device is the first preview frame rate, whether the preview content is still or not may be determined, for example, whether the content in the multi-frame preview image is changed or not may be determined by extracting a feature point in the multi-frame preview image, based on the feature point, when it is determined that the content in the multi-frame preview image is not changed, the current preview frame rate of the image capturing device may be controlled to be adjusted from the first preview frame rate to the second preview frame rate, that is, the preview frame rate of the image capturing device may be reduced.
For example, taking a multi-frame preview image as a continuous three-frame preview image as an example, when it is determined that the image capturing device does not generate position movement and does not generate angle movement according to the position change information and the angle change information, and when the current preview frame rate of the image capturing device is the normal preview frame rate, feature points in the continuous three-frame preview image captured by the image capturing device can be extracted, and it is determined that the content of the continuous three-frame preview image is not changed based on the feature points in each frame of preview image, that is, the picture content is still, that is, the preview frame rate of the image capturing device can be reduced.
In an embodiment of the application, the value of the second preview frame rate may be determined based on hardware of the image capturing device and/or hardware of a display screen in the terminal device. For example, the lowest value of the second preview frame rate may be determined, such as ISP (IMAGE SIGNAL Processor) hardware physical parameters and/or display parameters of the display screen in the image acquisition device. Alternatively, the preview frame rate may be adjusted stepwise or cross-amplitude (i.e., directly in place) depending on whether the hardware supports stepwise or cross-amplitude adjustment of the preview frame rate. For example, in the case where the image capture device supports a gradual adjustment of the preview frame rate, the current preview frame rate of the image capture device may be gradually adjusted from the first preview frame rate to the second preview frame rate. For another example, in the case where the image capture device supports cross-magnitude adjustment of the preview frame rate, the current preview frame rate of the image capture device may be adjusted directly from the first preview frame rate to the second preview frame rate.
In another implementation, in response to the current preview frame rate being the second preview frame rate, extracting feature points in the multi-frame preview image; and controlling the current preview frame rate of the image acquisition device to be adjusted from the second preview frame rate to the first preview frame rate in response to determining that at least one frame of image content in the multi-frame preview image changes based on the feature points.
Optionally, in the case that the position of the image capturing device is determined to be not moved and the angle of the image capturing device is determined to be not moved according to the position change information and the angle change information, and in the case that the current preview frame rate of the image capturing device is the second preview frame rate, for example, in the case that the position of the image capturing device is determined to be not moved and the angle of the image capturing device is determined to be not moved according to the position change information and the angle change information, and the preview frame rate of the image capturing device is adjusted from the first preview frame rate to the second preview frame rate, so that if it is determined that there is a movement of a feature point of an image, that is, it is determined that the content of the preview image is changed (that is, updated), at this time, the current preview frame rate of the image capturing device can be controlled to be adjusted from the second preview frame rate to the first preview frame rate, for example, the original normal preview frame rate (for example, the first preview frame rate) of the image capturing device can be controlled.
In some embodiments of the present application, the preview frame rate of the image capturing device may be controlled to be adjusted to the third preview frame rate in determining that the image capturing device is in a moving state according to at least one of the position change information and the angle change information among the state change information. Alternatively, when the position of the image capturing device is moved and/or the angle of the image capturing device is moved, the image capturing device may be considered to be in a moving state, and at this time, the preview frame rate of the image capturing device may be adjusted to a third preview frame rate, which may be a commonly used preview frame rate, for example, the third preview frame rate may be the same as or different from the first preview frame rate, and the third preview frame rate is greater than the second preview frame rate.
For example, taking an image capturing device as a camera, and taking a terminal device as a mobile terminal as an example, under the condition that the camera of the terminal device is at a normal preview frame rate (i.e., the first preview frame rate above), if the position and angle of the terminal device (or the camera) are not moved, feature points in the image can be extracted according to the image captured by the camera preview, whether the content of the preview image is still or not can be determined by using the feature points, if three (or five) continuous preview images determine that the content of the image is still, the preview frame rate of the camera can be reduced, for example, to a second preview frame rate. Under the condition of low preview frame rate (such as the second preview frame rate), it is judged that a frame of preview image feature point moves, that is, it is judged that the picture content is updated, that is, the original normal preview frame rate is restored, for example, the first preview frame rate is restored.
By implementing the embodiment of the application, the preview frame rate is reduced in the state that the image acquisition device previews still pictures, the power consumption during previewing can be effectively reduced, and the influence on the fluency experience of previewing is small, namely, the fluency of previewing and the power consumption of equipment are effectively considered.
Fig. 4 is a block diagram illustrating a preview frame rate control device according to an exemplary embodiment. Referring to fig. 4, the apparatus includes: a determining module 401, an acquiring module 402 and a control module 403.
The determining module 401 is configured to determine state change information of the image capturing device when the image capturing device is triggered to preview an image; the state change information includes at least one of: position change information and angle change information.
In one implementation, the implementation of determining the state change information of the image capturing device by the determining module 401 may be as follows: acquiring data of an acceleration sensor and data of a gyroscope sensor on terminal equipment bearing an image acquisition device; and determining state change information of the image acquisition device according to the acceleration sensor data and the gyroscope sensor data.
The acquisition module 402 is configured to acquire a plurality of frames of preview images acquired by the image acquisition device.
The control module 403 is configured to control a preview frame rate of the image capturing device according to status change information of the image capturing device and/or content of the multi-frame preview image.
In one implementation, the state change information includes position change information and angle change information. The control module 403 may determine that the image capturing device does not have a position movement and does not have an angle movement according to the position change information and the angle change information; determining the current preview frame rate of the image acquisition device; and adjusting the preview frame rate of the image acquisition device according to the current preview frame rate of the image acquisition device and the content of the multi-frame preview image.
In one possible implementation, the control module 403 may adjust the preview frame rate of the image capturing device according to the current preview frame rate of the image capturing device and the content of the multiple frames of preview images as follows: responding to the current preview frame rate as a first preview frame rate, and extracting feature points in the multi-frame preview image; controlling the current preview frame rate of the image acquisition device to adjust from the first preview frame rate to the second preview frame rate in response to determining that the content in the multi-frame preview image is unchanged based on the feature points; wherein the first preview frame rate is greater than the second preview frame rate.
In another possible implementation manner, the control module 403 adjusts the preview frame rate of the image capturing device according to the current preview frame rate of the image capturing device and the content of the multi-frame preview image, which may be as follows: responding to the current preview frame rate as a second preview frame rate, and extracting feature points in the multi-frame preview image; and controlling the current preview frame rate of the image acquisition device to be adjusted from the second preview frame rate to the first preview frame rate in response to determining that at least one frame of image content in the multi-frame preview image changes based on the feature points.
In one implementation, the control module 403 may control the preview frame rate of the image capturing device according to the state change information of the image capturing device and/or the content of the multi-frame preview image as follows: and determining that the image acquisition device is in a moving state according to the state change information, and controlling the preview frame rate of the image acquisition device to be adjusted to a third preview frame rate.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
By implementing the embodiment of the application, when the image acquisition device is triggered to preview the image, whether the image acquisition device moves in position or angle can be judged according to the state change information of the image acquisition device, so that on the basis of the state change judgment result of the image acquisition device, whether the preview content changes is judged on the basis of the multi-frame preview image acquired by the image acquisition device, and the current preview frame rate of the image acquisition device is correspondingly adjusted on the basis of the state change judgment result of the image acquisition device and the change condition of the preview content. Therefore, the application adjusts the preview frame rate based on the state change of the image acquisition device and the preview picture content, so that the preview frame rate of the image acquisition device can be reduced in the scene of the specific preview content, the smoothness of preview is considered, the equipment power consumption of the image acquisition device during preview can be effectively reduced, and the user experience can be better improved.
Fig. 5 is a block diagram of a terminal device 500, according to an example embodiment. For example, the terminal device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 5, a terminal device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the terminal device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interactions between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
Memory 504 is configured to store various types of data to support operations at device 500. Examples of such data include instructions for any application or method operating on the terminal device 500, contact data, phonebook data, messages, pictures, video, and the like. The memory 504 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 506 provides power to the various components of the terminal device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device 500.
The multimedia component 508 comprises a screen between the terminal device 500 and the user providing 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 touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operational mode, such as a shooting 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 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the terminal device 500 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 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further comprises a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 514 includes one or more sensors for providing status assessment of various aspects of the terminal device 500. For example, the sensor assembly 514 may detect the on/off state of the device 500, the relative positioning of the components, such as the display and keypad of the terminal device 500, the sensor assembly 514 may also detect the change in position of the terminal device 500 or a component of the terminal device 500, the presence or absence of a user's contact with the terminal device 500, the orientation or acceleration/deceleration of the terminal device 500, and the change in temperature of the terminal device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 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 514 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the terminal device 500 and other devices, either wired or wireless. The terminal device 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 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 terminal device 500 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 executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 504, comprising instructions executable by processor 520 of terminal device 500 to perform the above-described method. 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 application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (10)
1.A preview frame rate control method, comprising:
Responding to the triggering of the image acquisition device to preview the image, and determining state change information of the image acquisition device; the state change information includes at least one of: position change information and angle change information;
acquiring multi-frame preview images acquired by the image acquisition device;
And controlling the preview frame rate of the image acquisition device according to the state change information of the image acquisition device and/or the content of the multi-frame preview image.
2. The method of claim 1, wherein the determining the state change information of the image acquisition device comprises:
Acquiring data of an acceleration sensor and data of a gyroscope sensor on terminal equipment bearing the image acquisition device;
And determining state change information of the image acquisition device according to the acceleration sensor data and the gyroscope sensor data.
3. The method of claim 1, wherein the state change information includes position change information and angle change information; the controlling the preview frame rate of the image acquisition device according to the state change information of the image acquisition device and/or the content of the multi-frame preview image comprises the following steps:
Determining that the image acquisition device does not generate position movement and does not generate angle movement according to the position change information and the angle change information;
Determining a current preview frame rate of the image acquisition device;
And adjusting the preview frame rate of the image acquisition device according to the current preview frame rate of the image acquisition device and the content of the multi-frame preview image.
4. The method of claim 3, wherein said adjusting the preview frame rate of the image capture device based on the current preview frame rate of the image capture device and the content of the multi-frame preview image comprises:
responding to the current preview frame rate as a first preview frame rate, and extracting feature points in the multi-frame preview image;
Controlling the current preview frame rate of the image acquisition device to be adjusted from the first preview frame rate to a second preview frame rate in response to determining that the content in the multi-frame preview image is unchanged based on the feature points; wherein the first preview frame rate is greater than the second preview frame rate.
5. The method of claim 3 or 4, wherein said adjusting the preview frame rate of the image capturing device according to the current preview frame rate of the image capturing device and the content of the multi-frame preview image comprises:
Responding to the current preview frame rate as a second preview frame rate, and extracting feature points in the multi-frame preview image;
And controlling the current preview frame rate of the image acquisition device to be adjusted from the second preview frame rate to the first preview frame rate in response to the fact that at least one frame of image content in the multi-frame preview image is determined to be changed based on the feature points.
6. The method according to claim 1, wherein controlling the preview frame rate of the image capturing device according to the state change information of the image capturing device and/or the content of the multi-frame preview image includes:
and determining that the image acquisition device is in a moving state according to the state change information, and controlling the preview frame rate of the image acquisition device to be adjusted to a third preview frame rate.
7. The method of claim 6, wherein the third preview frame rate is the same as the first preview frame rate or the third preview frame rate is different from the first preview frame rate; and wherein the third preview frame rate is greater than the second preview frame rate.
8. A preview frame rate control apparatus, comprising:
the determining module is used for determining state change information of the image acquisition device when the image acquisition device is triggered to preview the image; the state change information includes at least one of: position change information and angle change information;
The acquisition module is used for acquiring the multi-frame preview images acquired by the image acquisition device;
and the control module is used for controlling the preview frame rate of the image acquisition device according to the state change information of the image acquisition device and/or the content of the multi-frame preview image.
9. A terminal device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
10. A non-transitory computer readable storage medium storing computer instructions which, when executed by a processor of a terminal device, enable the terminal device to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211339947.6A CN117956268A (en) | 2022-10-27 | 2022-10-27 | Preview frame rate control method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211339947.6A CN117956268A (en) | 2022-10-27 | 2022-10-27 | Preview frame rate control method and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117956268A true CN117956268A (en) | 2024-04-30 |
Family
ID=90802505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211339947.6A Pending CN117956268A (en) | 2022-10-27 | 2022-10-27 | Preview frame rate control method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117956268A (en) |
-
2022
- 2022-10-27 CN CN202211339947.6A patent/CN117956268A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108419016B (en) | Shooting method and device and terminal | |
US11539888B2 (en) | Method and apparatus for processing video data | |
CN111586296B (en) | Image capturing method, image capturing apparatus, and storage medium | |
CN115134505B (en) | Preview picture generation method and device, electronic equipment and storage medium | |
CN111614910B (en) | File generation method and device, electronic equipment and storage medium | |
CN111461950B (en) | Image processing method and device | |
CN114079724B (en) | Taking-off snapshot method, device and storage medium | |
EP4040437A1 (en) | Method and apparatus for playing an animation, device and storage medium | |
CN113315903B (en) | Image acquisition method and device, electronic equipment and storage medium | |
CN112087570B (en) | Image shooting method and device, electronic equipment and readable storage medium | |
CN117956268A (en) | Preview frame rate control method and device thereof | |
CN114339357A (en) | Image acquisition method, image acquisition device and storage medium | |
CN107707819B (en) | Image shooting method, device and storage medium | |
CN115733913B (en) | Continuous photographing method and device and storage medium | |
CN116402695B (en) | Video data processing method, device and storage medium | |
CN112087572B (en) | Method and device for controlling zoom of lens, electronic equipment and readable storage medium | |
CN113766115B (en) | Image acquisition method, mobile terminal, device and storage medium | |
CN116489498A (en) | Image preview method, image preview device, electronic device, and storage medium | |
CN106454094A (en) | Shooting method and device, and mobile terminal | |
CN118433527A (en) | Focusing method, device, equipment and storage medium | |
CN118175420A (en) | Image acquisition method, device, equipment and storage medium | |
CN117395505A (en) | Image acquisition method, device, electronic equipment and storage medium | |
CN118828184A (en) | Image display method and device, electronic equipment and storage medium | |
CN116342373A (en) | Image processing method, device, equipment and storage medium | |
CN118200720A (en) | Zoom control method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |