CN107643160A - A kind of method, terminal and system for simulating actual scanning environment - Google Patents

A kind of method, terminal and system for simulating actual scanning environment Download PDF

Info

Publication number
CN107643160A
CN107643160A CN201710850836.4A CN201710850836A CN107643160A CN 107643160 A CN107643160 A CN 107643160A CN 201710850836 A CN201710850836 A CN 201710850836A CN 107643160 A CN107643160 A CN 107643160A
Authority
CN
China
Prior art keywords
light compensating
compensating lamp
scanning
value
brightness value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710850836.4A
Other languages
Chinese (zh)
Other versions
CN107643160B (en
Inventor
肖为坚
林魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201710850836.4A priority Critical patent/CN107643160B/en
Publication of CN107643160A publication Critical patent/CN107643160A/en
Application granted granted Critical
Publication of CN107643160B publication Critical patent/CN107643160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Resistance To Weather, Investigating Materials By Mechanical Methods (AREA)

Abstract

A kind of method, terminal and system for simulating actual scanning environment provided by the invention, its method include:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color temperature value under an actual scanning environment;Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, obtains the first brightness value, and to cause scanning device to be under the color temperature value environment, light compensating lamp is automatically opened up when the brightness value collected is less than first brightness value, supplements light luminance.The present invention realizes can be in automatic imitation life under different-colour environment, minimum luminance value required for scanning successfully, and the light luminance value gathered in this case is foundation, whether decision opens light compensating lamp in environment is realized, to improve scan efficiency, the making time and testing cost of tester is reduced, improves the accuracy and testing efficiency of test.

Description

A kind of method, terminal and system for simulating actual scanning environment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method for simulating actual scanning environment, terminal and it is System.
Background technology
The environment of test scanning includes extraneous photoenvironment, the extraneous photoenvironment and bar of Text region of recognition of face The extraneous photoenvironment of code scanning.
The mode of illumination simulation is all to adjust brightness and colour temperature, i.e. hand by way of manually adjusting lamp box at present The Value knobs on regulation lamp box and colour temperature knob are moved to reach specific light conditions.This mode has the following disadvantages:
1st, test man is accurately attained specific brightness and colour temperature by adjusting knob and needs to expend the regular hour, and When needing to set multigroup brightness and colour temperature, the time for adjusting brightness and colour temperature manually is even more when occupying the major part of test Between.
2nd, artificial repeatedly manually there is error in regulation brightness and colour temperature, and uniformity is poor.
3rd, when the accuracy for requiring simulated environment brightness and colour temperature is higher, or even need expensive illumination photometer next auxiliary Regulation is helped, adds the cost of test.
The content of the invention
The technical problems to be solved by the invention are:The present invention provides a kind of method, terminal for simulating actual scanning environment And system, the accuracy of simulation test is improved, reduces testing cost.
In order to solve the above-mentioned technical problem, the invention provides a kind of method for simulating actual scanning environment, including with Lower step:
S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color under an actual scanning environment Temperature value;
S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to cause Scanning device is under the color temperature value environment, and light filling is automatically opened up when the brightness value collected is less than first brightness value Lamp, supplement light luminance.
The terminal of actual scanning environment is simulated present invention also offers a kind of, including memory, processor and is stored in Following steps are realized on reservoir and the computer program that can run on a processor, during the computing device described program:
S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color under an actual scanning environment Temperature value;
S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to cause Scanning device is under the color temperature value environment, and light filling is automatically opened up when the brightness value collected is less than first brightness value Lamp, supplement light luminance.
Present invention also offers it is a kind of using the above method simulate actual scanning environment system, including multiple light compensating lamps, Sweep test platform, light filling lamp plate, scanning device, tripod, the first digital regulation resistance, the second digital regulation resistance and Arduino Development board;
The multiple light compensating lamp and sweep test platform are arranged on light filling lamp plate, and multiple light compensating lamps are around sweep test Platform is set;The scanning device is arranged on tripod, and the scanning device is set towards the sweep test platform;
The Arduino development boards are electrically connected by the first digital regulation resistance with light compensating lamp, and the Arduino development boards lead to The second digital regulation resistance is crossed to electrically connect with light compensating lamp;The scanning device is provided with light sensor, the Arduino development boards Electrically connected respectively with scanning device and light sensor.
Beneficial effects of the present invention are:
The present invention can simulate the minimum brightness required for being scanned under the actual scanning environment of a certain color temperature value successfully Value, and light luminance value now is gathered, so as to determine under above-mentioned actual scanning environment, if need opening light compensating lamp to enter Row supplement light, it should be noted that above-mentioned simulation process is carried out in dark room conditions;The present invention realizes being capable of automatic mold Intend the minimum luminance value required under different-colour environment, being scanned successfully in life, and the light luminance gathered in this case It is worth for foundation, determines whether open light compensating lamp in environment is realized, to improve scan efficiency;The present invention is subtracted by the above method The small making time and testing cost of tester, improve the accuracy and testing efficiency of test.
Brief description of the drawings
Fig. 1 is the method key step schematic diagram according to a kind of simulation actual scanning environment of the embodiment of the present invention;
Fig. 2 is the terminal structure schematic diagram according to a kind of simulation actual scanning environment of the embodiment of the present invention;
Fig. 3 is the system structure diagram according to a kind of simulation actual scanning environment of the embodiment of the present invention;
Label declaration:
1st, memory;2nd, processor;3rd, Arduino development boards;4th, the first digital regulation resistance;5th, light compensating lamp;6th, the second number Word potentiometer;7th, scanning device;8th, light sensor;9th, power supply;10th, relay switch.
Embodiment
To describe the technology contents of the present invention, the objects and the effects in detail, below in conjunction with embodiment and coordinate attached Figure is explained in detail.
Most critical of the present invention is contemplated that:Obtain required for being scanned under the actual scanning environment of a certain color temperature value successfully most Small brightness value, and light luminance value now is gathered, to determine whether to need under actual scanning environment to open light compensating lamp.
Fig. 1 is refer to, the invention provides a kind of method for simulating actual scanning environment, is comprised the following steps:
S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color under an actual scanning environment Temperature value;
S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to cause Scanning device is under the color temperature value environment, and light filling is automatically opened up when the brightness value collected is less than first brightness value Lamp, supplement light luminance.
It was found from foregoing description, the present invention can simulate the actual scanning ring in a certain color temperature value by the above method Minimum luminance value required for being scanned under border successfully, and light luminance value now is gathered, so as to determine actually to sweep in above-mentioned Retouch under environment, if need opening light compensating lamp to carry out supplement light, it should be noted that above-mentioned simulation process is in dark room conditions Middle progress, while above-mentioned scanning circumstance can be applied to the scanning scene such as recognition of face, Text region, bar code scan;The present invention Realizing in automatic imitation life under different-colour environment, can scan successfully required minimum luminance value, and with this situation The light luminance value of lower collection is foundation, determines whether open light compensating lamp in environment is realized, to improve scan efficiency;The present invention By the above method, the making time and testing cost of tester are reduced, improves the accuracy and testing efficiency of test.
Further, also include between the S1 and S2:
Obtain the maximum brightness value of the light compensating lamp;
The brightness value of the light compensating lamp is arranged to the second brightness value, second brightness value is described in predetermined coefficient is multiplied by Maximum brightness value.
It was found from foregoing description, the time required for light compensating lamp brightness regulation can be shortened by the above method, improve mould Intend testing efficiency.
Further, the S2 is specially:
Judge whether the scanning device scans success;
If the brightness value for successfully, gradually decreasing the light compensating lamp is scanned until obtaining scanning device being made to scan successfully Minimum luminance value;
If scanning is unsuccessful, gradually increase the brightness value of the light compensating lamp until obtaining to be scanned into scanning device The minimum luminance value of work(.
It was found from foregoing description, pass through the above method, the minimum of the light compensating lamp required for can quickly obtaining scanning successfully Brightness value, improve simulation test efficiency.
Further, " judging whether the scanning device scans success " is specially:
Whether real-time detection scanning device sends the successful feedback information of scanning, if so, then scanning successfully;If no, Scanning failure.
It was found from foregoing description, by the above method, can accurate judgement scanning device whether scan success, improve mould Intend the accuracy of test.
Further, also include after the S3:
Judge whether to need change color temperature value to be tested;
If desired, then the second color temperature value for needing to be tested is obtained;
It is second color temperature value to update first color temperature value, performs step S1 to S3;
If need not, terminate to test.
It was found from foregoing description, by the above-mentioned means, can be to being simulated under the actual scanning environment of different-colour value Test, improves simulation test efficiency, reduces customer using cost.
Further, " gradually increase or reduce light compensating lamp brightness " be specially:
The maximum brightness value of light compensating lamp is obtained, gradually increases or reduce every time 1 the percent of light compensating lamp maximum brightness value.
It was found from foregoing description, by the above method, it can rapidly and accurately obtain being scanned under the color temperature value environment The minimum luminance value of light compensating lamp needed for work(.
Fig. 2 is refer to, the invention provides a kind of terminal for simulating actual scanning environment, including memory 1, processor 2 And the computer program that can be run on memory 1 and on processor 2 is stored in, the processor 2 performs real during described program Existing following steps:
S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color under an actual scanning environment Temperature value;
S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to cause Scanning device is under the color temperature value environment, and light filling is automatically opened up when the brightness value collected is less than first brightness value Lamp, supplement light luminance.
Further, the terminal of described a kind of simulation actual scanning environment, also includes between the S1 and S2:
Obtain the maximum brightness value of the light compensating lamp;
The brightness value of the light compensating lamp is arranged to the second brightness value, second brightness value is described in predetermined coefficient is multiplied by Maximum brightness value.
Further, a kind of terminal of described simulation actual scanning environment, the S2 are specially:
Judge whether the scanning device scans success;
If the brightness value for successfully, gradually decreasing the light compensating lamp is scanned until obtaining scanning device being made to scan successfully Minimum luminance value;
If scanning is unsuccessful, gradually increase the brightness value of the light compensating lamp until obtaining to be scanned into scanning device The minimum luminance value of work(.
Further, the terminal of described a kind of simulation actual scanning environment, " judges whether the scanning device is scanned into Work(" is specially:
Whether real-time detection scanning device sends the successful feedback information of scanning, if so, then scanning successfully;If no, Scanning failure.
Further, the terminal of described a kind of simulation actual scanning environment, the S3 also include afterwards:
Judge whether to need change color temperature value to be tested;
If desired, then the second color temperature value for needing to be tested is obtained;
It is second color temperature value to update first color temperature value, performs step S1 to S3;
If need not, terminate to test.
Further, the terminal of described a kind of simulation actual scanning environment, " gradually increase or reduce the bright of light compensating lamp Degree " is specially:
The maximum brightness value of light compensating lamp is obtained, gradually increases or reduce every time 1 the percent of light compensating lamp maximum brightness value.
Fig. 3 is refer to, it is including multiple the invention provides a kind of system that actual scanning environment is simulated using the above method Light compensating lamp 5, sweep test platform, light filling lamp plate, scanning device 7, tripod, the first digital regulation resistance 4, the second digital regulation resistance 6 and Arduino development boards 3;
The multiple light compensating lamp 5 and sweep test platform are arranged on light filling lamp plate, and multiple light compensating lamps 5 are surveyed around scanning Platform is tried to set;The scanning device 7 is arranged on tripod, and the scanning device 7 is set towards the sweep test platform;
The Arduino development boards 3 are electrically connected by the first digital regulation resistance 4 with light compensating lamp 5, the first digital regulation resistance string It is linked in the main circuit of light compensating lamp control brightness, it is described so as to control the change of LED luminance for controlling the electric current of main circuit Light compensating lamp concrete model be:METTLE Vpad-112;The Arduino development boards 3 are by the second digital regulation resistance 6 with mending Light lamp 5 is electrically connected, and the second digital regulation resistance is connected in series in the main circuit of light compensating lamp control colour temperature, for controlling the electricity of main circuit Stream, so as to control the change of LED colour temperatures;The scanning device 7 is provided with light sensor 8, and the Arduino development boards 3 divide Do not electrically connected with scanning device 7 and light sensor 8.
Operation principle:Said system is positioned in darkroom, Arduino development boards are adjusted by the first digital regulation resistance and mended The color temperature value of light lamp, preset color temperature value (color temperature value under a certain actual scanning environment) is, then passes through the second numeral electricity The brightness value of position device regulation light compensating lamp, the initial luma values for making light compensating lamp are the half of maximum brightness value, and control scanning device is opened Begin scanning, if scanning device is received in preset time scans successful feedback signal, by the second digital regulation resistance by The brightness value of decrescence small light compensating lamp, until obtaining that scanning device can be made to scan successful minimum luminance value;If in preset time Do not receive scanning device inside and scan successful feedback signal, then gradually increase the brightness of light compensating lamp by the second digital regulation resistance Value, until obtaining that scanning device can be made to scan successful minimum luminance value;The brightness value for now adjusting light compensating lamp is described Minimum luminance value, by the light luminance value of light sensor collection now, the first brightness value is obtained, to cause at scanning device Under the color temperature value environment, light compensating lamp is automatically opened up when the brightness value collected is less than first brightness value, supplements light Brightness.
It was found from foregoing description, by said system, realizing in automatic imitation life under different-colour environment, can sweep Required minimum luminance value is retouched successfully, and the light luminance value gathered in this case is foundation, is determined in environment is realized Whether light compensating lamp is opened, to improve scan efficiency;The present invention reduces making time and the survey of tester by said system Cost is tried, improves the accuracy and testing efficiency of test.
Further, the system of described a kind of simulation actual scanning environment, in addition to power supply 9 and relay switch 10;
The power supply 9 is electrically connected with Arduino development boards 3 and light compensating lamp 5 respectively by relay switch 10.
Further, the Standard resistance range of the resistance of first digital regulation resistance 4 and second digital regulation resistance 6 is 0-100kΩ;
One digital regulation resistance and second digital regulation resistance 6 are 100 rank digital regulation resistances.
It was found from foregoing description, the effect of the potentiometer of 100 ranks is to control LED brightness and colour temperature in 100 gears, 100 gears can be adjusted.Resistance takes 0-100k Ω to meet the current regulation of light filling lamp plate, i.e., when resistance is 100k Ω Electric current reaches exactly to the luminous critical value of LED, and electric current reaches the luminous most bright value of LED when resistance is 0k Ω, so 0-100k Ω resistances are taken to control brightness and whole changes of colour temperature.
Fig. 1 is refer to, embodiments of the invention one are:
The invention provides a kind of method for simulating actual scanning environment, comprise the following steps:
S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color under an actual scanning environment Temperature value;
Also include between the S1 and S2:
Obtain the maximum brightness value of the light compensating lamp;
The brightness value of the light compensating lamp is arranged to the second brightness value, second brightness value is described in predetermined coefficient is multiplied by Maximum brightness value.
S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
" gradually increase or the brightness of diminution light compensating lamp " is specially:
The maximum brightness value of light compensating lamp is obtained, gradually increases or reduce every time 1 the percent of light compensating lamp maximum brightness value.
The S2 is specially:
Judge whether the scanning device scans success;
If the brightness value for successfully, gradually decreasing the light compensating lamp is scanned until obtaining scanning device being made to scan successfully Minimum luminance value;
If scanning is unsuccessful, gradually increase the brightness value of the light compensating lamp until obtaining to be scanned into scanning device The minimum luminance value of work(.
" judging whether the scanning device scans success " is specially:
Whether real-time detection scanning device sends the successful feedback information of scanning, if so, then scanning successfully;If no, Scanning failure.
S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to cause Scanning device is under the color temperature value environment, and light filling is automatically opened up when the brightness value collected is less than first brightness value Lamp, supplement light luminance.
Also include after the S3:
Judge whether to need change color temperature value to be tested;
If desired, then the second color temperature value for needing to be tested is obtained;
It is second color temperature value to update first color temperature value, performs step S1 to S3;
If need not, terminate to test.
Fig. 2 is refer to, embodiments of the invention two are:
The terminal of actual scanning environment is simulated the invention provides a kind of, including memory, processor and is stored in storage Following steps are realized on device and the computer program that can run on a processor, during the computing device described program:
S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color under an actual scanning environment Temperature value;
Also include between the S1 and S2:
Obtain the maximum brightness value of the light compensating lamp;
The brightness value of the light compensating lamp is arranged to the second brightness value, second brightness value is described in predetermined coefficient is multiplied by Maximum brightness value.
S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
" gradually increase or the brightness of diminution light compensating lamp " is specially:
The maximum brightness value of light compensating lamp is obtained, gradually increases or reduce every time 1 the percent of light compensating lamp maximum brightness value.
The S2 is specially:
Judge whether the scanning device scans success;
If the brightness value for successfully, gradually decreasing the light compensating lamp is scanned until obtaining scanning device being made to scan successfully Minimum luminance value;
If scanning is unsuccessful, gradually increase the brightness value of the light compensating lamp until obtaining to be scanned into scanning device The minimum luminance value of work(.
" judging whether the scanning device scans success " is specially:
Whether real-time detection scanning device sends the successful feedback information of scanning, if so, then scanning successfully;If no, Scanning failure.
S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to cause Scanning device is under the color temperature value environment, and light filling is automatically opened up when the brightness value collected is less than first brightness value Lamp, supplement light luminance.
Also include after the S3:
Judge whether to need change color temperature value to be tested;
If desired, then the second color temperature value for needing to be tested is obtained;
It is second color temperature value to update first color temperature value, performs step S1 to S3;
If need not, terminate to test.
Fig. 3 is refer to, embodiments of the invention three are:
The invention provides a kind of system of methods described of Application Example one simulation actual scanning environment, including multiple benefits Light lamp, sweep test platform, light filling lamp plate, scanning device, tripod, the first digital regulation resistance, the second digital regulation resistance, Arduino development boards, power supply and relay switch;
The multiple light compensating lamp and sweep test platform are arranged on light filling lamp plate, and multiple light compensating lamps are around sweep test Platform is set;The scanning device is arranged on tripod, and the scanning device is set towards the sweep test platform;
The Arduino development boards are electrically connected by the first digital regulation resistance with light compensating lamp, and the Arduino development boards lead to The second digital regulation resistance is crossed to electrically connect with light compensating lamp;The scanning device is provided with light sensor, the Arduino development boards Electrically connected respectively with scanning device and light sensor;
The power supply is electrically connected with Arduino development boards and light compensating lamp respectively by relay switch;First numeral The Standard resistance range of the resistance of potentiometer and second digital regulation resistance is 0-100k Ω;One digital regulation resistance and described Second digital regulation resistance is 100 rank digital regulation resistances.
In summary, the present invention provides a kind of method, terminal and system for simulating actual scanning environment, can simulate Minimum luminance value required for being scanned under the actual scanning environment of a certain color temperature value successfully, and light luminance value now is gathered, So as to determine under above-mentioned actual scanning environment, if need opening light compensating lamp to carry out supplement light, it should be noted that on Stating simulation process is carried out in dark room conditions;The present invention, which realizes, in automatic imitation life under different-colour environment, to sweep Required minimum luminance value is retouched successfully, and the light luminance value gathered in this case is foundation, is determined in environment is realized Whether light compensating lamp is opened, to improve scan efficiency;The present invention reduces making time and the survey of tester by the above method Cost is tried, improves the accuracy and testing efficiency of test.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalents that bright specification and accompanying drawing content are made, or other related technical areas are directly or indirectly used in, similarly It is included within the scope of the present invention.

Claims (15)

  1. A kind of 1. method for simulating actual scanning environment, it is characterised in that comprise the following steps:
    S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color temperature value under an actual scanning environment;
    S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
    S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to scan Equipment is under the color temperature value environment, and light compensating lamp is automatically opened up when the brightness value collected is less than first brightness value, is mended Fill light luminance.
  2. 2. a kind of method for simulating actual scanning environment according to claim 1, it is characterised in that between the S1 and S2 Also include:
    Obtain the maximum brightness value of the light compensating lamp;
    The brightness value of the light compensating lamp is arranged to the second brightness value, second brightness value is that predetermined coefficient is multiplied by the maximum Brightness value.
  3. 3. a kind of method for simulating actual scanning environment according to claim 2, it is characterised in that the S2 is specially:
    Judge whether the scanning device scans success;
    If the brightness value for successfully, gradually decreasing the light compensating lamp is scanned until obtaining that scanning device scanning can be made successful most Small brightness value;
    If scanning is unsuccessful, gradually increase the brightness value of the light compensating lamp until obtaining that scanning device scanning can be made successful Minimum luminance value.
  4. 4. a kind of method for simulating actual scanning environment according to claim 3, it is characterised in that " judge the scanning Whether equipment scans success " be specially:
    Whether real-time detection scanning device sends the successful feedback information of scanning, if so, then scanning successfully;If no, scan Failure.
  5. 5. a kind of method for simulating actual scanning environment according to claim 1, it is characterised in that also wrapped after the S3 Include:
    Judge whether to need change color temperature value to be tested;
    If desired, then the second color temperature value for needing to be tested is obtained;
    It is second color temperature value to update first color temperature value, performs step S1 to S3;
    If need not, terminate to test.
  6. 6. a kind of method for simulating actual scanning environment according to claim 1, it is characterised in that " gradually increase or contracting The brightness of small light compensating lamp " is specially:
    The maximum brightness value of light compensating lamp is obtained, gradually increases or reduce every time 1 the percent of light compensating lamp maximum brightness value.
  7. 7. a kind of terminal for simulating actual scanning environment, including memory, processor and storage on a memory and can handled The computer program run on device, it is characterised in that realize following steps during the computing device described program:
    S1:The colour temperature of regulation light compensating lamp is the first color temperature value, and first color temperature value is the color temperature value under an actual scanning environment;
    S2:Gradually increase or the brightness of diminution light compensating lamp, obtain that scanning device can be made to scan successful minimum luminance value;
    S3:It is the light luminance value under the minimum luminance value environment to gather light compensating lamp, the first brightness value is obtained, to scan Equipment is under the color temperature value environment, and light compensating lamp is automatically opened up when the brightness value collected is less than first brightness value, is mended Fill light luminance.
  8. 8. a kind of terminal for simulating actual scanning environment according to claim 7, it is characterised in that between the S1 and S2 Also include:
    Obtain the maximum brightness value of the light compensating lamp;
    The brightness value of the light compensating lamp is arranged to the second brightness value, second brightness value is that predetermined coefficient is multiplied by the maximum Brightness value.
  9. 9. a kind of terminal for simulating actual scanning environment according to claim 8, it is characterised in that the S2 is specially:
    Judge whether the scanning device scans success;
    If the brightness value for successfully, gradually decreasing the light compensating lamp is scanned until obtaining that scanning device scanning can be made successful most Small brightness value;
    If scanning is unsuccessful, gradually increase the brightness value of the light compensating lamp until obtaining that scanning device scanning can be made successful Minimum luminance value.
  10. 10. a kind of terminal for simulating actual scanning environment according to claim 9, it is characterised in that " judge the scanning Whether equipment scans success " be specially:
    Whether real-time detection scanning device sends the successful feedback information of scanning, if so, then scanning successfully;If no, scan Failure.
  11. 11. a kind of terminal for simulating actual scanning environment according to claim 7, it is characterised in that after the S3 also Including:
    Judge whether to need change color temperature value to be tested;
    If desired, then the second color temperature value for needing to be tested is obtained;
    It is second color temperature value to update first color temperature value, performs step S1 to S3;
    If need not, terminate to test.
  12. 12. a kind of terminal for simulating actual scanning environment according to claim 7, it is characterised in that " gradually increase or contracting The brightness of small light compensating lamp " is specially:
    The maximum brightness value of light compensating lamp is obtained, gradually increases or reduce every time 1 the percent of light compensating lamp maximum brightness value.
  13. A kind of 13. system using the simulation actual scanning environment of any methods described in claim 1 to 6, it is characterised in that Including multiple light compensating lamps, sweep test platform, light filling lamp plate, scanning device, tripod, the first digital regulation resistance, the second numeral Potentiometer and Arduino development boards;
    The multiple light compensating lamp and sweep test platform are arranged on light filling lamp plate, and multiple light compensating lamps are around sweep test platform Set;The scanning device is arranged on tripod, and the scanning device is set towards the sweep test platform;
    The Arduino development boards are electrically connected by the first digital regulation resistance with light compensating lamp, and the Arduino development boards pass through Two digital regulation resistances electrically connect with light compensating lamp;The scanning device is provided with light sensor, the Arduino development boards difference Electrically connected with scanning device and light sensor.
  14. A kind of 14. system for simulating actual scanning environment according to claim 13, it is characterised in that also including power supply and Relay switch;
    The power supply is electrically connected with Arduino development boards and light compensating lamp respectively by relay switch.
  15. A kind of 15. system for simulating actual scanning environment according to claim 13, it is characterised in that first numeral The Standard resistance range of the resistance of potentiometer and second digital regulation resistance is 0-100k Ω;
    One digital regulation resistance and second digital regulation resistance are 100 rank digital regulation resistances.
CN201710850836.4A 2017-09-20 2017-09-20 A kind of method, terminal and system for simulating actual scanning environment Active CN107643160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710850836.4A CN107643160B (en) 2017-09-20 2017-09-20 A kind of method, terminal and system for simulating actual scanning environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710850836.4A CN107643160B (en) 2017-09-20 2017-09-20 A kind of method, terminal and system for simulating actual scanning environment

Publications (2)

Publication Number Publication Date
CN107643160A true CN107643160A (en) 2018-01-30
CN107643160B CN107643160B (en) 2019-07-26

Family

ID=61113942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710850836.4A Active CN107643160B (en) 2017-09-20 2017-09-20 A kind of method, terminal and system for simulating actual scanning environment

Country Status (1)

Country Link
CN (1) CN107643160B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1234140B1 (en) * 1999-11-18 2005-08-10 Color Kinetics Systems and methods for generating and modulating illumination conditions
CN102858056A (en) * 2012-07-23 2013-01-02 宁波凯耀电器制造有限公司 Brightness and color temperature controlling system for LED (light-emitting diode) lamp
US20140320024A1 (en) * 2011-06-03 2014-10-30 Osram Sylvania Inc. Multimode color tunable light sources
CN105827988A (en) * 2015-07-14 2016-08-03 广东维沃软件技术有限公司 Light control method and device in mobile terminal shooting
US9596731B1 (en) * 2015-09-21 2017-03-14 Hm Electronics Co., Ltd. Method for modulating color temperature in visible band

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1234140B1 (en) * 1999-11-18 2005-08-10 Color Kinetics Systems and methods for generating and modulating illumination conditions
US20140320024A1 (en) * 2011-06-03 2014-10-30 Osram Sylvania Inc. Multimode color tunable light sources
CN102858056A (en) * 2012-07-23 2013-01-02 宁波凯耀电器制造有限公司 Brightness and color temperature controlling system for LED (light-emitting diode) lamp
CN105827988A (en) * 2015-07-14 2016-08-03 广东维沃软件技术有限公司 Light control method and device in mobile terminal shooting
US9596731B1 (en) * 2015-09-21 2017-03-14 Hm Electronics Co., Ltd. Method for modulating color temperature in visible band

Also Published As

Publication number Publication date
CN107643160B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN101577078B (en) Full automatic adjustment and test system for liquid crystal display
CN106104289B (en) Accumulator simulator and method for simulating accumulator
CN101960612A (en) Solar battery inspecting apparatus and method for judging solar battery defect
CN105446312A (en) Car body electric control system testing platform based on hardware-in-the-loop
CN108375706A (en) The method that temperature rises Auto-Test System and tests Wen Sheng
CN109819245B (en) On-line measuring method and device for chroma and brightness data based on AOI platform
CN110455815A (en) A kind of method and system of electronic component open defect detection
CN109142380A (en) The fault detection method of circuit board, device and system
CN110109274A (en) A kind of the picture detection device and method of liquid crystal display
CN111693252B (en) Lamp test control system and lamp test method
CN111145138A (en) Detection method, device and equipment of LED lamp panel and storage medium
CN107643160B (en) A kind of method, terminal and system for simulating actual scanning environment
CN113596278B (en) System, method, medium and equipment for digitally and rapidly scanning fabric
CN109448615A (en) A kind of automatic adjustment method of Electronic Paper drive waveforms
CN101742765A (en) Brightness and color temperature automatic adjustment system and method of LED (Light Emitting Diode) module
CN105699801A (en) Method and system for performing electrical tests to complex devices
CN109167995B (en) Display screen defect electron limit preparation facilities
CN102033146A (en) Electronic load with light emitting diode simulation characteristic and light emitting diode characteristic simulation method
CN106655401A (en) Charging method and charging equipment
CN115665917A (en) LED eye-protecting lamp light intensity calculation method for simulating classroom illumination
CN109977065A (en) A kind of terminal block scanning automatic map delivery device and its application method
CN205450169U (en) Wire rod conduction testing tool
CN115373989A (en) Automatic test system and method for vehicle, vehicle and storage medium
CN101763743A (en) Intelligent practicing device for an electrical towage control circuit
CN102177487A (en) Active matrix display and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant