Method and apparatus for controlling focus, storage medium, and electronic device

A technology of controlling pair and distance, which is applied in the field of computer and can solve problems such as complicated processing and slow focusing speed

Active Publication Date: 2018-12-25
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional focusing method has a complex process, resulting in slow focusing speed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for controlling focus, storage medium, and electronic device
  • Method and apparatus for controlling focus, storage medium, and electronic device
  • Method and apparatus for controlling focus, storage medium, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0027] figure 1 It is a schematic diagram of the internal structure of the electronic device in one embodiment. Such as figure 1 As shown, the electronic device includes a processor, a memory, and a network interface connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory is used to store data, programs, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the scene reco...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and a device for controlling focus, a storage medium and an electronic device, wherein depth data of an image to be photographed is acquired through a TOF camera, anda distance from a photographing main body to the TOF camera is acquired from the depth data of the image to be photographed. The RGB camera is controlled to focus according to the distance from the photographing main body to the TOF camera. Finally, the RGB camera after focusing is used to photograph the image to be photographed, and the first target image is obtained. The TOF camera is very fastin order to get the depth data of the whole image by emitting infrared light at the same time. Therefore, when shooting an image, the distance from the shooting subject to the TOF camera is also obtained from the depth data of the image to be captured acquired by the TOF camera very quickly, and the RGB camera is controlled to focus according to the distance from the shooting subject to the TOF camera. Finally, the RGB camera shoots the image to be captured after focusing, and the first target image is obtained. So it ultimately improves the focusing speed when shooting.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for controlling focus, a storage medium, and electronic equipment. Background technique [0002] With the rapid development of smart mobile terminals, users use mobile terminals with camera functions to take pictures more and more frequently. When using a mobile terminal to take pictures, it is generally necessary to perform a focusing operation, which may be performed automatically by the camera of the mobile terminal, or may be achieved by the user clicking on the screen. The traditional focusing method has a complex processing process, resulting in a slow focusing speed. Contents of the invention [0003] Embodiments of the present application provide a method and device for controlling focusing, a storage medium, and an electronic device, which can improve the focusing speed. [0004] A method of controlling focus, comprising: [0005] Obt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N5/232H04N5/225
CPCH04N23/57H04N23/67
Inventor 陈岩方攀
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products