Single-processor computer vision hardware control and application execution
US-2017161579-A1 · Jun 8, 2017 · US
US10674088B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10674088-B2 |
| Application number | US-201916239854-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 4, 2019 |
| Priority date | Jan 10, 2018 |
| Publication date | Jun 2, 2020 |
| Grant date | Jun 2, 2020 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A method and device for acquiring an image, a terminal and a computer-readable storage medium are provided. The method includes: acquiring gyroscope data from the gyroscope while acquiring images by the camera component; obtaining a current scene for each acquired image and determining whether the current scene includes an indoor scene or an outdoor scene based on each acquired image; and determining whether to perform optical anti-shake processing on each acquired image based on the acquired gyroscope data based on whether the current scene includes the indoor scene. With the method and device for acquiring an image, the quality of the captured video image can be enhanced.
Opening claim text (preview).
What is claimed is: 1. A method for acquiring an image, implemented by a terminal having a camera component and a gyroscope, comprising: acquiring gyroscope data from the gyroscope while acquiring images by the camera component; obtaining a current scene for each acquired image and determining whether the current scene includes an indoor scene or an outdoor scene based on each acquired image; determining whether to perform optical anti-shake processing on each acquired image based on the acquired gyroscope data based on whether the current scene includes the indoor scene; when determining that a current scene includes an outdoor scene, acquiring, by the camera component, each video image frame without the optical anti-shake processing; and performing, based on the gyroscope data corresponding to associated video image frames corresponding to the video image frame, electronic anti-shake processing on the video image frame, for each acquired video image frame without the optical anti-shake processing, to acquire a smooth video image frame. 2. The method according to claim 1 , further comprising: when determining that a current scene includes an indoor scene, performing optical anti-shake processing based on the acquired gyroscope data, by the camera component, to acquire each video image frame subjected to the optical anti-shake processing; and performing, based on image data of associated video image frames corresponding to the video image frame, electronic anti-shake processing on the video image frame, for each acquired video image frame subjected to the optical anti-shake processing, to acquire a smooth video image frame. 3. The method according to claim 1 , further comprising: acquiring a currently configured photosensitivity suitable for the camera component; and when the photosensitivity is greater than a preset photosensitivity threshold, determining that the current scene includes the indoor scene; and when the photosensitivity is less than the preset photosensitivity threshold, determining that the current scene includes the outdoor scene. 4. The method according to claim 1 , further comprising: acquiring an ambient light intensity value by a light sensor; and when the ambient light intensity value is less than a preset light intensity threshold, determining that the current scene includes the indoor scene; and when the ambient light intensity value is greater than the preset light intensity threshold, determining that the current scene includes the outdoor scene. 5. A device for acquiring an image, implemented by a terminal having a camera component, comprising: a processor and a gyroscope; and a memory for storing instructions executable by the processor, wherein the processor is configured to: acquire gyroscope data from the gyroscope while acquiring images by the camera component; obtain a current scene for each acquired image and determine whether the current scene includes an indoor scene or an outdoor scene based on each acquired image; determine whether to perform optical anti-shake processing on each acquired image based on the acquired gyroscope data based on whether the current scene includes the indoor scene; when determining that a current scene includes an outdoor scene, acquire, by the camera component, each video image frame without the optical anti-shake processing; and perform electronic anti-shake processing on the video image frame, based on the gyroscope data corresponding to associated video image frames corresponding to the video image frame, for each acquired video image frame without the optical anti-shake processing, to acquire a smooth video image frame. 6. The device according to claim 5 , wherein the processor is configured to: when determining that a current scene includes an indoor scene, perform optical anti-shake processing based on the acquired gyroscope data, by the camera component, to acquire each video image frame subjected to the optical anti-shake processing; and perform, based on image data of associated video image frames corresponding to the video image frame, electronic anti-shake processing on the video image frame, for each acquired video image frame subjected to the optical anti-shake processing, to acquire a smooth video image frame. 7. The device according to claim 5 , wherein the processor is further configured to: acquire a currently configured photosensitivity suitable for the camera component; and when the photosensitivity is greater than a preset photosensitivity threshold, determine that the current scene includes the indoor scene; and when the photosensitivity is less than the preset photosensitivity threshold, determine that the current scene includes the outdoor scene. 8. The device according to claim 5 , wherein the processor is further configured to: acquire an ambient light intensity value by a light sensor; and when the ambient light intensity value is less than a preset light intensity threshold, determine that the current scene includes the indoor scene; and when the ambient light intensity value is greater than the preset light intensity threshold, determine that the current scene includes the outdoor scene. 9. A non-transitory computer-readable storage medium, having stored therein at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to perform acts comprising: acquiring gyroscope data from a gyroscope while acquiring images by a camera component; obtaining a current scene for each acquired image and determining whether the current scene includes an indoor scene or an outdoor scene based on each acquired image; determining whether to perform optical anti-shake processing on each acquired image based on the acquired gyroscope data based on whether the current scene includes the indoor scene; when determining that a current scene includes an outdoor scene, acquiring, by the camera component, each video image frame without the optical anti-shake processing; and performing, based on the gyroscope data corresponding to associated video image frames corresponding to the video image frame, electronic anti-shake processing on the video image frame, for each acquired video image frame without the optical anti-shake processing, to acquire a smooth video image frame. 10. The storage medium according to claim 9 , wherein the processor is configured to perform acts comprising: when determining that a current scene includes an indoor scene, performing optical anti-shake processing based on the acquired gyroscope data, by the camera component, to acquire each video image frame subjected to the optical anti-shake processing; and performing, based on image data of associated video image frames corresponding to the video image frame, electronic anti-shake processing on the video image frame, for each acquired video image frame subjected to the optical anti-shake processing, to acquire a smooth video image frame. 11. The storage medium according to claim 9 , wherein the processor is further configured to perform acts comprising: acquiring a currently configured photosensitivity suitable for the camera component; and when the photosensitivity is greater than a preset photosensitivity threshold, determining that the current scene includes the indoor scene; and when the photosensitivity is less than the preset photosensitivity threshold, determining that the current scene includes the outdoor scene. 12. The storage medium according to claim 9 , wherein the processor is further configured to perform acts comprising
Physics · mapped topic
Electricity · mapped topic
Electricity · mapped topic
Electricity · mapped topic
Electricity · mapped topic
Related publications grouped by family.
Answers are generated from the same data shown on this page.