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

Test device and test method for testing two-dimensional code decoding algorithm

A technology of testing device and decoding algorithm, which is applied in software testing/debugging, calculation, error detection/correction, etc. It can solve the problems of unable to test the decoding ability of two-dimensional code algorithm, and achieve the effect of improving test accuracy and integrity

Active Publication Date: 2020-02-14
华东江苏大数据交易中心股份有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is the technical problem that the testing system in the prior art cannot be more perfect, automatic and convenient to test the decoding ability of the two-dimensional code algorithm. method, the technical solution has the ability to arbitrarily lift on the Z axis, and the ability to rotate the angle of the two-dimensional code on the X axis and the Y axis; it can monitor and calibrate the angle of the two-dimensional code in real time; Code picture test needs; fast data transmission speed, large storage capacity; automatic test mode and can switch manual test mode; automatic test in the dark and improve test efficiency

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 device and test method for testing two-dimensional code decoding algorithm
  • Test device and test method for testing two-dimensional code decoding algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] The present embodiment provides a test device for testing a two-dimensional code decoding algorithm, wherein the test device includes a PC, a hardware circuit, a light source and a mechanical platform;

[0081] The mechanical platform includes a metal shelf for hanging the light source and a horizontal platform with variable z-axis orientation, x-axis and y-axis deflection angles;

[0082] The light source is hung upside down on the top of the metal shelf to provide the required light intensity;

[0083] Such as figure 1 , the hardware circuit includes an image acquisition module, a mechanical module and a system power supply module;

[0084] The mechanical module is connected to the horizontal platform, and is used to control the adjustment of the z-axis orientation of the horizontal platform, and the adjustment of the x-axis and y-axis deflection angles;

[0085] The image acquisition module is used to acquire images, and is connected with the mechanical module,

...

Embodiment 2

[0100] Such as figure 2 , on the basis of embodiment 1, the present implementation puts the two-dimension code decoding algorithm on the PC, and the test method is as follows:

[0101] Described step (6) is: carry out two-dimensional code decoding operation to the image that image acquisition module collects, upload the image that gathers to PC by PHY circuit, carry out two-dimensional code decoding operation on PC, two-dimensional code decoding operation result It is saved on the PC as a file.

Embodiment 3

[0103] In this embodiment, on the basis of Embodiment 1, the manual test mode is selected, and the test method is as follows:

[0104] (1) Control button 2 to select manual working mode

[0105] (2) Manually press the button 2 to control the motor elevator along the Z axis, the motor along the X axis and the motor along the Y axis, and adjust the z-axis orientation, x-axis and y-axis deflection angles of the horizontal platform.

[0106] (3) transfer any electronic picture in the NANDFLASH to be displayed on the LCD liquid crystal display screen 2;

[0107] (4) Manually press the button 1 to adjust the light intensity of the light source;

[0108] (5) The two-dimensional code decoding algorithm is placed in the MCU1 processor, and the button 1 is manually pressed once, and the camera is controlled by the MCU1 processor to perform a single image acquisition.

[0109] (6) Manually press the button 1 once, carry out the two-dimensional code decoding operation through the MCU1 p...

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 testing method for testing a two-dimensional code decoding algorithm. A testing device for testing the two-dimensional code decoding algorithm is adopted, the testing device comprises a PC, a hardware circuit, a light source and a mechanical platform, the PC is connected with the hardware circuit, the light source is hung upside down on the medical platform, the PC is used for result storing and two-dimensional code algorithm decoding, the light source provides illumination intensity for image collection, and the hardware circuit is used for controlling and adjusting the position of a horizontal platform in the mechanical platform, image collection, two-dimensional code algorithm decoding operation and testing result data transmission and display; the testing method comprises the steps of 1 testing mode selection, 2 horizontal platform position adjustment, 3 image collection and 4 decoding operation. Accordingly, the problem in the prior art is better solved, and the testing method and device can be used for testing the generation activity of two-dimensional code algorithm capacity verification.

Description

technical field [0001] The invention relates to a testing device and a testing method for testing a two-dimensional code decoding algorithm. Background technique [0002] To develop a two-dimensional code simulation algorithm, it is necessary to simulate various situations when a mobile phone scans a two-dimensional code in reality. Since there will be a certain height and deflection angle between the mobile phone and the two-dimensional code to be scanned, it is necessary to check whether the two-dimensional code decoding algorithm It meets the original intention of the design and the requirements in reality. Therefore, a newly developed set of two-dimensional code decoding algorithms must be tested in a variety of complex situations to verify the decoding ability of the algorithm. For example, different vertical distances from the two-dimensional code to the camera, different deflection angles, and different light intensities are tested and verified, and the test data res...

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): G06F11/36
CPCG06F11/3688
Inventor 不公告发明人
Owner 华东江苏大数据交易中心股份有限公司