CN110266950B - Gyroscope processing method and device, electronic equipment and computer readable storage medium - Google Patents
Gyroscope processing method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110266950B CN110266950B CN201910572941.5A CN201910572941A CN110266950B CN 110266950 B CN110266950 B CN 110266950B CN 201910572941 A CN201910572941 A CN 201910572941A CN 110266950 B CN110266950 B CN 110266950B
- Authority
- CN
- China
- Prior art keywords
- gyroscope
- working mode
- image
- scene
- scene category
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 31
- 238000012545 processing Methods 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000005070 sampling Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 15
- 238000003384 imaging method Methods 0.000 description 8
- 239000003990 capacitor Substances 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000005259 measurement Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000003705 background correction Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000000872 buffer Substances 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000003989 dielectric material Substances 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Gyroscopes (AREA)
Abstract
The application relates to a gyroscope processing method, a gyroscope processing device, an electronic device and a computer readable storage medium. The method comprises the following steps: acquiring an image through a camera; identifying a scene category of an image; determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category; and controlling the gyroscope to work in a corresponding working mode. The gyroscope processing method, the gyroscope processing device, the electronic equipment and the computer readable storage medium can reduce the power consumption of the gyroscope.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a gyroscope processing method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of computer technology, anti-shake technology has emerged. The conventional anti-shake technology may be OIS (Optical image stabilization) anti-shake, electronic anti-shake, or the like. The current anti-shake technology mainly obtains angular velocity data through a gyroscope, and the anti-shake is realized by calculating compensation according to the angular velocity data, so that image blur caused by shake of a camera is effectively overcome.
However, the gyroscope processing method in the traditional camera shooting process has the problem of high power consumption.
Disclosure of Invention
Embodiments of the present application provide a gyroscope processing method and apparatus, an electronic device, and a computer-readable storage medium, which can reduce power consumption of a gyroscope.
A gyroscope processing method is applied to an electronic device comprising a camera and a gyroscope, and comprises the following steps:
acquiring an image through the camera;
identifying a scene category of the image;
determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category;
and controlling the gyroscope to work in the corresponding working mode.
A gyroscope processing device applied to an electronic device comprising a camera and a gyroscope, comprising:
the image acquisition module is used for acquiring an image through the camera;
an identification module for identifying a scene category of the image;
the working mode determining module is used for determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category;
and the control module is used for controlling the gyroscope to work in the corresponding working mode.
An electronic device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the gyroscope processing method.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned gyroscope processing method.
According to the gyroscope processing method and device, the electronic equipment and the computer readable storage medium, the image is obtained through the camera, the scene type of the image is identified, the corresponding working mode is determined from the corresponding relation between the scene type and the working mode of the gyroscope according to the scene type, the gyroscope is controlled to work in the corresponding working mode, namely, different working modes are determined according to different scene types of the image, the gyroscope works in different working modes with different power consumptions, the gyroscope is prevented from working in the working mode with higher power consumption in different scene types, and the power consumption of the gyroscope is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an exemplary environment in which a gyroscope processing method may be implemented;
FIG. 2 is a schematic diagram of a gyroscope processing circuit in one embodiment;
FIG. 3 is a flow diagram of a method of gyroscope processing in one embodiment;
FIG. 4 is a flow chart of steps in adjusting the frequency of vibration in one embodiment;
FIG. 5 is a block diagram of a MEMS gyroscope in one embodiment;
FIG. 6 is a schematic diagram of a gyroscope to detect jitter in one implementation;
FIG. 7 is a flow diagram that illustrates the steps of determining a category for a target scene in one embodiment;
FIG. 8 is a schematic diagram of the optical anti-shake operation in one embodiment;
FIG. 9 is a block diagram of a gyroscope processing apparatus in one embodiment;
fig. 10 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
FIG. 1 is a diagram illustrating an exemplary environment in which a gyroscope may be implemented. As shown in fig. 1, the application environment includes an electronic device 10, and a camera 102 and a gyroscope 104 are included in the electronic device 10. The electronic device 10 acquires an image through the camera; identifying a scene category of the image; determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category; and controlling the gyroscope to work in the corresponding working mode. The electronic device 10 may be a mobile phone, a computer, a wearable device, a personal digital assistant, and the like, which is not limited herein.
The embodiment of the application provides electronic equipment. The electronic device includes therein an Image Processing circuit, which may be implemented using hardware and/or software components, and may include various Processing units defining an ISP (Image Signal Processing) pipeline. FIG. 2 is a schematic diagram of an image processing circuit in one embodiment. As shown in fig. 2, for convenience of explanation, only aspects of the image processing technology related to the embodiments of the present application are shown.
As shown in fig. 2, the image processing circuit includes an ISP processor 240 and control logic 250. The image data captured by the imaging device 210 is first processed by the ISP processor 240, and the ISP processor 240 analyzes the image data to capture image statistics that may be used to determine and/or control one or more parameters of the imaging device 210. The imaging device 210 may include a camera having one or more lenses 212 and an image sensor 214. The image sensor 214 may include an array of color filters (e.g., Bayer filters), and the image sensor 214 may acquire light intensity and wavelength information captured with each imaging pixel of the image sensor 214 and provide a set of raw image data that may be processed by the ISP processor 240. The sensor 220 (e.g., gyroscope) may provide parameters of the acquired image processing (e.g., anti-shake parameters) to the ISP processor 240 based on the type of interface of the sensor 220. The sensor 220 interface may utilize an SMIA (Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the above.
In addition, the image sensor 214 may also send raw image data to the sensor 220, the sensor 220 may provide the raw image data to the ISP processor 240 based on the sensor 220 interface type, or the sensor 220 may store the raw image data in the image memory 230.
The ISP processor 240 processes the raw image data pixel by pixel in a variety of formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 240 may perform one or more image processing operations on the raw image data, gathering statistical information about the image data. Wherein the image processing operations may be performed with the same or different bit depth precision.
The ISP processor 240 may also receive image data from the image memory 230. For example, the sensor 220 interface sends raw image data to the image memory 230, and the raw image data in the image memory 230 is then provided to the ISP processor 240 for processing. The image Memory 230 may be a portion of a Memory device, a storage device, or a separate dedicated Memory within an electronic device, and may include a DMA (Direct Memory Access) feature.
Upon receiving raw image data from image sensor 214 interface or from sensor 220 interface or from image memory 230, ISP processor 240 may perform one or more image processing operations, such as temporal filtering. The processed image data may be sent to image memory 230 for additional processing before being displayed. ISP processor 240 receives processed data from image memory 230 and performs image data processing on the processed data in the raw domain and in the RGB and YCbCr color spaces. The image data processed by ISP processor 240 may be output to display 260 for viewing by a user and/or further processed by a Graphics Processing Unit (GPU). Further, the output of the ISP processor 240 may also be sent to the image memory 230, and the display 260 may read image data from the image memory 230. In one embodiment, image memory 230 may be configured to implement one or more frame buffers.
The statistics determined by ISP processor 240 may be sent to control logic 250 unit. For example, the statistical data may include image sensor 214 statistics such as gyroscope vibration frequency, auto-exposure, auto-white balance, auto-focus, flicker detection, black level compensation, lens 212 shading correction, and the like. Control logic 250 may include a processor and/or microcontroller that executes one or more routines (e.g., firmware) that may determine control parameters of imaging device 210 and ISP processor 240 based on the received statistical data. For example, the control parameters of the imaging device 210 may include sensor 220 control parameters (e.g., gain, integration time for exposure control, anti-shake parameters, etc.), camera flash control parameters, camera anti-shake displacement parameters, lens 212 control parameters (e.g., focal length for focusing or zooming), or a combination of these parameters. The ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (e.g., during RGB processing), as well as lens 212 shading correction parameters.
In one embodiment, when the electronic device obtains an image through an imaging device (camera), the image may be sent to the ISP processor 240 for identification processing, and the ISP processor 240 may identify a scene type of the image, determine a corresponding working mode according to the scene type, and send the working mode to the control logic 250. The control logic 250 obtains the operating parameters configured in the operating mode and controls the sensor 220 (gyroscope) to operate according to the operating parameters.
During operation of the sensor 220 (gyroscope), data of the electronic device may be collected, for example, the gyroscope may collect first angular velocity data and send the first angular velocity data to the ISP processor 240. The ISP processor 240 may compare the first angular velocity data to a first angular velocity threshold and send the comparison result to the control logic 250. Control logic 250 may adjust the frequency of the gyroscope based on the comparison.
In one embodiment, the electronic device may at least one of acquire location information and acquire a launched application through a sensor (location sensor); the ISP processor 240 determines a target scene type of the image according to at least one of the location information and the started application program, and the scene type of the image; and determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the target scene category.
In one embodiment, when at least two sensors (gyroscopes) 220 are included in the electronic device, the ISP processor 240 may process the angular velocity data of the at least two sensors (gyroscopes) 220 and send the processed data to the control logic 250. Control logic 250 determines a target sensor (gyroscope) from the at least two sensors (gyroscopes) 220 based on the processed data.
The image stored in the image memory 230 and the image processed by the ISP processor may be transmitted to the display 260, and the image is displayed on the display interface of the electronic device.
In one embodiment, control logic 250 may adjust the sampling frequency of sensor (gyroscope) 220 based on angular velocity data of sensor (gyroscope) 220.
FIG. 3 is a flow diagram of a method for gyroscope processing in one embodiment. The gyroscope processing method in this embodiment is described by taking the example of the gyroscope processing method running on the electronic device in fig. 1. As shown in fig. 3, the gyro processing method includes steps 302 to 308.
The electronic equipment is provided with the cameras, and the number of the arranged cameras is not limited. For example, 1, 2, 3, 5, etc. are provided, and are not limited herein. The form of the camera installed in the electronic device is not limited, and for example, the camera may be a camera built in the electronic device, or a camera externally installed in the electronic device; the camera can be a front camera or a rear camera. The camera may also be any type of camera. For example, the camera may be a color camera, a black and white camera, a depth camera, or the like, without being limited thereto. Correspondingly, a color camera acquires a color image, a black and white camera acquires a black and white image, a depth camera acquires a depth information image, and the like.
In the shooting process of the camera, the preview process may be performed before the image is shot, or the camera may acquire one or more frames of images in the video shooting process, which is not limited to this.
The gyroscope is also called as an angular velocity sensor and can measure the rotation angular velocity of the electronic equipment during deflection and inclination. The gyroscopes include a fiber optic gyroscope, a laser gyroscope, a MEMS (Micro Electro Mechanical systems) gyroscope, and the like. The gyroscope in the above-described gyroscope processing method may be an optical fiber gyroscope, a laser gyroscope, a MEMS gyroscope, or the like, but is not limited thereto.
At step 304, a scene class of the image is identified.
The scene type refers to a type corresponding to a scene of an image captured by the camera, such as a landscape type, a portrait type, a text type, a day type, a night type, and the like.
In one embodiment, identifying a scene category of an image comprises: extracting the characteristics of the image; and calculating a characteristic value of the image according to the characteristic of the image, and taking the preset scene category as the scene category of the image when the characteristic value of the image is within the characteristic value range of the preset scene category.
The features of the image may be color features, depth features, contour features, and the like, without limitation. The features of the extracted image may include one or more of color features, depth features, contour features, and the like.
In the electronic device, a characteristic value range corresponding to each scene type may be preset, for example, the characteristic value range of the color characteristic of which the scene type is daytime may be RGB (255 ) to RGB (240,240,240); the feature value range of the color feature with the scene category of black night may be RGB (0,0,0) to (20,20, 20); the range of feature values for depth features with a scene category being a landscape category may be greater than or equal to 50 meters; the range of the feature value of the depth feature of which the scene category is the portrait category can be 1 meter to 50 meters; the feature range of the depth feature of which the scene category is a text category may be less than or equal to 1 meter, and so on.
And when the calculated characteristic value of the image is within the characteristic value range of the preset scene category, taking the preset scene category as the scene category of the image. For example, when the feature value of the color feature of the calculated image is RGB (250,255,245), and the feature value is within the feature range of the color feature of the preset scene category, the scene category of the image may be obtained as the daytime category.
In another embodiment, a target area may be determined from the image, and the target area is identified to obtain a scene type of the image. Generally, the central area of the image can be determined as the target area, and only the target area of the image is identified, so that computer resources can be saved, and efficiency can be improved.
It should be noted that, the scene type of the image obtained by identifying the image may be one or more methods, and the specific method may be set according to the user requirement.
And step 306, determining a corresponding working mode from the corresponding relation between the scene type and the working mode of the gyroscope according to the scene type.
The operation mode refers to a mode when the gyroscope operates, such as a high power consumption operation mode, a low power consumption operation mode, a high sampling frequency operation mode, a high vibration frequency operation mode, and the like, but is not limited thereto.
The user may preset a correspondence between the scene type and the operating mode of the gyroscope, for example, the operating mode corresponding to the scene type in the daytime may be a low sampling frequency operating mode, and the operating mode corresponding to the text scene type may be a high power consumption operating mode. It can be understood that a scene type generally corresponds to an operating mode, and an operating mode may correspond to one or more scene types, for example, a daytime scene type may correspond to a high power consumption operating mode, and a text scene type may also correspond to a high power consumption operating mode.
Specifically, the scene category of the identified image may be matched with each scene category in the corresponding relationship, and the working mode corresponding to the scene category in the corresponding relationship that is successfully matched may be determined as the working mode of the gyroscope.
And 308, controlling the gyroscope to work in a corresponding working mode.
After the electronic device determines the operating mode of the gyroscope, the electronic device may control the gyroscope to operate in the corresponding operating mode. The operating mode may configure the operating parameters of the gyroscope, such as vibration frequency, sampling frequency, and the like. And controlling the gyroscope to work in a corresponding working mode, that is, controlling the gyroscope to work in working parameters configured in the corresponding working mode, for example, controlling the gyroscope to work at a vibration frequency of 100Hz, and controlling the gyroscope to work at a sampling frequency of 50Hz, which is not limited to this.
When the traditional gyroscope works, the gyroscope works in a single working mode, namely, the gyroscope works in a single working parameter. When a user shoots scenes with low requirements on the performance of the gyroscope, such as landscapes and buildings, the gyroscope works with a single working parameter, and the problem of high power consumption of the gyroscope exists.
According to the gyroscope processing method, the image is obtained through the camera, the scene type of the image is identified, the corresponding working mode is determined according to the scene type from the corresponding relation between the scene type and the working mode of the gyroscope, the gyroscope is controlled to work in the corresponding working mode, namely, different working modes are determined according to different scene types of the image, the gyroscope works in different working modes with different power consumptions, the gyroscope is prevented from working in the working mode with higher power consumption in different scene types, and the power consumption of the gyroscope is reduced.
In one embodiment, determining the corresponding operation mode from the correspondence between the scene category and the operation mode of the gyroscope according to the scene category includes: when the scene category of the image is a first scene category, determining a corresponding first working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the first scene category; when the scene category of the image is a second scene category, determining a corresponding second working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the second scene category, wherein the performance of the gyroscope corresponding to the first scene category is higher than that of the gyroscope corresponding to the second scene category, and the power consumption of the gyroscope working in the first working mode is higher than that of the gyroscope working in the second working mode.
The performance of the gyroscope corresponding to the first scene category is higher than that of the gyroscope corresponding to the second scene category, and the power consumption of the gyroscope working in the first working mode is higher than that of the gyroscope working in the second working mode. The performance of the gyroscope may be embodied in the operational parameters of the gyroscope, such as the vibration frequency, acquisition frequency, measurement direction, measurement range, etc. When the vibration frequency of the gyroscope is higher, the accuracy of the angular velocity data acquired by the gyroscope is smaller, that is, the angular velocity data is more accurate, the performance of the gyroscope is higher, and the power consumption of the gyroscope is also higher. When the sampling frequency of the gyroscope is higher, the more the angular velocity data acquired by the gyroscope in unit time is, the higher the performance of the gyroscope is, and the higher the power consumption of the gyroscope is.
In one embodiment, the first scene category may be a text scene category. When a user shoots a word, such as an article, the word in the shot image can be blurred due to slight shake of the electronic device, so that the content of the shot word is not clear. Therefore, when the scene category of the image is the character scene category, the performance of the gyroscope is high, so that the electronic equipment can accurately perform jitter compensation, and a clearer image can be obtained.
In one embodiment, the first scene category may also be a portrait scene category. When a user shoots a person, such as a human face, the definition of the shot human face region needs to be ensured. Therefore, when the scene category of the image is the portrait scene category, the electronic device can accurately perform shake compensation due to the high performance of the gyroscope, so that a clearer image can be obtained.
In one embodiment, the second scene category may be a landscape scene category. When a user shoots a landscape, for example, when shooting high mountain and running water, the shot object is generally far away from the electronic equipment, the gyroscope collects angular velocity data with low performance under the condition of slight shake of the electronic equipment, and the electronic equipment can also carry out shake compensation according to the angular velocity data, so that a clear image can be obtained. Therefore, when the scene category of the image is the landscape scene category, the performance of the gyroscope may be low, thereby reducing the power consumption of the gyroscope.
In one embodiment, the second scene category may be a daytime scene category. It can be understood that when the image is taken at night, the electronic device obtains less light information, and the slight shake of the electronic device can cause the taken image to be more blurred. When the image is shot in the daytime, the electronic equipment acquires more light information, and a clearer image can be obtained even if the electronic equipment slightly shakes. Therefore, when the scene category of the image is the daytime scene category, the performance of the gyroscope may be low, thereby reducing the power consumption of the gyroscope.
In one embodiment, the electronic device may add a preset scene category, such as a third scene category; the performance of the gyroscopes corresponding to the first scene type, the second scene type and the third scene type is sequentially improved, and the power consumption of the gyroscopes operating in the first scene type, the second scene type and the third scene type is sequentially increased.
According to the gyroscope processing method, when the scene type of the image is the first scene type, the working mode corresponding to the gyroscope is determined to be the first working mode; and when the scene category of the image is a second scene category, determining that the working mode corresponding to the gyroscope is a second working mode. The gyroscope working in the first working mode has higher performance, and the electronic equipment can obtain more accurate images according to the angular velocity data obtained by the gyroscope working in the first working mode; the performance of the gyroscope working in the second working mode is low, and the power consumption of the gyroscope can be reduced.
In one embodiment, the operating mode includes configuring operational parameters of the gyroscope, the operational parameters of the gyroscope including at least one of a vibration frequency of the gyroscope and a sampling frequency of the gyroscope; the vibration frequency of the gyroscope in the first working mode is higher than that of the gyroscope in the second working mode; the sampling frequency of the gyroscope in the first operating mode is higher than the sampling frequency of the gyroscope in the second operating mode.
The vibration frequency refers to the number of vibrations per second. The sampling frequency refers to the number of times per second the gyroscope acquires the first angular velocity data.
The performance of the gyroscope corresponding to the first scene category is higher than the performance of the gyroscope corresponding to the second scene category, and therefore the vibration frequency of the gyroscope of the first operation mode is higher than the vibration frequency of the gyroscope of the second operation mode. When the vibration frequency of the gyroscope is higher, the smaller the jitter can be measured, and the accuracy of the acquired angular velocity data is also smaller, that is, the higher the performance of the gyroscope is. The sampling frequency of the gyroscope in the first operating mode is higher than the sampling frequency of the gyroscope in the second operating mode.
When the sampling frequency of the gyroscope is higher, namely the gyroscope obtains more angular velocity data in unit time, the real-time performance of the gyroscope for measuring the jitter of the electronic equipment is better, namely the performance of the gyroscope is higher.
It should be noted that the operating parameters of the gyroscope may also include a measurement range, a measurement direction, and the like, and specific operating parameters may be set according to user needs, but are not limited thereto.
In the gyroscope processing method, the working mode includes configuring working parameters of the gyroscope, and the working parameters of the gyroscope may include at least one of a vibration frequency of the gyroscope and a sampling frequency of the gyroscope; the vibration frequency of the gyroscope in the first working mode is higher than that of the gyroscope in the second working mode; the sampling frequency of the gyroscope in the first operating mode is higher than the sampling frequency of the gyroscope in the second operating mode. The performance of the gyroscope operating in the first operating mode is higher and the power consumption of the gyroscope operating in the second operating mode is lower.
As shown in fig. 4, in an embodiment, the gyroscope processing method further includes:
Angular velocity refers to a vector that describes in physics the angle an object turns through per unit time as well as the direction of the turn. The first angular velocity data refers to an angle the electronic device has rotated per unit time and a direction of the rotation. The larger the first angular velocity data is, the larger the angle indicating that the electronic apparatus is rotated is, and the larger the direction of the rotation is, the larger the shake of the electronic apparatus is.
And step 404, when the first angular velocity data is greater than or equal to the first angular velocity threshold value, reducing the vibration frequency of the gyroscope.
The vibration frequency refers to the number of vibrations per second. Fig. 5 is a schematic structural diagram of the MEMS gyroscope. The MEMS gyroscope consists of two masses 502 and 504 that constantly vibrate and constantly move in opposite directions. When a jitter is detected, i.e. an angular velocity Ω is applied, the coriolis effect F on each mass generates a force in the opposite direction, causing a change in capacitance. The capacitance difference is in direct proportion to the angular velocity, so that the angular velocity at the moment can be known by measuring the change of the capacitance value, and the first angular velocity data can be acquired. The vibration frequency is the number of vibrations per second of each mass in the MEMS gyroscope. The vibration frequency of each block is the same.
As shown in fig. 6, when the gyroscope detects the electronic device shaking, the coriolis force of the gyroscope is as follows:
wherein,is the base vector of three axes of a spatial rotating coordinate system. r denotes the radius of motion, ω is the angular velocity, vrIs the radial movement speed, arIs the radial acceleration, aCoriolisIs the coriolis force acceleration.
From the above formula, when the Coriolis force a is appliedCoriolisFor small jitter, i.e. small angular velocities, a large radial movement velocity v is required when not changingrCan achieve the precision of the gyroscope, and the radial motion velocity vrIs in direct proportion to the vibration frequency. That is, the gyroscope requires a higher vibration frequency to detect a smaller jitter. When the vibration frequency of the gyroscope is high, large power consumption is also generated.
It is understood that when the first angular velocity data is greater than or equal to the first angular velocity threshold, a large jitter of the electronic device is indicated. And the magnitude of the vibration frequency of the gyroscope is inversely related to the magnitude of the shake of the electronic device that can be detected by the gyroscope. Therefore, when the shake of the electronic device is large, the gyroscope can detect the shake of the electronic device even with a small vibration frequency, so that correct first angular velocity data can be acquired. When the vibration frequency of the gyroscope is reduced, the power consumption of the gyroscope can be reduced, and therefore resources of electronic equipment are saved.
And step 406, when the first angular velocity data is smaller than the first angular velocity threshold, increasing the vibration frequency of the gyroscope.
When the first angular velocity data is smaller than the first angular velocity threshold, the shaking of the electronic equipment is small, the vibration frequency of the gyroscope can be improved, the gyroscope can measure smaller shaking, and the accuracy of the obtained angular velocity data is improved.
The vibration frequency of the gyroscope is adjusted according to the first angular velocity data, and the range of the gyroscope for measuring jitter can be further improved. For example, when the vibration frequency of the gyroscope is 100Hz, the measurable range of jitter is 2 degrees or more, and when the vibration frequency of the gyroscope is adjusted to 150Hz based on the first angular velocity data, and the measurable range of jitter is 1 degree or more, the adjusted gyroscope can measure more minute jitter, increasing the range of jitter measurement of the gyroscope.
According to the gyroscope processing method, the first angular velocity data acquired when the gyroscope works is acquired, and when the first angular velocity data is larger than or equal to the first angular velocity threshold, the vibration frequency of the gyroscope is reduced, so that the power consumption of the gyroscope can be reduced; when the first angular velocity data is smaller than the first angular velocity threshold, the vibration frequency of the gyroscope is improved, and the accuracy of the angular velocity data acquired by the gyroscope can be improved.
As shown in fig. 7, in an embodiment, the gyroscope processing method further includes:
The location information refers to information of a location where the electronic device is located, and may be longitude and latitude where the electronic device is located, or location coordinate information, and the like. The position information may be obtained by Positioning the electronic device through a satellite System such as a GPS (Global Positioning System) and a beidou satellite System or a network.
In the electronic device, various application programs can be downloaded, and more application programs can open the camera to acquire images, for example, a social application program can open the camera to perform video chat, a scanning application program can open the camera to perform scanning to acquire images, a short video application program can open the camera to record videos, and the like.
It is understood that the image obtained by the camera may have scenery, portrait, text, etc. at the same time, and in order to improve the scene type of the identified image, the target scene type of the image may be determined according to at least one of the position information and the started application program.
In one embodiment, when the position information is acquired, a first weight factor of each preset scene type is obtained according to the position information; when the started application program is obtained, obtaining a second weight factor of each preset scene according to the started application program; and determining a target scene category of the image according to at least one of the first weighting factor and the second weighting factor and the scene category of the image.
In the electronic device, each scene category may be set in advance. When the position information is acquired, the first weight factor of each preset scene category can be acquired according to the position information. For example, when the position information is located in a landscape area, the user may have a high possibility of capturing a landscape or being combined with a landscape, and the first weighting factor of the landscape scene category may be 2, the first weighting factor of the portrait scene category may be 1.5, and the other scene categories may be 1. When the position information is located in the residential area, the possibility that the user may shoot characters, a portrait or an indoor scene is high, and it can be obtained that the first weight factor of the portrait scene category is 2, the first weight factor of the indoor scene category is 1.8, the first weight factor of the character scene category is 1.5, and the first weight of other scene categories is 1.
When the started application program is obtained, the second weight factors of each preset scene category can be obtained according to the started application program. For example, when the started application is a scan-type application, and the probability of scanning text or code by the user is high, the second weighting factor of the text scene type may be 2, and the second weighting factors of other scene types may be 1. When the opened application program is a social application program, the possibility that the user conducts video chat or shoots a photo by opening the camera is high, and the second weighting factor of the portrait scene category is 2, the landscape scene category is 1.5, and the other scene categories are 1.
The number of scene categories of the image acquired by the electronic device through image recognition may be one or more. When the number of the acquired image scene categories is multiple, the first probability of each scene category of the image can be judged in advance, the second probability of each scene category is calculated according to at least one of the first weight factor and the second weight factor and the multiple scene categories of the image, the second probabilities are compared, and the scene category with the largest numerical value of the second probability is acquired as the target scene category of the image.
For example, the scene types of the acquired images are a landscape scene type and a portrait scene type, the first probability of the landscape scene type is 60%, the first probability of the portrait scene type is 50%, the acquired position information is a residential area, the first weighting factor of the landscape scene type is 1, the first weighting factor of the portrait scene type is 2, the second probability of the landscape scene type is 60%, the second probability of the portrait scene type is 100%, and the portrait scene type, which is the scene type with the largest numerical value of the second probability, is acquired as the target scene type of the image.
For another example, the scene categories of the acquired images are a scene category, a portrait category and a text category, the first probability of the scene category is 60%, the first probability of the portrait category is 50%, the first probability of the text category is 50%, the acquired location information is a residential area, the started application program is a social application program, the first weighting factor of the scene category is 1, the second weighting factor is 1.5, the first weighting factor of the portrait category is 2, the second weighting factor is 2, the first weighting factor of the text category is 1.5, the second weighting factor is 1, the second probability of the scene category is 60% + 1.60% + 1.5 ═ 150%, the second probability of the portrait category is 50% + 2+ 50% + 2 ═ 200%, and the second probability of the text category is 50% + 1.5+ 50% + 1.125%, and acquiring the scene category with the maximum numerical value of the second probability, namely the portrait scene category as the target scene category of the image.
Determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category, wherein the method comprises the following steps:
According to the gyroscope processing method, at least one of the position information and the started application program is obtained, and the target scene category of the image can be determined more accurately according to at least one of the position information and the started application program and the scene category of the image.
In one embodiment, the gyroscope processing method further includes: when the electronic equipment comprises at least two gyroscopes, and the vibration frequencies of the at least two gyroscopes are lower than a preset frequency threshold, determining a target gyroscope from the at least two gyroscopes according to second angular velocity data of each gyroscope; controlling the gyroscope to work in a corresponding working mode, comprising: and controlling the target gyroscope to work in a corresponding working mode.
In the electronic device, at least two gyroscopes may be included, and the vibration frequencies of the at least two gyroscopes are both lower than the preset frequency threshold, that is, the power consumption of the at least two gyroscopes is lower. The target gyroscope may be determined from the at least two gyroscopes based on the second angular velocity data for the respective gyroscope. And controlling the target gyroscope to work in a corresponding working mode.
It is to be understood that the at least two gyroscopes of the electronic device may be different types of gyroscopes, such as fiber optic gyroscopes, laser gyroscopes, MEMS gyroscopes, etc., or may be the same type of gyroscope. The at least two gyroscopes in the electronic device may be gyroscopes with different operating parameters, such as different vibration frequencies, different sampling frequencies, different sensitivity to jitter, etc., without limitation.
According to the gyroscope processing method, when the electronic equipment comprises at least two gyroscopes, and the vibration frequencies of the at least two gyroscopes are lower than the preset frequency threshold, the target gyroscope is determined from the at least two gyroscopes according to the second angular velocity data of each gyroscope, and the target gyroscope is controlled to work in the corresponding working mode, so that the power consumption of the gyroscopes can be reduced.
In one embodiment, an electronic device includes at least one first gyroscope to detect capacitance values below a capacitance threshold and at least one second gyroscope to detect capacitance values above or equal to the capacitance threshold; determining a target gyroscope from the at least two gyroscopes based on the second angular rate data for the respective gyroscope, comprising: when the second angular velocity data is larger than a second angular velocity threshold value, taking the second gyroscope as a target gyroscope; and when the second angular velocity data is less than or equal to the second angular velocity threshold value, taking the first gyroscope as a target gyroscope.
Capacitance refers to a physical quantity that represents the capacity of a capacitor to hold a charge. The capacitance value refers to the amount of charge that the capacitor holds. The first gyroscope refers to a gyroscope for detecting capacitance values below a capacitance threshold value, and the second gyroscope refers to a gyroscope for detecting capacitance values above or equal to the capacitance threshold value. In the gyroscope, when the capacitance value is larger, the gyroscope is sensitive to larger jitter, and the larger jitter can be quickly detected. When the capacitance value is small, the gyroscope is sensitive to small jitter, and the small jitter can be detected quickly.
Taking a MEMS gyroscope as an example, as shown in fig. 5, two masses 502 and 504 are the two poles of a plate capacitor. The sensitivity of the gyroscope to capacitance can be varied by varying the facing area between the two masses, and by adding different dielectrics between the two masses. When the gyroscope is sensitive to the small capacitance of the plate capacitor, the gyroscope may detect a smaller capacitance value, and then the gyroscope may act as the first gyroscope. When the gyroscope is sensitive to the large capacitance of the plate capacitor, the gyroscope can detect a large capacitance value, and then the gyroscope can be used as a second gyroscope.
In another embodiment, the plate capacitor may output a voltage signal, and when the voltage detection device in the gyroscope detects a smaller voltage, which indicates that the gyroscope is sensitive to a small capacitance, and detects a smaller capacitance value, the gyroscope may be the first gyroscope. When a larger voltage is detected during voltage detection in the gyroscope, indicating that the gyroscope is sensitive to a large capacitance, and the larger voltage can be detected, the gyroscope can be a second gyroscope.
And when the second angular velocity data is larger than the second angular velocity threshold, the second angular velocity data is larger, the shake of the electronic equipment is larger, and the second gyroscope is used as a target gyroscope. And when the second angular velocity data is smaller than or equal to the second angular velocity threshold, the second angular velocity data is smaller, the shake of the electronic equipment is smaller, and the first gyroscope is taken as a target gyroscope.
In the gyroscope processing method, when the second angular velocity data is greater than the second angular velocity threshold, the second gyroscope is taken as the target gyroscope; when the second angular velocity data is smaller than or equal to the second angular velocity threshold, the first gyroscope is used as a target gyroscope, and the vibration frequencies of the first gyroscope and the second gyroscope are both smaller than the frequency threshold, so that the power consumption of the gyroscope during working can be reduced; a more accurate gyroscope is determined to obtain more accurate angular rate data.
In one embodiment, angular velocity data of a gyroscope is obtained, and shake compensation can be performed on the camera. The jitter compensation may be electronic jitter compensation or OIS jitter compensation. Taking OIS shake compensation as an example, as shown in fig. 8, during shooting by a camera 802, a gyroscope (Gyro Sensor)804 detects shake of an electronic device to generate first angular velocity data, an OIS Controller (OIS Controller)806 determines a compensation amount of the camera 802 by calculating the first angular velocity data, moves the camera 802 according to a compensation amount control Motor (Motor)808, and detects a moving distance of the camera 802 using a Hall Sensor (Hall Sensor)810 and provides the detected moving distance to the OIS Controller 806. A clearer image can be obtained by the shake compensation.
It should be understood that, although the steps in the flowcharts of fig. 3, 4 and 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3, 4, and 7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
Fig. 9 is a block diagram of a gyroscope processing apparatus according to an embodiment. As shown in fig. 9, there is provided a gyroscope processing apparatus 900 applied to an electronic device including a camera and a gyroscope, including: an image acquisition module 902, a recognition module 904, an operating mode determination module 906, and a control module 908, wherein:
an image obtaining module 902, configured to obtain an image through a camera.
And an identifying module 904 for identifying a scene category of the image.
And the working mode determining module 906 is configured to determine a corresponding working mode from the correspondence between the scene category and the working mode of the gyroscope according to the scene category.
And a control module 908 for controlling the gyroscope to operate in a corresponding operation mode.
According to the gyroscope processing device, the image is acquired through the camera, the scene type of the image is identified, the corresponding working mode is determined according to the scene type from the corresponding relation between the scene type and the working mode of the gyroscope, the gyroscope is controlled to work in the corresponding working mode, namely, different working modes are determined according to different scene types of the image, the gyroscope is different in power consumption when working in different working modes, the gyroscope is prevented from working in the working mode with higher power consumption in different scene types, and the power consumption of the gyroscope is reduced.
In an embodiment, the operation mode determining module 806 is further configured to determine, when the scene category of the image is a first scene category, a corresponding first operation mode from a correspondence relationship between the scene category and the operation mode of the gyroscope according to the first scene category; when the scene category of the image is a second scene category, determining a corresponding second working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the second scene category, wherein the performance of the gyroscope corresponding to the first scene category is higher than that of the gyroscope corresponding to the second scene category, and the power consumption of the gyroscope working in the first working mode is higher than that of the gyroscope working in the second working mode.
In one embodiment, the operation mode in the operation mode determining module 806 includes configuring an operation parameter of the gyroscope, where the operation parameter of the gyroscope includes at least one of a vibration frequency of the gyroscope and a sampling frequency of the gyroscope; the vibration frequency of the gyroscope in the first working mode is higher than that of the gyroscope in the second working mode; the sampling frequency of the gyroscope in the first operating mode is higher than the sampling frequency of the gyroscope in the second operating mode.
In one embodiment, the gyroscope processing apparatus further includes a vibration frequency adjustment module, configured to acquire first angular velocity data acquired when the gyroscope operates; when the first angular velocity data is greater than or equal to a first angular velocity threshold, reducing the vibration frequency of the gyroscope; and when the first angular velocity data is smaller than the first angular velocity threshold value, increasing the vibration frequency of the gyroscope.
In one embodiment, the gyroscope processing apparatus further includes a target scene category determining module, configured to obtain at least one of location information and an application program that is started; and determining the target scene type of the image according to at least one of the position information and the started application program and the scene type of the image. Determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category, wherein the method comprises the following steps: and determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the target scene category.
In an embodiment, the gyro processing apparatus further includes a target gyro determining module, configured to determine a target gyro from the at least two gyroscopes according to the second angular velocity data of each gyroscope, when the electronic device includes at least two gyroscopes and the vibration frequencies of the at least two gyroscopes are lower than a preset frequency threshold. Controlling the gyroscope to work in a corresponding working mode, comprising: and controlling the target gyroscope to work in a corresponding working mode.
In one embodiment, the target gyroscope determining module is further configured to determine the second gyroscope as the target gyroscope when the second angular velocity data is greater than the second angular velocity threshold; and when the second angular velocity data is less than or equal to the second angular velocity threshold value, taking the first gyroscope as a target gyroscope.
The division of the modules in the gyroscope processing apparatus is merely for illustration, and in other embodiments, the gyroscope processing apparatus may be divided into different modules as needed to complete all or part of the functions of the gyroscope processing apparatus.
Fig. 10 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 10, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a gyroscope processing method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc.
The implementation of each module in the gyroscope processing apparatus provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the gyroscope processing method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a gyroscope processing method.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A gyroscope processing method is applied to an electronic device comprising a camera and a gyroscope, and is characterized by comprising the following steps:
acquiring an image through the camera;
identifying a scene category of the image; the scene type refers to a type corresponding to a scene of an image shot by the camera;
determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category;
and controlling the gyroscope to work in the corresponding working mode.
2. The method of claim 1, wherein determining the corresponding operation mode from the correspondence between the scene category and the operation mode of the gyroscope according to the scene category comprises:
when the scene category of the image is a first scene category, determining a corresponding first working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the first scene category;
when the scene category of the image is a second scene category, determining a corresponding second working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the second scene category, wherein the performance of the gyroscope corresponding to the first scene category is higher than that of the gyroscope corresponding to the second scene category, and the power consumption of the gyroscope working in the first working mode is higher than that of the gyroscope working in the second working mode.
3. The method of claim 2, wherein the operating mode comprises configuring operating parameters of the gyroscope, the operating parameters of the gyroscope comprising at least one of a vibration frequency of the gyroscope and a sampling frequency of the gyroscope; the vibration frequency of the gyroscope in the first working mode is higher than that of the gyroscope in the second working mode; the sampling frequency of the gyroscope of the first operating mode is higher than that of the gyroscope of the second operating mode.
4. The method of claim 1, further comprising:
acquiring first angular velocity data acquired when a gyroscope works;
when the first angular velocity data is greater than or equal to a first angular velocity threshold, reducing a vibration frequency of the gyroscope;
and when the first angular velocity data is smaller than a first angular velocity threshold value, increasing the vibration frequency of the gyroscope.
5. The method of claim 1, further comprising:
acquiring at least one of position information and an opened application program;
determining a target scene category of the image according to at least one of the position information and the started application program and the scene category of the image;
determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category, wherein the determining comprises the following steps:
and determining a corresponding working mode from the corresponding relation between the scene type and the working mode of the gyroscope according to the target scene type.
6. The method of claim 1, further comprising:
when the electronic equipment comprises at least two gyroscopes, and the vibration frequencies of the at least two gyroscopes are lower than a preset frequency threshold, determining a target gyroscope from the at least two gyroscopes according to second angular velocity data respectively acquired by the gyroscopes;
the controlling the gyroscope to work in the corresponding working mode comprises:
and controlling the target gyroscope to work in the corresponding working mode.
7. The method of claim 6, wherein the electronic device comprises at least one first gyroscope and at least one second gyroscope, the first gyroscope being configured to detect capacitance values below a capacitance threshold, the second gyroscope being configured to detect capacitance values above or equal to a capacitance threshold;
the determining a target gyroscope from the at least two gyroscopes according to the second angular velocity data of the respective gyroscope comprises:
when the second angular velocity data is larger than a second angular velocity threshold, taking the second gyroscope as a target gyroscope;
and when the second angular velocity data is less than or equal to a second angular velocity threshold, taking the first gyroscope as a target gyroscope.
8. A gyroscope processing apparatus applied to an electronic device including a camera and a gyroscope, comprising:
the image acquisition module is used for acquiring an image through the camera;
an identification module for identifying a scene category of the image; the scene type refers to a type corresponding to a scene of an image shot by the camera;
the working mode determining module is used for determining a corresponding working mode from the corresponding relation between the scene category and the working mode of the gyroscope according to the scene category;
and the control module is used for controlling the gyroscope to work in the corresponding working mode.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the gyroscope processing method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910572941.5A CN110266950B (en) | 2019-06-28 | 2019-06-28 | Gyroscope processing method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910572941.5A CN110266950B (en) | 2019-06-28 | 2019-06-28 | Gyroscope processing method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266950A CN110266950A (en) | 2019-09-20 |
CN110266950B true CN110266950B (en) | 2021-04-23 |
Family
ID=67922676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910572941.5A Active CN110266950B (en) | 2019-06-28 | 2019-06-28 | Gyroscope processing method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266950B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023028439A1 (en) * | 2021-08-25 | 2023-03-02 | Qualcomm Incorporated | Camera initialization for reduced latency |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3883234B1 (en) | 2020-03-17 | 2022-02-02 | Axis AB | Wearable camera and a method for power consumption optimization in the wearable camera |
CN112540685A (en) * | 2020-12-08 | 2021-03-23 | 维沃移动通信有限公司 | Intelligent ring, finger fatigue detection method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103869928A (en) * | 2012-10-22 | 2014-06-18 | 马克西姆综合产品公司 | System for reducing power consumption in multisensor environment, and method |
CN105487639A (en) * | 2015-12-09 | 2016-04-13 | 北京金山安全软件有限公司 | Method and device for optimizing power consumption of application program and electronic equipment |
CN105791679A (en) * | 2016-02-29 | 2016-07-20 | 广东欧珀移动通信有限公司 | Method and device for reducing camera power consumption, and mobile terminal |
CN107395978A (en) * | 2017-08-14 | 2017-11-24 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of camera module |
CN107463477A (en) * | 2017-06-27 | 2017-12-12 | 广东欧珀移动通信有限公司 | Mobile terminal and its management method, computer-readable recording medium |
CN108304060A (en) * | 2018-02-01 | 2018-07-20 | 青岛小鸟看看科技有限公司 | A kind of method of supplying power to of virtual reality device, device and virtual reality device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105262955B (en) * | 2015-11-19 | 2018-03-20 | 湖州旻合科技有限公司 | Optical anti-vibration drive system framework |
-
2019
- 2019-06-28 CN CN201910572941.5A patent/CN110266950B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103869928A (en) * | 2012-10-22 | 2014-06-18 | 马克西姆综合产品公司 | System for reducing power consumption in multisensor environment, and method |
CN105487639A (en) * | 2015-12-09 | 2016-04-13 | 北京金山安全软件有限公司 | Method and device for optimizing power consumption of application program and electronic equipment |
CN105791679A (en) * | 2016-02-29 | 2016-07-20 | 广东欧珀移动通信有限公司 | Method and device for reducing camera power consumption, and mobile terminal |
CN107463477A (en) * | 2017-06-27 | 2017-12-12 | 广东欧珀移动通信有限公司 | Mobile terminal and its management method, computer-readable recording medium |
CN107395978A (en) * | 2017-08-14 | 2017-11-24 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of camera module |
CN108304060A (en) * | 2018-02-01 | 2018-07-20 | 青岛小鸟看看科技有限公司 | A kind of method of supplying power to of virtual reality device, device and virtual reality device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023028439A1 (en) * | 2021-08-25 | 2023-03-02 | Qualcomm Incorporated | Camera initialization for reduced latency |
US11877048B2 (en) | 2021-08-25 | 2024-01-16 | Qualcomm Incorporated | Camera initialization for reduced latency |
Also Published As
Publication number | Publication date |
---|---|
CN110266950A (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110300263B (en) | Gyroscope processing method and device, electronic equipment and computer readable storage medium | |
CN108737734B (en) | Image compensation method and apparatus, computer-readable storage medium, and electronic device | |
JP7371081B2 (en) | Night view photography methods, devices, electronic devices and storage media | |
CN108769528B (en) | Image compensation method and apparatus, computer-readable storage medium, and electronic device | |
CN110035228B (en) | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium | |
CN110636223B (en) | Anti-shake processing method and apparatus, electronic device, and computer-readable storage medium | |
CN110266950B (en) | Gyroscope processing method and device, electronic equipment and computer readable storage medium | |
CN109951638B (en) | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium | |
WO2020259474A1 (en) | Focus tracking method and apparatus, terminal device, and computer-readable storage medium | |
CN108347563B (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
CN107566741B (en) | Focusing method, focusing device, computer readable storage medium and computer equipment | |
CN111432118B (en) | Image anti-shake processing method and device, electronic equipment and storage medium | |
CN110290323B (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN112087580B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN110049238B (en) | Camera anti-shake system and method, electronic device, and computer-readable storage medium | |
CN110049237B (en) | Camera anti-shake method and device, electronic equipment and computer storage medium | |
CN111246100B (en) | Anti-shake parameter calibration method and device and electronic equipment | |
CN109963080B (en) | Image acquisition method and device, electronic equipment and computer storage medium | |
CN107615744B (en) | Image shooting parameter determining method and camera device | |
CN113875219B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN110177213B (en) | Gyroscope parameter adjusting method and device, terminal and computer readable storage medium | |
CN110493522A (en) | Anti-fluttering method and device, electronic equipment, computer readable storage medium | |
CN107465880B (en) | Focusing method, device, terminal and computer readable storage medium | |
CN110351508B (en) | Anti-shake processing method and device based on video recording mode and electronic equipment | |
CN110233969B (en) | Image processing method and device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |