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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

