Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A mobile terminal focusing method, device and computer-readable storage medium

A mobile terminal and storage technology, applied in the information field, can solve problems such as stretching and zooming of the preview screen, so as to speed up the response speed, ease the workload, and improve the user experience

Active Publication Date: 2020-07-24
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the focusing process, we will see that the preview screen will appear stretched and zoomed.

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
  • A mobile terminal focusing method, device and computer-readable storage medium
  • A mobile terminal focusing method, device and computer-readable storage medium
  • A mobile terminal focusing method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] refer to image 3 , a mobile terminal focusing method, comprising:

[0067] S101. Obtain a shooting preview image after it is detected that the shooting application program is started.

[0068] The user starts the shooting program in the mobile terminal (such as opening the "camera" APP application program in the smart phone), and the shooting program calls the camera of the mobile terminal to obtain the picture to be taken, and then displays the picture on the display screen of the mobile terminal.

[0069] S102. Monitor the focus trigger event, and acquire the focus position and focus distance.

[0070] When the mobile terminal starts the shooting program to start shooting, it will start the monitoring of the focus trigger event. The user selects the focus by clicking on the preview screen of the mobile terminal screen during the shooting process (if the user wants to use a certain person as the focus of the shooting, then click on the location of the person on the ...

Embodiment 2

[0113] refer to Figure 4 , this embodiment adds the following steps on the basis of Embodiment 1:

[0114] S106. The mobile terminal calculates a focus duration according to the focal length; and the mobile terminal plays a focus animation corresponding to the focus duration according to the focus duration.

[0115] The camera program of the Android mobile terminal calculates how long it takes to complete the focusing according to the current focal length and the processing capability of the OpenGL drawing thread. The camera program is based on the processing capability of the GPU of the current mobile terminal. The stronger the processing capability, the shorter the time to complete focusing; the weaker the processing capability, the longer the time to complete focusing. The longer the focal length, the longer the time to complete focusing; the shorter the focal length, the shorter the time to complete focusing.

[0116] The camera program calculates the focusing time acco...

Embodiment 3

[0122] refer to Figure 5 , this embodiment adds the following steps on the basis of Embodiment 1:

[0123] S108. Monitor the focus completion event; after the focus is completed, send a message to remind the user that the focus has been completed.

[0124] The camera program starts to monitor the focus completion event, and when OpenGL finishes focusing, it sends a message to notify the camera program that the focus is complete. After the camera program receives the focus completion message sent by OpenGL, it stops playing the animation. Then the camera program prompts the user that the focus is completed by playing a sound (such as two beeps), displaying a green indicator light on the screen, and prompting the user to take pictures.

[0125] In this embodiment, by monitoring the focus completion event, the user is prompted that the focus is completed, which facilitates the user to shoot and improves the user's shooting experience.

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 present invention discloses a mobile terminal focusing method, device and computer-readable storage medium. The method includes: after monitoring that the shooting application program is started, obtaining a shooting preview screen; monitoring the focusing trigger event, and obtaining the focus position and focal length; The focus position and focal distance are transmitted to the application layer; the vertex coordinates calculated by the application layer according to the focus position and focal distance are received; and the focus animation is drawn in the preview screen on the screen according to the vertex coordinates. The present invention implements focusing animation at the application layer and introduces GPU processing, which can realize smoother and more diversified focusing motions, alleviate the workload of the HAL layer to a certain extent, speed up the response speed of the bottom layer of the camera, and improve user experience.

Description

【Technical field】 [0001] The present invention relates to the field of information technology, more specifically, a mobile terminal focusing method, device and computer-readable storage medium. 【Background technique】 [0002] For mobile phone cameras, when the focus mode is Continuous AF, when the preview screen is clicked, or when factors such as FV (sharpness), Gyro (gyroscope) or SAD (brightness change) change, the camera's focus will be triggered. During the focusing process, we will see that the preview screen will appear stretched and zoomed. At present, the autofocus process of non-fixed-focus cameras on the market is basically implemented by the HAL layer. When the trigger factor is received, the focus process starts, and the camera data is cut out to realize the focus animation. This process is serialized in the CPU. Processing delays the focusing process to a certain extent, and the focusing animation is relatively simple. 【Content of invention】 [0003] In vie...

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 Patents(China)
IPC IPC(8): H04N5/232
CPCH04N23/67H04N23/62
Inventor 彭灿灿
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products