Unlock instant, AI-driven research and patent intelligence for your innovation.

Realization method and device of virtual camera

A technology of a virtual camera and its implementation method, which is applied in the field of implementation methods and devices of a virtual camera, and can solve problems such as inability to meet user needs and single source of image data

Active Publication Date: 2021-04-23
BEIJING QIHOO TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, the image data source of the electronic device can only be provided by the hardware camera, and there is a problem of a single image data source, which cannot meet the growing needs of users

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
  • Realization method and device of virtual camera
  • Realization method and device of virtual camera
  • Realization method and device of virtual camera

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0041] The embodiment of the present invention provides a method for implementing a virtual camera, which is applied to an Android platform. Specifically, the method for implementing a virtual camera can be applied to an electronic device installed with an Android system. The electronic device can be a mobile phone, a tablet computer or a computer. etc. Further, the electronic device may or may not include a hardware camera. In addi...

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 relates to the technical field of image processing, in particular to a method and device for realizing a virtual camera, which is applied to an Android platform, and includes: hooking a camera opening function, a camera callback function, and a camera preview function; when a target application calls the camera opening function, a virtual camera is generated. The camera object sends the virtual camera object to the camera software layer; configures the image data source to the virtual camera object, and establishes the corresponding relationship between the virtual camera object and the image data source; when the camera software layer calls the camera callback function, saves the camera callback function into the virtual camera object; when the camera software layer calls the camera preview function, the image data is obtained from the image data source corresponding to the virtual camera object, and the camera callback function in the virtual camera object is called to pass the image data to the camera software layer, so that The target application previews the image data. The present invention extends the sources of image data.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a method and device for realizing a virtual camera. Background technique [0002] The camera is the standard hardware configuration of today's electronic equipment. The main function of the camera is to provide the function of capturing images for the electronic equipment. Not only static images can be collected through the camera, but also dynamic images can be collected. From the upper layer to the lower layer, the camera is respectively a software layer and a hardware layer. The method of using the camera at the software layer usually includes the following steps: first, the camera is turned on, then the camera is controlled to capture images, and finally the camera is turned off. However, in the prior art, the image data source of the electronic device can only be provided by the hardware camera, and there is a problem of a single image data source, which cannot meet...

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): G06F9/455G06F9/48
CPCG06F9/455G06F9/48
Inventor 卿钢
Owner BEIJING QIHOO TECH CO LTD