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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com