Method and system for acquiring Android terminal camera data

A camera and data capture technology, applied in the fields of electrical digital data processing, telephone communication, instruments, etc., can solve the problems of affecting experience, slow response speed of program processing results, etc., and achieve the effect of real-time processing and efficient processing

Pending Publication Date: 2019-07-05
SUN YAT SEN UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The problem with the existing method is that the camera image data acquired by the Java layer needs to be transferred to the natice layer through the Jni call to process the call of the C / C++ code, so there are problems in both real-time and interactivity. There is a certain delay, and the response speed of the program processing results is slow, which will affect the experience in such as face unlocking, somatosensory games, etc.

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 system for acquiring Android terminal camera data
  • Method and system for acquiring Android terminal camera data
  • Method and system for acquiring Android terminal camera data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0044] Figure 4 It is a flow chart of steps of a method for obtaining camera data of an Android terminal in the present invention. Such as Figure 4 As shown, a method for obtaining Android terminal camera data of the present invention comprises the following steps:

[0045]Step S1, declare a native function, the native function is a functional function for calling camera data, that is, ...

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 discloses a method and a system for obtaining Android terminal camera data, and the method comprises the following steps: S1, carrying out the declaration of a native function which is afunctional function for calling the camera data; s2, loading a dynamic library for realizing the native function; s3, obtaining the operation authority of the camera; s4, calling the native functionat the required position; and S5, generating a local cpp file, and realizing a native function of obtaining the camera data by the bottom layer and carrying out corresponding service logic processing.According to the method, the real-time processing of the image data of the Android mobile phone camera is more efficient, and cross-platform can be realized.

Description

technical field [0001] The invention relates to the technical field of camera image data acquisition, in particular to a method and system for acquiring camera data of an Android terminal based on the bottom layer of an Android system. Background technique [0002] The Android operating system is a Linux-based operating system, mainly used in portable devices. The development of upper-layer applications in the Android system is generally completed based on Java. Java is platform-independent, so it is not easy to implement some low-level tasks in Java. For example, when it comes to local services, link libraries or hardware drivers, etc., it is usually necessary to run C to implement, and C programs run on native (native method) layer. The Java layer and the native layer can call each other through a JNI (Java Native Interface; Java, native interface) mechanism. In the Android system, more functions are provided in the form of Java layer APIs, and the native layer often ne...

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): G06F9/448H04M1/725H04M1/72439
CPCG06F9/4482H04M1/72439
Inventor 王青谢柏基江波
Owner SUN YAT SEN UNIV
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