CN105744261B - The test system and method for testing of set top box front panel - Google Patents

The test system and method for testing of set top box front panel Download PDF

Info

Publication number
CN105744261B
CN105744261B CN201410756903.2A CN201410756903A CN105744261B CN 105744261 B CN105744261 B CN 105744261B CN 201410756903 A CN201410756903 A CN 201410756903A CN 105744261 B CN105744261 B CN 105744261B
Authority
CN
China
Prior art keywords
charactron
indicator lamp
configuration parameter
test
msub
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.)
Active
Application number
CN201410756903.2A
Other languages
Chinese (zh)
Other versions
CN105744261A (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.)
Shanghai Inesa Digital Technology Co Ltd
Original Assignee
Shanghai Inesa Digital Technology 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 Shanghai Inesa Digital Technology Co Ltd filed Critical Shanghai Inesa Digital Technology Co Ltd
Priority to CN201410756903.2A priority Critical patent/CN105744261B/en
Publication of CN105744261A publication Critical patent/CN105744261A/en
Application granted granted Critical
Publication of CN105744261B publication Critical patent/CN105744261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Spectrometry And Color Measurement (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses the test system of set top box front panel and method of testing.Test system includes video camera, automatic testing workstation and database;Database is pre-stored every configuration parameter;Set top box includes display module and processor, automatic testing workstation includes extraction module and control module, processor can control display module to show the character string of charactron and the state of indicator lamp, extraction module extracts the image of every configuration parameter, control module control camera acquisition charactron and indicator lamp;Video camera sends the image collected to automatic testing workstation, and automatic testing workstation also includes identification module and test module, and identification module identifies that the character string of charactron and the color of indicator lamp, test module are tested charactron and indicator lamp.The present invention can automatically test the charactron and indicator lamp of set top box front panel, evade the problems such as test leakage existing for artificial observation is surveyed by mistake.

Description

The test system and method for testing of set top box front panel
Technical field
The present invention relates to a kind of test system of set top box front panel and method of testing, is used for TV more particularly to one kind The factory automation monitoring system and method for testing of set top box front panel.
Background technology
Factory need to carry out a series of functional test when producing TV set-top box, including to the master before assembling, after assembling The test of plate, front panel, various input/output interfaces etc., to ensure product quality.Most traditional factory testing method is artificial Test, it is disadvantageous in that, except need lasting single-piece manually with addition to management cost, it is also possible to there is test leakage, survey by mistake etc. to go out Wrong risk.To evade problem caused by manual testing, modern factories tend to equip using automatic test, in set top box Production field, the method, apparatus of factory automation test is engendered.As Chinese patent CN201120556482.0 by regarding Frequency capture card catches the video frequency output of set top box, then using computer to the video captured and the normal pictures being previously stored Contrasted, judged, to replace the means of testing of worker's observation television machine screen in conventional method;Chinese patent CN201210018446.8 then carries out automatic test, but these sides using audio frequency and video analyzer to the audio frequency and video index of set top box Method is all not used to the test of front panel charactron, LED (light emitting diode) indicator lamp.Chinese patent CN200920183371.2 A kind of method tested using single-chip microcomputer front panel veneer is then disclosed, because front panel list need to be connected to using single-chip microcomputer The connecting interface of plate, the system test completed for set top box after final assembly does not apply to, and does not provide charactron, LED The method of testing of lamp;Chinese patent CN201310725897.X also discloses that board measuring method and system before one kind, but for Charactron, LED light, still using artificial observation.
The content of the invention
The technical problem to be solved in the present invention is to overcome prior art can not be to the number of TV set-top box front panel The defects of pipe and indicator lamp carry out automatic test, there is provided the test system and method for testing of a kind of set top box front panel.
The present invention is that solve above-mentioned technical problem by following technical proposals:
The invention provides a kind of test system of set top box front panel, for the charactron to the set top box front panel And indicator lamp is tested, its feature is, including a video camera, an automatic testing workstation and a database;
The database is used to be pre-stored a charactron configuration parameter, an indicator lamp configuration parameter and video camera configuration Parameter, the charactron configuration parameter are used for the display sequence for configuring the character string of the charactron and display interval;The finger Show that lamp configuration parameter is used for the illuminating state and color set for configuring the indicator lamp;The video camera configuration parameter is used to configure The frequency acquisition of the camera acquisition image;
The set top box includes a display module and a processor, the automatic testing workstation include an extraction module and One control module, the processor is used to be pre-stored the charactron configuration parameter and the indicator lamp configuration parameter, and controls The display module circulates and shows the character string of the charactron and according to the finger successively according to the charactron configuration parameter Show that lamp configuration parameter shows the different conditions of indicator lamp;The extraction module is used to extract the charactron from the database Configuration parameter, the indicator lamp configuration parameter and the video camera configuration parameter, the control module are used to control the shooting Machine gathers the charactron of the set top box front panel and the image of indicator lamp with the frequency acquisition;
The video camera is used to send the image collected to the automatic testing workstation, the automatic test job Standing also includes an identification module and a test module, and the identification module is used for the character that charactron is identified from the image The color of string and indicator lamp, the test module are used for using OCR technique (OCR) to the number that identifies The character string of pipe is tested, and continuously identify several character strings and judge with it is default in the charactron configuration parameter The test result that charactron test passes through is exported after several continuous standard characters all sames in circulation character string sequence;Institute State test module and be additionally operable to some colors of the indicator lamp to identifying and test, and if in the indicator lamp for judging to identify The color aberration with default some standards instruction lamp colors of dry color is respectively less than the test that output indication lamp test after a threshold value passes through As a result, the test module is additionally operable to send test result to the database and stored.The test result is used to give birth to Production administrative staff monitoring, the production test situation for managing each station, maintenance, reply are arranged with timely.
It is preferred that the color of the indicator lamp identified and the Colorimetry formula of default standard instruction lamp color For:
Wherein d represents aberration, R1、G1、B1Represent RGB (RGB) value of the color of the indicator lamp identified, R2、G2、B2 Represent the rgb value of default standard instruction lamp color.
Carried on the back it is preferred that the test system also includes the monochromatic of shooting background being used for as the set top box front panel Scape plate, the color background plate are made up of the non-reflective material of monochrome.
It is preferred that the set top box front panel has a unique mark.
It is preferred that the video camera passes through USB (USB) interfaces or netting twine and the automatic testing workstation It is connected.
It is an object of the invention to additionally provide a kind of method of testing of set top box front panel, its feature is, it is utilized Above-mentioned test system is realized, is comprised the following steps:
S1, the database be pre-stored a charactron configuration parameter, an indicator lamp configuration parameter and video camera configuration Parameter, the charactron configuration parameter are used for the display sequence for configuring the character string of the charactron and display interval;The finger Show that lamp configuration parameter is used for the illuminating state and color set for configuring the indicator lamp;The video camera configuration parameter is used to configure The frequency acquisition of the camera acquisition image;
S2, the processor be pre-stored the charactron configuration parameter and the indicator lamp configuration parameter, and described in controlling Display module circulates and shows the character string of the charactron and according to the indicator lamp successively according to the charactron configuration parameter Configuration parameter shows the different conditions of indicator lamp;
S3, the extraction module charactron configuration parameter, indicator lamp configuration ginseng are extracted from the database Several and described video camera configuration parameter, the control module control the video camera to gather the set top box with the frequency acquisition The charactron of front panel and the image of indicator lamp;
S4, the video camera image collected is sent to the automatic testing workstation, the identification module is from institute State the color of the character string that charactron is identified in image and indicator lamp;
S5, the test module tested using the character string of charactron of the OCR technique to identifying, and continuously known Several other character strings and judge with default circulation character string sequence in the charactron configuration parameter it is continuous several The test result that charactron test passes through is exported after standard characters all same;Indicator lamp of the test module also to identifying Some colors tested, and in some colors of indicator lamp for judging to identify and default some standards instruction lamp colors Aberration be respectively less than the test result that output indication lamp test after a threshold value passes through, the test module also sends test result Stored to the database.
It is preferred that the color of the indicator lamp identified and the Colorimetry formula of default standard instruction lamp color For:
Wherein d represents aberration, R1、G1、B1Represent the rgb value of the color of the indicator lamp identified, R2、G2、B2Represent default Standard instruction lamp color rgb value.
It is preferred that the set top box front panel has a unique mark.
It is preferred that the video camera is connected by USB interface or netting twine with the automatic testing workstation.
The positive effect of the present invention is:The present invention is a kind of automatic to be provided in the production process of TV set-top box Change charactron, the system and method for LED light of test set top box front panel, successfully evade the existing leakage of artificial observation The problems such as surveying, surveying by mistake, reduces manually and management cost, improves production efficiency.
Brief description of the drawings
Fig. 1 is the module diagram of the test system of the set top box front panel of one embodiment of the invention.
Fig. 2 is the digital schematic shapes of the numeral method of the set top box front panel of one embodiment of the invention.
Fig. 3 shows for the module of automatic testing workstation in the test system of the set top box front panel of one embodiment of the invention It is intended to.
Fig. 4 is the flow chart of the method for testing of the set top box front panel of one embodiment of the invention.
Embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to described reality Apply among a scope.
The invention provides a kind of test system of set top box front panel, the number to TV set-top box front panel is laid particular emphasis on Pipe and LED light test, wherein charactron is 7 sections of (or 8 sections of mixed decimal point) charactrons, for show channel number, when Between, simple bomp, the character of display has digital, alphabetical, indivedual punctuation marks (such as colon, dash line);LED light It is typically then set top box power supply or the status indicator lamp of other facilities (such as network equipment, infrared remote receiver), it can be common that monochromatic LED, but set-top box product often uses double-colored or even three-color LED light at present, such as red and green color LED, red greenish-yellow three-color LED Lamp.It is to find that charactron, LED light may be because that set top box manufactory, which carries out test purpose to front panel charactron, indicator lamp, Production process, the even set top boxes caused by material factor itself such as mainboard welding, assembling are bad, as charactron do not work, lacks pen Draw, LED does not work or color exception.
The present invention utilizes optical digital video camera, and front panel is carried out with reference to OCR, color recognition technology The automatic test of charactron, LED light, as shown in figure 1, the test system of the present invention includes a test automatically of video camera 1, one Work station 2, a database 3 and a color background plate 4, wherein color background plate 4 by monochromatic (such as grey) non-reflective material (such as cloth, cardboard) is made, the shooting background as measurand (set top box front panel), and measurand is located at color background plate Between 4 and video camera 1, video camera 1 can also photograph color background plate 4 when shooting measurand, so as to utilize color background Plate 4 can block other background frames or light, reduce light interference, be advantageous to the analyzing and processing of successive image.
Wherein measurand is to have welded/assembled the set-top box circuitry plate or set top box complete machine of charactron/LED light. For set-top box circuitry plate, charactron, LED light still it is exposed outside, video camera 1 can be photographed directly;And it is assembled into complete machine Afterwards, the translucent shell at set top box front panel position can shelter from charactron, LED light, the user only when lighting luminous Just it is easily observed that the presence of charactron, LED light.The putting position and angle of measurand, should make video camera clear Photograph luminous charactron, LED light.In production test procedure, the production test special-purpose software of operation in set top box (referred to as " software is surveyed in production ") can control the display of charactron, LED light.For example, it is specific to circulate display successively for control charactron Numeric string, such as 0123,1234,2345,3456 until 8901,9012,0123, the digital shape of typical numeral method Shape is as shown in Figure 2.Set top box production surveys software and also controls LED light cyclically to extinguish successively in a predetermined order, light, by predetermined Circulation shows different colors (being used for double-colored or three-color LED light) to order successively.
The set top box front panel of each measurand has unique mark, such as produces sequence number, the production sequence number is with bar Code form is attached in test object, and test object passes through each station, and its unique mark can all be scanned automatically, record, What is be recorded during the end-of-job of each station also has the production test result corresponding with the unique mark.
The video camera 1 is optical digital video camera, and for gathering the image of measurand, its taking lens is aligned and gathered The front panel charactron and LED light of burnt measurand, so as to clearly collect the image of measurand.Due to shooting It is illuminator, by photography general knowledge, illuminator periphery easily forms halation, and before production line goes into operation, video camera 1 need to pass through appropriate adjust School, it can clearly photograph set top box charactron and LED light after lighting, and no or only a little halation.Video camera 1 with Automatic testing workstation 2 connects, and typical connected mode is USB interface connection or netting twine connection etc., and the image of collection can pass through company Connect and transmit to automatic testing workstation 2.
The database 3 can store and handle the test result formed in producing line configuration information, production process, stock withdrawal data Deng, due to being automatic test, therefore either test by or find defective products, as that must act, test work automatically Can all test result be fed back to the database 3 by making station 2, so that production management personnel understand production test situation in time.
Configuration information specifically pre-stored includes a charactron configuration parameter, indicator lamp configuration ginseng in the database 3 Number and a video camera configuration parameter, the charactron configuration parameter are used for the display sequence for configuring the character string of the charactron And display interval;The indicator lamp configuration parameter is used for the illuminating state and color set for configuring the indicator lamp;The shooting Machine configuration parameter is used for the frequency acquisition for configuring the camera acquisition image.
Wherein the display sequence of character string is used to testing charactron the abnormal feelings such as lacks, can not light with the presence or absence of stroke Condition, for the charactron with colon, typical preset characters string sequence is 0123,12:34、2345、34:56、4567、56:78、 6789、78:90、8901、90:12、0123、12:34 etc., this is a cyclic sequence in fact.The display sequence of the character string The default principle of row is, successively after display portion character string, it can be ensured that each charactron is individually lighted or extinguished, and per number Each stroke of code pipe is lit or extinguished at least once.For example, it is contemplated that can there are decimal point, colon into charactron, in advance If decimal point, colon can be increased during character string.Preset characters string sequence and corresponding product type are stored in by production management person In the database 3, described in automatic testing workstation 2 then obtains from the database 3 when configuring producing line according to product type Charactron configuration parameter, so as to extract corresponding preset characters string sequence.
The producing line configuration work that the indicator lamp configuration parameter is carried out is then that the type for being directed to set top box defines indicator lamp Illuminating state or color set, wherein color set need to include indicator lamp all colours or institute it is stateful.Feelings according to demand Condition, LED status can include " extinguishing " state, be limited by hardware circuit design, on some indicator lamps (such as power supply indicator) Electricity is bright, and software can not make its extinguishing, at this moment without considering " extinguishing " state.Indicator light colors or state set are pressed after default Product type is stored in the database 3, and product type is pressed from the number by the automatic testing workstation 2 when producing line starts According to being obtained in storehouse 3.
Be provided with automatic testing software in the automatic testing workstation 2, after automatic testing software run, it is described oneself Dynamic testing workstation 2 can extract above-mentioned every configuration parameter from the database 3, in the charactron of the set top box front panel After showing that character string, indicator lamp show different conditions, speed timing acquiring quilt of the video camera 1 by 2-5 frames per second can be controlled The image of object is surveyed, and image is pre-processed, then identifies and judges whether by test, and test result is reported to The database 3, the automatic testing workstation 2 are connected by network with the database.
As shown in figure 3, the automatic testing workstation 2 includes an extraction module 21, a control module 22, an identification module 23 and a test module 24.Wherein, the extraction module 21 can extract the charactron configuration ginseng from the database 3 Several, described indicator lamp configuration parameter and the video camera configuration parameter, in the processor control set top box of the set top box Display module circulates and shows the character string of the charactron and according to the indicator lamp successively according to the charactron configuration parameter After configuration parameter shows the different conditions of indicator lamp, the control module 22 can control the video camera 1 with the frequency acquisition Gather the charactron of the set top box front panel and the image of indicator lamp.
The image collected is sent to the automatic testing workstation 2 in the video camera 1, the control module 22 Also the image of collection is pre-processed, by pre-processing the image to remove beyond set-top box circuitry plate or set top box, in order to avoid Interfere, because background uses the color background plate of particular color so that the process of pretreatment can be very fast, by pre- place After reason, image can be cut into two parts by presumptive area, a part is used for the test of charactron, and another part refers to for LED Show the test of lamp.The identification module 23 then identifies the character string and indicator lamp of charactron from the image by pretreatment Color, and determine whether, by test, if finding not by the measurand of test, to alarm and block according to certain method Cut, and report the database 3, if test passes through, let pass and flow into subsequent work stations, and report the database 3.
For digital tube portion, the test module 24 is carried out using the character string of charactron of the OCR technique to identifying Test, and continuously identifying several character strings and judging and default circulation character string sequence in the charactron configuration parameter In several continuous standard characters all sames after export the test result that passes through of charactron test.Specifically, OCR skills are utilized Art carries out character recognition to image, identifies character string, and such as 0123,1234, then contrasted with preset characters string sequence. If several character strings are continuously identified, and the character string is identical with default character string, judges that charactron is normal accordingly, otherwise Report is abnormal.
On OCR technique, due to being the identification for charactron font, recognizable character set only needs to be limited to charactron normal See character, such as the numeral 0~9 and colon in Fig. 2, without identified as conventional OCR scenes a large amount of characters (such as it is thousands of often See Chinese character).So reducing the benefit of identification range is, accelerates recognition speed, improves accuracy.May in view of charactron There are each badness such as lack stroke (this light and not bright), more strokes (bright should not light), can not light, in setting OCR rule When then, it need to prevent from exporting similar character, be surveyed by mistake with evading.When running into described bad, OCR will be unable to correct identification then export it is non- Method character, i.e. if OCR can not be identified correctly, judge that charactron is bad.
After the kinds of characters string of specified quantity is continuously identified, a character string sequence is formed, it is necessary to continuously identify Character string quantity be usually 3-4, quantity is more, and test result is truer, but the testing time is grown, and influences efficiency.Quantity How much, influenceed by three aspect factor, display interval, the image collection interval of video camera and the production of preset characters string on the set-top box Requirement of the line to test speed, for production efficiency angle, factory wishes that test speed is got on the premise of accuracy is ensured It is fast better.
Assuming that preset loop character string sequence is A (being obtained from database), the character string sequence that OCR is continuously identified is B, Judging charactron, whether qualified method is:Sequence B is compareed with cyclic sequence A, if A includes B, then it is assumed that charactron is surveyed Pinged;Otherwise test and do not pass through.
If the length of sequence B is m, sequence A cycle period is n, wherein 1<m<n;And set A or B i-th of character string as A (i) or B (i).Because A is cyclic sequence, for arbitrary integer k, the n-th+k character strings in A are identical with k-th, i.e. A (n+ K)=A (k).
Judging A, whether the algorithm comprising B is as follows:
(a) A is traveled through, is found and B (1) identical character string A (i);
If i (b) be present so that A (i)=B (1), then proceed to (c);Otherwise "No" is returned;
(c) respectively to B (2) and A (i+1), B (3) and A (i+2) ..., B (m) is compared with A (i+m-1);
If (d) all identical, "Yes" is returned;Otherwise "No" is returned.
It can just test whether some character strings identified are circulated in character string sequence with default using above-mentioned algorithm Several continuous standard characters it is identical, and then be achieved that the test to charactron.
Some colors of indicator lamp of the test module 24 also to identifying are tested, and the finger identified in judgement Show some colors of lamp and the aberration of default some standards instruction lamp colors be respectively less than a threshold value after output indication lamp test lead to The test result crossed.
For indicator lamp part, then color recognition, test are carried out according to preset standard color set.Obtaining specific region Digital picture after, whether there is luminous point in search image, whether its color with default standard indicates that lamp color is close, specifically Ground, that is, whether the color for judging to identify is less than a threshold value with the aberration of corresponding standard instruction lamp color, for example, if two colors The color distance between rgb color space corresponding points is less than certain threshold value, then it is assumed that color is close.With 0~255 rgb value Exemplified by, if the color identified is (R1,G1,B1), default standard instruction lamp color is (R2,G2,B2), then color between the two Poor calculation formula is:
If d is less than some threshold value δ, such as 16, then it is assumed that two colors are relatively.The threshold value is predeterminable or live according to reality Border situation is calibrated or adjusted.Think to detect certain color if if color.If default institute's colored is (from database Obtain) be detected, then test passes through;If in the presence of certain color from being not detected at, then it is assumed that LED light is tested not Pass through.
Because charactron, LED light are bought with finished product module or device, therefore the emphasis of set top box production test It is whether device is lighted by predetermined color, and less pays close attention to heterochromia that may be present.By workshop light interference and The optical filtering of panel light transmission plate influences, and gathers and there may be color between the color of image and the original color of charactron/LED light Color difference (color distortion), therefore carry out that during color contrast enough aberration surpluses can be reserved.
The automatic testing workstation 2 can be fed back, automatic test job after test automatically to test result 2 are stood after completing identification, testing and drawing test result, corresponding subsequent action can be taken.If measurand not by test, Then alarm, prompt to intercept, and reported data storehouse;If test passes through, let pass and flow into subsequent work stations, and reported data storehouse.Production Keeper can take corresponding countermeasure after receiving to the alarm of defective products by factory's defective products handling process.In manual testing When, interception mode is worker manually by individually processing (analyze, repair or do over again) beyond transferred product to streamline.For automatic Change test, interception mode still can be artificial, but interception opportunity can select subsequently using according to each station used time situation of producing line When short station is unified is manually intercepted.The foundation of interception is the test knot obtained according to unique identification information from database Fruit.That is, if all tests are all by letting pass;Otherwise intercept.
As shown in figure 1, the test system of the present invention also includes a production monitoring and management work station 5, for production management Personnel are monitored to production process, managed, including producing line initialization, producing line condition monitoring, stock withdrawal data management etc., production prison Control is connected with management work station 5 by network and database 3.
As shown in figure 4, the method for testing bag for the set top box front panel that the present invention is realized using the test system of the present embodiment Include following steps:
Step 101, the database are pre-stored a charactron configuration parameter, an indicator lamp configuration parameter and a video camera Configuration parameter, the charactron configuration parameter are used for the display sequence for configuring the character string of the charactron and display interval;Institute State illuminating state and color set that indicator lamp configuration parameter is used to configure the indicator lamp;The video camera configuration parameter is used for Configure the frequency acquisition of the camera acquisition image.
Step 102, the processor are pre-stored the charactron configuration parameter and the indicator lamp configuration parameter, and control The display module circulates and shows the character string of the charactron and according to the finger successively according to the charactron configuration parameter Show that lamp configuration parameter shows the different conditions of indicator lamp.
Step 103, the extraction module extract the charactron configuration parameter from the database, the indicator lamp is matched somebody with somebody Parameter and the video camera configuration parameter are put, the control module controls the video camera to gather the machine with the frequency acquisition The charactron of top box front panel and the image of indicator lamp.
Step 104, the video camera send the image collected to the automatic testing workstation, the identification module The character string of charactron and the color of indicator lamp are identified from the image.
Step 105, the test module are tested using the character string of charactron of the OCR technique to identifying, and Continuously identify several character strings and judge with the charactron configuration parameter it is default circulate character string sequence in it is continuous The test result that charactron test passes through is exported after several standard characters all sames;The test module is also to identifying Some colors of indicator lamp are tested, and are indicated in some colors for the indicator lamp for judging to identify with default some standards The aberration of lamp color is respectively less than the test result that output indication lamp test after a threshold value passes through, and test result is sent to data Storehouse is stored.
In the present invention, above-mentioned every configuration parameter information (predetermined sequence, the color set etc. of LED light) may be used also It is local to be stored in automatic testing workstation, and non-database;Automatic testing workstation and the connected mode of video camera are not limited to The wired connection modes such as USB, netting twine or the wireless connection for supporting high-speed data communication, such as Wi-Fi, (one kind can incite somebody to action The technology that the terminals such as PC, handheld device wirelessly interconnect) mode, to facilitate factory's rapid deployment.Shooting Machine can also be the digital camera or ordinary numbers camera for supporting quick continuous shooting.Although what is provided in Fig. 2 is seven segment digital tubes Display situation but it is also possible to be rice font charactron, but specific character string need to be preset, such as use Chinese character " rice ", with Ensure that all strokes are all tested.When set top box front panel has the color of multiple LED lights and each lamp or number of colours different When, the substantially relative position of indicator lamp in the picture need to be demarcated in advance, and is identified, is surveyed using corresponding color set one by one Examination.
Although the foregoing describing the embodiment of the present invention, it will be appreciated by those of skill in the art that these It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back On the premise of principle and essence from the present invention, various changes or modifications can be made to these embodiments, but these are changed Protection scope of the present invention is each fallen within modification.

Claims (9)

1. a kind of test system of set top box front panel, is surveyed for the charactron to the set top box front panel and indicator lamp Examination, it is characterised in that including a video camera, an automatic testing workstation and a database;
The database is used to be pre-stored a charactron configuration parameter, an indicator lamp configuration parameter and video camera configuration ginseng Number, the charactron configuration parameter are used for the display sequence for configuring the character string of the charactron and display interval;The instruction Lamp configuration parameter is used for the illuminating state and color set for configuring the indicator lamp;The video camera configuration parameter is used to configure institute State the frequency acquisition of camera acquisition image;
The set top box includes a display module and a processor, and the automatic testing workstation includes an extraction module and a control Molding block, the processor are used to be pre-stored the charactron configuration parameter and the indicator lamp configuration parameter, and described in control Display module circulates and shows the character string of the charactron and according to the indicator lamp successively according to the charactron configuration parameter Configuration parameter shows the different conditions of indicator lamp;The extraction module is used to extract the charactron configuration from the database Parameter, the indicator lamp configuration parameter and the video camera configuration parameter, the control module be used for control the video camera with The frequency acquisition gathers the charactron of the set top box front panel and the image of indicator lamp;
The video camera is used to send the image collected to the automatic testing workstation, and the automatic testing workstation is also Including an identification module and a test module, the identification module be used for identified from the image charactron character string and The color of indicator lamp, the test module are used to test using the character string of charactron of the OCR technique to identifying, and Continuously identify several character strings and judge with the charactron configuration parameter it is default circulate character string sequence in it is continuous The test result that charactron test passes through is exported after several standard characters all sames;The test module is additionally operable to identification Some colors of the indicator lamp gone out are tested, and some colors in the indicator lamp for judging to identify and default some standards Indicate that the aberration of lamp color is respectively less than the test result that output indication lamp test after a threshold value passes through, the test module is additionally operable to Test result is sent to the database and stored.
2. test system as claimed in claim 1, it is characterised in that the color of the indicator lamp identified and default mark Standard indicates that the Colorimetry formula of lamp color is:
<mrow> <mi>d</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mo>(</mo> <msub> <mi>R</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>R</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <msub> <mi>G</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>G</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <msub> <mi>B</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>B</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mn>2</mn> </msup> </mrow> </msqrt> <mo>;</mo> </mrow>
Wherein d represents aberration, R1、G1、B1Represent the rgb value of the color of the indicator lamp identified, R2、G2、B2Represent default mark The rgb value of quasi- instruction lamp color.
3. test system as claimed in claim 1, it is characterised in that the test system also includes one and is used to be used as the machine The color background plate of the shooting background of top box front panel, the color background plate are made up of the non-reflective material of monochrome.
4. test system as claimed in claim 1, it is characterised in that the set top box front panel has a unique mark.
5. the test system as described in any one in claim 1-4, it is characterised in that the video camera passes through USB interface Or netting twine is connected with the automatic testing workstation.
6. a kind of method of testing of set top box front panel, it is characterised in that it is real using test system as claimed in claim 1 It is existing, comprise the following steps:
S1, the database be pre-stored a charactron configuration parameter, an indicator lamp configuration parameter and a video camera configuration parameter, The charactron configuration parameter is used for the display sequence for configuring the character string of the charactron and display interval;The indicator lamp is matched somebody with somebody Put illuminating state and color set that parameter is used to configure the indicator lamp;The video camera configuration parameter is used to configure described take the photograph Camera gathers the frequency acquisition of image;
S2, the processor is pre-stored the charactron configuration parameter and the indicator lamp configuration parameter, and controls the display mould Block circulates the character string for showing the charactron according to the charactron configuration parameter and configured according to the indicator lamp successively joins Digital display shows the different conditions of indicator lamp;
S3, the extraction module charactron configuration parameter, the indicator lamp configuration parameter and institute are extracted from the database Video camera configuration parameter is stated, the control module controls the video camera to gather the set top box front panel with the frequency acquisition Charactron and indicator lamp image;
S4, the video camera image collected is sent to the automatic testing workstation, the identification module is from the image In identify the character string of charactron and the color of indicator lamp;
S5, the test module tested using the character string of charactron of the OCR technique to identifying, and if in continuous identification Dry character string and judgement and several continuous standards in default circulation character string sequence in the charactron configuration parameter The test result that charactron test passes through is exported after character string all same;If the test module is also to the indicator lamp that identifies Dry color coloured silk is tested, and in some colors and the color of default some standard instruction lamp colors of the indicator lamp for judging to identify The test result that output indication lamp test passes through after a difference respectively less than threshold value, the test module also send test result to institute Database is stated to be stored.
7. method of testing as claimed in claim 6, it is characterised in that the color of the indicator lamp identified and default mark Standard indicates that the Colorimetry formula of lamp color is:
<mrow> <mi>d</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mo>(</mo> <msub> <mi>R</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>R</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <msub> <mi>G</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>G</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <msub> <mi>B</mi> <mn>1</mn> </msub> <mo>-</mo> <msub> <mi>B</mi> <mn>2</mn> </msub> <mo>)</mo> </mrow> <mn>2</mn> </msup> </mrow> </msqrt> <mo>;</mo> </mrow>
Wherein d represents aberration, R1、G1、B1Represent the rgb value of the color of the indicator lamp identified, R2、G2、B2Represent default mark The rgb value of quasi- instruction lamp color.
8. method of testing as claimed in claim 6, it is characterised in that the set top box front panel has a unique mark.
9. the method for testing as described in any one in claim 6-8, it is characterised in that the video camera passes through USB interface Or netting twine is connected with the automatic testing workstation.
CN201410756903.2A 2014-12-10 2014-12-10 The test system and method for testing of set top box front panel Active CN105744261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410756903.2A CN105744261B (en) 2014-12-10 2014-12-10 The test system and method for testing of set top box front panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410756903.2A CN105744261B (en) 2014-12-10 2014-12-10 The test system and method for testing of set top box front panel

Publications (2)

Publication Number Publication Date
CN105744261A CN105744261A (en) 2016-07-06
CN105744261B true CN105744261B (en) 2018-04-06

Family

ID=56238841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410756903.2A Active CN105744261B (en) 2014-12-10 2014-12-10 The test system and method for testing of set top box front panel

Country Status (1)

Country Link
CN (1) CN105744261B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454338B (en) * 2016-11-25 2018-09-25 广州视源电子科技股份有限公司 Method and device for detecting picture display effect of electronic equipment
CN107907820A (en) * 2017-10-19 2018-04-13 青岛海信电器股份有限公司 A kind of detection method of printed circuit board, device and detecting system
CN108551579A (en) * 2018-04-24 2018-09-18 四川九州电子科技股份有限公司 A kind of hardware detection method and system of set-top box
CN111239589A (en) * 2020-01-20 2020-06-05 福建宏泰智能工业互联网有限公司 Electronic lock circuit board testing method, device and system
CN112860501B (en) * 2021-03-17 2022-10-21 惠州Tcl移动通信有限公司 Detection method, detection device, storage medium and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878320A (en) * 2006-07-05 2006-12-13 珠海格力电器股份有限公司 Test system and test method of digital display device
CN101867842A (en) * 2010-04-12 2010-10-20 福建新大陆通信科技股份有限公司 Detection method of set-top box panel
CN102565699A (en) * 2012-03-13 2012-07-11 深圳市九洲电器有限公司 Method and device for detecting front panel of set-top box
CN103067736A (en) * 2012-12-20 2013-04-24 广州视源电子科技股份有限公司 Automatic test system based on character recognition
EP2608038A1 (en) * 2011-12-20 2013-06-26 Contec LLC Multimedia device test system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878320A (en) * 2006-07-05 2006-12-13 珠海格力电器股份有限公司 Test system and test method of digital display device
CN101867842A (en) * 2010-04-12 2010-10-20 福建新大陆通信科技股份有限公司 Detection method of set-top box panel
EP2608038A1 (en) * 2011-12-20 2013-06-26 Contec LLC Multimedia device test system
CN102565699A (en) * 2012-03-13 2012-07-11 深圳市九洲电器有限公司 Method and device for detecting front panel of set-top box
CN103067736A (en) * 2012-12-20 2013-04-24 广州视源电子科技股份有限公司 Automatic test system based on character recognition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
机器视觉之边缘检测算法在数码管识别中的应用;盘思乐;《深圳信息职业技术学院学报》;20110930;第9卷(第3期);摘要、正文第1章首段至第6章首段 *

Also Published As

Publication number Publication date
CN105744261A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105744261B (en) The test system and method for testing of set top box front panel
CN109470179B (en) Large-scale hydroponic vegetable growth detection system and method
CN106780521A (en) Screen light leakage detection method, system and device
CN201707304U (en) Device for automated optical inspection of surface of product
CN106341682A (en) Method, system and device for detecting aging function
CN107103330A (en) A kind of LED status recognition methods and device
CN107483917A (en) The method of display screen bad point on-line measuring device and display screen bad point on-line checking
CN112396999B (en) Abnormal display block detection method, display screen fault detection method and equipment thereof
CN104267719B (en) Bus LED display system pointwise method for detecting fault and application thereof
CN109142380A (en) Fault detection method, device and system of circuit board
CN206920024U (en) Colour of insulated conductor sequencing system
CN104637425A (en) Assembly-line LED (light emitting diode) display unit uniformity detection method, system and device
CN108469591A (en) A kind of detection method and system of RGB LED displays
CN108184286A (en) The control method and control system and electronic equipment of lamps and lanterns
CN107860559A (en) Improve the intelligent AR testing agencies of product qualification rate
CN108235831B (en) The control method and control system and electronic equipment of lamps and lanterns
CN103984967B (en) A kind of automatic checkout system being applied to Commercial goods labels detection and automatic testing method
CN107084989B (en) Method and system for adding AOI device database
CN106162006A (en) A kind of video camera automatically adjusts the method for mosaic screen chroma-luminance
CN101515438B (en) Display system of point-to-point brightness control and a method
CN107271145A (en) The detection method and system of display unit
CN109996061A (en) The method for detecting abnormality and device of IR-CUT
CN111721507A (en) Intelligent detection method and device for keyboard backlight module based on polar coordinate identification
CN106686374A (en) Method, system and device for detecting screen color saturation
CN216621463U (en) Data acquisition device for LED luminous color test

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 200001 room H, No. 666, Fuzhou Road, Huangpu District, Shanghai, room H

Applicant after: SHANGHAI INESA DIGITAL TECHNOLOGY CO., LTD.

Address before: 200001 room H, No. 666, Fuzhou Road, Huangpu District, Shanghai, room H

Applicant before: Shanghai Instrument and Electronics Digital Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant