Camera access method and device, terminal equipment and readable storage medium

An access method and camera technology, applied in the field of camera, can solve problems such as terminal equipment freezes, reduce the amount of storage space occupied, and reduce terminal equipment freezes.

Active Publication Date: 2020-07-24
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, users hope to use the camera program in the terminal device to take pictures for a long time (such as taking pictures of the concert hall performances for a long time), however, in this case, the terminal device will experience serious lag

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
  • Camera access method and device, terminal equipment and readable storage medium
  • Camera access method and device, terminal equipment and readable storage medium
  • Camera access method and device, terminal equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] A camera access method provided in Embodiment 1 of the present application is described below. The camera access method is executed by a camera program. Please refer to the attached figure 2 , the method includes:

[0039] In step S201, if an instruction to start a camera program is received, a buffer pipeline BQ is requested from the underlying framework, wherein the underlying framework is a program framework for accessing the camera, and the BQ is used to cache the target camera The image collected, the target camera is the camera to be accessed;

[0040] In this embodiment of the application, when the user starts the camera APP, or starts the "video call" function in the instant messaging application, or can also start the "camera" function in the online shopping platform, it is considered that the above-mentioned activation is received. Instructions of camera-type programs, this application does not limit the scene of receiving the above-mentioned instructions fo...

Embodiment 2

[0059] like Figure 4 As shown, it is a schematic structural diagram of a camera access device provided in Embodiment 2 of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown. The camera access device 400 includes:

[0060] The cache pipeline request module 401 is configured to request a buffer pipeline BQ to the underlying framework if an instruction to start a camera program is received, wherein the underlying framework is a program framework for accessing the camera, and the BQ is used for Cache the image collected by the target camera, the target camera is the camera to be accessed;

[0061] A preview display module 402, configured to display a preview image based on the image captured by the target camera in the BQ cache;

[0062] The photographing module 403 is configured to, if a photographing instruction is received, acquire a photographed image based on the image cached in the BQ a...

Embodiment 3

[0078] Figure 5 It is a schematic structural diagram of a terminal device provided in Embodiment 3 of the present application. like Figure 5 As shown, the terminal device 500 in this embodiment includes: a processor 501 , a memory 502 , and a computer program 503 stored in the memory 502 and operable on the processor 501 . When the processor 501 executes the computer program 503, the steps in the first method embodiment above are implemented. Alternatively, when the processor 601 executes the computer program 503, the functions of the modules in the second embodiment of the device are realized.

[0079] Exemplarily, the above-mentioned computer program 503 may be divided into one or more modules, and the above-mentioned one or more modules are stored in the above-mentioned memory 502 and executed by the above-mentioned processor 501 to complete the present application. The above-mentioned one or more modules may be a series of computer program instruction segments capable...

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 provides a camera access method and device, terminal equipment and a readable storage medium. The camera access method comprises the steps that if an instruction for starting a camera program is received, a buffer pipeline BQ is requested from a bottom layer frame, the bottom layer frame is a program frame used for accessing a camera, the BQ is used for caching an image collected bya target camera, and the target camera is a to-be-accessed camera; performing preview image display based on the image acquired by the target camera and cached by the BQ; If a photographing instruction is received, based on the image cached by the BQ at the moment corresponding to the photographing instruction, obtaining an image obtained by photographing. According to the method and the device, the phenomenon of terminal equipment blockage caused by long-time use of a camera program for photographing can be reduced to a certain extent.

Description

technical field [0001] The present application belongs to the technical field of photography, and in particular relates to a method for accessing a camera, an access device, a terminal device, and a computer-readable storage medium. Background technique [0002] At present, users all hope to use the camera program in the terminal device to take pictures for a long time (such as taking pictures of a performance in a concert hall for a long time). However, in this case, the terminal device will experience a serious freeze phenomenon. Contents of the invention [0003] In view of this, embodiments of the present application provide a method for accessing a camera, an access device, a terminal device, and a computer-readable storage medium. To a certain extent, it can alleviate the stuck phenomenon of the terminal device caused by using the camera program for a long time to take pictures. [0004] In the first aspect, the embodiment of the present application provides a metho...

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
IPC IPC(8): H04N5/232H04N5/76
CPCH04N5/76H04N23/60H04N23/64
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