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

Test method and device based on camera application

A camera and a technology to be tested are applied in the direction of image communication, color TV parts, TV system parts, etc., and can solve the problems of poor controllability of artificial simulation and insufficient testing of applications to be tested.

Active Publication Date: 2018-05-01
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The artificial simulation of these scenarios is poorly controllable and even dangerous, and it is difficult to meet the different requirements of the test through artificially simulated scenarios, so that the application to be tested cannot be fully tested

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
  • Test method and device based on camera application
  • Test method and device based on camera application
  • Test method and device based on camera application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] figure 1 It is a flow chart of a camera application-based testing method provided in Embodiment 1 of the present invention. This embodiment may be applicable in situations where camera-based applications are adequately tested. The method can be executed by a camera application-based test device, and the device can be implemented by software and / or hardware. The device can be configured in a terminal device installed with a camera-based application. see figure 1 , the test method based on the camera application provided in this embodiment includes:

[0073] S110. Generate image data of a virtual object including a target to be tested according to preset test conditions and acquired target image data.

[0074] Wherein, the preset test condition is a condition set according to the test requirement. For example, if a certain test is aimed at the application software's ability to recognize human blink images, the preset test condition may be parameters such as blink freq...

Embodiment 2

[0095] figure 2 It is a flow chart of a camera application-based testing method provided in Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the first embodiment above. see figure 2 , the test method based on the camera application provided in this embodiment includes:

[0096] S210. Generate image data of a virtual object including a target to be tested according to preset test conditions and acquired target image data.

[0097] S220. Select background image data marked as untested from the scene library.

[0098] Wherein, when the acquired background image data is stored in the scene database, all the background image data are marked as untested.

[0099] S230. Fuse the selected background image data with the image data of the virtual object to generate the image data of the application scene to be tested in the same format as the data actually captured by the camera of the terminal to be tested.

[0100] S240. Ma...

Embodiment 3

[0108] image 3 It is a flow chart of a camera application-based testing method provided by Embodiment 3 of the present invention. This embodiment is an optional solution proposed on the basis of the first and second embodiments above. see image 3 , the test method based on the camera application provided in this embodiment includes:

[0109] S310. Generate a three-dimensional picture including a virtual object of the target to be tested according to preset test conditions and the acquired target image data.

[0110] Among them, based on image or video modeling technology, according to the preset test conditions and the acquired target image data, a three-dimensional picture containing the virtual object of the target to be tested can be generated; CAD software or 3Dmax software can also be used to realize the virtual object containing the target to be tested. Rendering of 3D pictures of virtual objects.

[0111] S320. Based on the dynamic environment modeling technology,...

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 embodiment of the invention discloses a test method and device based on a camera application. The method includes the following steps: generating image data of a virtual object including a targetto be tested according to a preset test condition and acquired target image data; merging background image data in a scene library with the image data of the virtual object to generate image data of an application scene to be tested that is consistent with a data format actually shot by a camera of a terminal to be tested; and sending the image data of the application scene to be tested to an application to be tested, and testing the data. According to the test method and device based on the camera application provided by the embodiment of the invention, the non-artificial simulation of various complex scenes and the scenes with different test requirements can be achieved, and thus the application to be tested can be be fully tested.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of computer data processing, in particular to a testing method and device based on a camera application. Background technique [0002] With the continuous improvement of camera performance in terminals, there are more and more camera-based applications. Different scenarios are required when performance testing a camera-based application. Among them, different scenes can be collected directly from the real scene, or the real scene can be artificially simulated, and then captured by the camera. [0003] However, some scenes are difficult to collect from real scenes or artificially simulated, for example, scenes in space, scenes in the seabed, etc. There are also incident scenes and scenes that cannot be captured, for example, fire scenes or scenes where the eyes move in different micro-expressions. The artificial simulation of these scenarios is poorly controllable and even dangerous, ...

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): H04N17/00H04N5/265
CPCH04N5/265H04N17/002
Inventor 杜志强史磊杨艳
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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