TWM496777U - Display interface test system based on two-dimensional code - Google Patents
Display interface test system based on two-dimensional code Download PDFInfo
- Publication number
- TWM496777U TWM496777U TW103215561U TW103215561U TWM496777U TW M496777 U TWM496777 U TW M496777U TW 103215561 U TW103215561 U TW 103215561U TW 103215561 U TW103215561 U TW 103215561U TW M496777 U TWM496777 U TW M496777U
- Authority
- TW
- Taiwan
- Prior art keywords
- dimensional code
- external display
- display interface
- notebook computer
- display
- Prior art date
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
本創作是有關於一種數位設備的測試系統,更詳而言之,係關於一種藉由二維碼測試顯示介面的系統。This creation is a test system for a digital device, and more specifically, a system for testing a display interface by a two-dimensional code.
筆記型電腦外接顯示介面包括有視頻顯示適配介面VGA、高清晰度多媒體介面HDMI、高清晰度數字顯示介面Display Port、數字顯示介面DVI等類型。在筆記型電腦生產中需要對筆記型電腦外接顯示介面的顯示效果進行測試。The external display interface of the notebook computer includes a video display adaptation interface VGA, a high-definition multimedia interface HDMI, a high-definition digital display interface Display Port, and a digital display interface DVI. In the production of notebook computers, it is necessary to test the display effect of the external display interface of the notebook computer.
在筆記型電腦外接顯示介面的測試過程中,通常會有如下問題出現:During the test of the external display interface of the notebook, the following problems usually occur:
(1)外接顯示介面損壞,無法切換到外接顯示器;(1) The external display interface is damaged and cannot be switched to the external display;
(2)外接顯示介面針腳有損壞,造成外接顯示存在異色、條紋、水波紋等問題;(2) The external display interface pins are damaged, causing problems such as different colors, stripes, water ripples, etc. in the external display;
(3)外接顯示介面外接顯示幕不穩定,造成外接顯示閃屏;(3) The external display interface of the external display interface is unstable, resulting in an external display splash screen;
(4)外接顯示介面外接顯示幕位移、不能完全顯示。(4) The external display interface is externally connected to the display screen and cannot be fully displayed.
現有技術中,在筆記型電腦外接顯示介面的測試時,需要係通過外接顯示介面連接到外接顯示器,利用軟體將本機螢幕切換到外接顯示器,並生成一個隨機數字,由操作員來觀察顯示效果。操作員查看顯示效果是否異常、是否有異色,並在程式視窗輸入所觀察到的隨機數字。In the prior art, when testing the external display interface of the notebook computer, it is necessary to connect to the external display through the external display interface, and switch the local screen to the external display by using the software, and generate a random number, and the operator observes the display effect. . The operator checks whether the display is abnormal, has a different color, and enters the observed random number in the program window.
然而,上述測試方法具有以下缺點:However, the above test method has the following disadvantages:
(1)上述測試方法需要採購和維護外接顯示器,外接顯示器的採購和維護成本高;(1) The above test method requires purchasing and maintaining an external display, and the cost of procurement and maintenance of the external display is high;
(2)上述測試方法需要操作員查看外接顯示器的顯示效果,並利用鍵盤輸入隨機數字,這導致測試的時間長、效率低,增加了筆記型電腦生成的人力成本;(2) The above test method requires the operator to view the display effect of the external display and input random numbers by using the keyboard, which results in long test time and low efficiency, and increases the labor cost generated by the notebook computer;
(3)上述測試方法主要是人為地進行顯示結果判斷,導致測試結果的主觀性過強;(3) The above test method is mainly to artificially judge the display result, which leads to the subjectivity of the test result is too strong;
(4)上述測試方法的防呆性不夠,操作員經常會只注意隨機數字,而忽略了對外接顯示器顯示的顯示效果的觀察。(4) The above test method has insufficient foolproofness, and the operator often only pays attention to the random number, and ignores the observation of the display effect displayed on the external display.
有鑑於此,本創作之目的在於提供一種藉由二維碼測試顯示介面的系統,係通過採用攝像裝置和圖像分析演算法來進行筆記型電腦的顯示效果測試,在保證筆記型電腦生產流水線上測試的穩定性和準確性的前提下,有效減少測試過程中操作員的動作,從而降低人力成本,提高生產效率。In view of this, the purpose of the present invention is to provide a system for testing a display interface by using a two-dimensional code, which is to perform a display test of a notebook computer by using a camera device and an image analysis algorithm to ensure the production flow of the notebook computer. Under the premise of the stability and accuracy of online testing, the operator's actions during the testing process are effectively reduced, thereby reducing labor costs and improving production efficiency.
為達到上述目的及其他目的,本創作提供一種藉由二維碼測試顯示介面的系統,其中,該系統包括:筆記型電腦;外接顯示器,其係通過該筆記型電腦的外接顯示介面與該筆記型電腦相連,係用於顯示複數二維碼圖像;以及攝像裝置,其與該筆記型電腦相連,係用於拍攝該外接顯示器上顯示的圖像;其中,該筆記型電腦係用於控制該外接顯示器顯示複數二維碼圖像,並對該攝像裝置拍攝到的圖像進行分析,以判斷該筆記型電腦的外接顯示介面是否良好。To achieve the above and other objects, the present invention provides a system for testing a display interface by a two-dimensional code, wherein the system includes: a notebook computer; an external display, which is connected to the notebook through an external display interface of the notebook computer. a computer connected to display a plurality of two-dimensional code images; and a camera device connected to the notebook computer for capturing an image displayed on the external display; wherein the notebook computer is used for The external display is controlled to display a plurality of two-dimensional code images, and the image captured by the camera device is analyzed to determine whether the external display interface of the notebook computer is good.
在本創作之一實施例中,該攝像裝置採用USB攝像頭或類比攝像頭。In an embodiment of the present invention, the camera device employs a USB camera or an analog camera.
在本創作之一實施例中,該筆記型電腦內存儲有測試模組,該測試模組用於對該攝像裝置拍攝到的圖像進行分析,以判斷該筆記型電腦的外接顯示介面是否良好。In an embodiment of the present invention, a test module is stored in the notebook computer, and the test module is configured to analyze an image captured by the camera device to determine whether the external display interface of the notebook computer is good. .
基於上述,本創作提供之藉由二維碼測試顯示介面的系統具有以下無法預期的功效:Based on the above, the system provided by this creation to test the display interface by QR code has the following unpredictable effects:
(1)不再需要人為的查看外接顯示器的顯示效果,避免了對顯示效果的主觀性判斷;(1) It is no longer necessary to manually view the display effect of the external display, and avoid subjective judgment on the display effect;
(2)利用外接攝像裝置來分析外接顯示器的顯示效果,增強了測試涵蓋率;(2) Using an external camera to analyze the display effect of the external display, and enhancing the test coverage;
(3)測試效率高,人工成本低。(3) High test efficiency and low labor cost.
為讓本創作之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of the present invention more comprehensible, the following embodiments are described in detail with reference to the accompanying drawings.
以下藉由特定的具體實施例說明本創作之實施方式,熟悉此技術領域之人士可由本說明書所揭示之內容輕易地瞭解本創作之其他優點及功效。本創作亦可藉由其它不同的具體實施例加以施行或應用,本說明書中的各項細節亦可基於不同觀點與應用,在不背離本創作之精神下進行各種修飾與變更。The embodiments of the present invention are described below by way of specific embodiments, and those skilled in the art can readily appreciate other advantages and functions of the present invention from the disclosure of the present disclosure. The present invention can also be implemented or applied by various other specific embodiments. The details of the present specification can also be modified and changed without departing from the spirit of the present invention.
須知,本說明書所附圖式中所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技術領域之人士之瞭解與閱讀,並非用以限定本創作可實施之限定條件,故不具技術上之實質意義,任何結構之修飾、比例關係之改變或大小之調整,在不影響本創作所能產生之功效及所能達成之目的下,均應仍落在本創作所揭示之技術內容得能涵蓋之範圍內。同時,本說明書中所引用之如“上”、“下”、“一”及“底部”等之用語,亦僅為便於敘述之明瞭,而非用以限定本創作可實施之範圍,其相對關係之改變或調整,於無實質變更技術內容下,當亦視為本創作可實施之範疇。It should be noted that the structures, proportions, sizes, etc., which are illustrated in the drawings are only used to cope with the contents disclosed in the specification for understanding and reading by those skilled in the art, and are not intended to limit the creation. The qualifications that can be implemented are not technically meaningful. Any modification of the structure, change of the proportional relationship or adjustment of the size should not fall under the influence of the creation and the purpose of the creation. Within the scope of the technical content disclosed in this creation. In the meantime, the terms "upper", "lower", "one" and "bottom" as used in the specification are merely for convenience of description, and are not intended to limit the scope of the invention. Changes or adjustments to a relationship are considered to be within the scope of the creation of the creation of the product without substantial changes.
請參閱圖1及圖2,圖1顯示為本創作的藉由二維碼測試顯示介面的系統的結構示意圖;圖2顯示為本創作的藉由二維碼測試顯示介面的系統的作業方法流程圖。如圖所示,本創作的藉由二維碼測試顯示介面的系統包括筆記型電腦1、外接顯示器2和攝像裝置3。其中,外接顯示器2係通過外接顯示介面與筆記型電腦1相連;攝像裝置3係通過資料線與筆記型電腦1相連。待測筆記型電腦1控制外接顯示器2顯示複數二維碼,並利用其上存儲的測試模組對攝像裝置3所拍攝到的外接顯示器2上顯示的圖像進行分析,以判斷筆記型電腦1的外接顯示介面是否良好。攝像裝置3可採用USB攝像頭或類比攝像頭。Please refer to FIG. 1 and FIG. 2 . FIG. 1 is a schematic structural diagram of a system for testing a display interface by a two-dimensional code according to the present invention; FIG. 2 is a flow chart showing the operation method of the system for testing a display interface by using a two-dimensional code. Figure. As shown in the figure, the system for testing the display interface by the two-dimensional code of the present invention includes a notebook computer 1, an external display 2, and a camera device 3. The external display 2 is connected to the notebook computer 1 through an external display interface; the camera device 3 is connected to the notebook computer 1 through a data line. The notebook computer 1 to be tested controls the external display 2 to display a plurality of two-dimensional codes, and analyzes the image displayed on the external display 2 captured by the camera device 3 by using the test module stored thereon to determine the notebook computer. 1 The external display interface is good. The camera device 3 can employ a USB camera or an analog camera.
具體地,本創作的藉由二維碼測試顯示介面的系統的作業方法包括以下步驟:Specifically, the working method of the system for testing the display interface by the two-dimensional code of the present invention includes the following steps:
步驟S1:將筆記型電腦的顯示切換到外接顯示器顯示模式,在外接顯示器螢幕上顯示複數二維碼;Step S1: switching the display of the notebook computer to the external display mode, and displaying the plural two-dimensional code on the external display screen;
優選地,由於顯示器的四個角上的顯示效果不穩定,易受影響,故在外接顯示器的四個角上顯示四個二維碼,以更好地測試筆記型電腦的外接顯示介面。同時,在外接顯示器的中央顯示一個二維碼。其中,中央的二維碼分為四個部分。四個角的四個二維碼和中央的二維碼可採用以下任意的一種格式:Preferably, since the display effects on the four corners of the display are unstable and susceptible, four four-dimensional codes are displayed on the four corners of the external display to better test the external display interface of the notebook. At the same time, a two-dimensional code is displayed in the center of the external display. Among them, the central two-dimensional code is divided into four parts. The four QR codes of the four corners and the central two-dimensional code can be in any of the following formats:
(1)四個角的四個二維碼均為底色為白的黑白二維碼,中央的二維碼的四個部分分別為底色為紅、藍、白、綠的彩色二維碼;(1) The four two-dimensional codes of the four corners are black and white two-dimensional codes whose base color is white, and the four parts of the central two-dimensional code are respectively colored two-dimensional codes of red, blue, white and green. ;
(2)四個角的四個二維碼分別為底色為紅、藍、白、綠的彩色二維碼,中央的二維碼為底色為白的黑白二維碼。(2) The four two-dimensional codes of the four corners are respectively colored two-dimensional codes of red, blue, white and green, and the central two-dimensional code is a black and white two-dimensional code whose base is white.
其中,黑白二維碼用以測試圖像偏移,彩色二維碼用以測試圖像異色。中央的二維碼的四個部分可以等大也可以不等大。Among them, the black and white two-dimensional code is used to test the image offset, and the color two-dimensional code is used to test the image heterochromatic. The four parts of the central two-dimensional code can be equal or large.
步驟S2:採用攝像頭拍攝外接顯示器螢幕上的圖像;Step S2: using a camera to capture an image on an external display screen;
步驟S3:分析攝像頭所拍攝到的圖像中的二維碼,並對二維碼進行解碼,判斷所拍攝到的圖像中是否同時包括外接顯示器上顯示的所有的二維碼;Step S3: analyzing the two-dimensional code in the image captured by the camera, and decoding the two-dimensional code, and determining whether the captured image includes all the two-dimensional codes displayed on the external display at the same time;
具體地,首先,根據所拍攝的圖像中的二維碼的每個圖元點的RGB值求像素權值,即像素權值V=R/3 + G/3 + B/3。如果V小於預設值,則將V取值為0;如果V大於等於預設值,則V取值為255。即得到所拍攝的圖像中的二維碼圖像的灰度二維碼圖像。其中,預設值可根據操作經驗或二維碼的結構來確定。例如,可將預設值取40,則當V<40時,V取值為0;當V>=40,V取值為255。Specifically, first, the pixel weight is obtained from the RGB values of each primitive point of the two-dimensional code in the captured image, that is, the pixel weight V=R/3 + G/3 + B/3. If V is less than the preset value, V is 0; if V is greater than or equal to the preset value, V is 255. That is, a grayscale two-dimensional code image of the two-dimensional code image in the captured image is obtained. The preset value may be determined according to an operation experience or a structure of a two-dimensional code. For example, if the preset value is 40, then when V<40, V takes a value of 0; when V>=40, V takes a value of 255.
接著,對生成的灰度二維碼圖像進行解碼,若所有二維碼均可進行解碼,則判斷所拍攝的圖像中同時包括外接顯示器上顯示的所有二維碼,若存在某個或某些二維碼不能進行解碼,則判斷所拍攝到的圖像中沒有同時包括外接顯示器上顯示的所有二維碼。Then, the generated gray-scale two-dimensional code image is decoded, and if all the two-dimensional codes can be decoded, it is determined that the captured image includes all the two-dimensional codes displayed on the external display, if there is one or Some two-dimensional codes cannot be decoded, and it is judged that all the two-dimensional codes displayed on the external display are not included in the captured image.
判斷二維碼能否進行解碼的原理如下:如果二維碼的底色沒有顯示或顯示較差,則該底色所對應的圖元點在灰度二維碼圖像中顯示為黑色;在灰度二維碼圖像中,該底色與二維碼的顏色均表示為黑色,導致灰度二維碼圖像無法進行解碼。The principle of judging whether the two-dimensional code can be decoded is as follows: if the background color of the two-dimensional code is not displayed or displayed poorly, the pixel point corresponding to the background color is displayed as black in the gray-scale two-dimensional code image; In the two-dimensional code image, the color of the ground color and the two-dimensional code are both represented as black, which causes the gray-scale two-dimensional code image to be unable to be decoded.
步驟S4:若同時包括外接顯示器上顯示的所有的二維碼,則判斷當前筆記型電腦的外接顯示介面良好,測試結束;否則,進入步驟S5;Step S4: If all the two-dimensional codes displayed on the external display are included, it is judged that the external display interface of the current notebook computer is good, and the test ends; otherwise, the process proceeds to step S5;
步驟S5:判斷測試時間是否超過額定測試時間,若未超過額定測試時間,則重複步驟S1-S4;若超過額定測試時間,則判斷當前筆記型電腦的外接顯示介面不良,測試結束。Step S5: determining whether the test time exceeds the rated test time. If the rated test time is not exceeded, the steps S1-S4 are repeated; if the rated test time is exceeded, it is determined that the external display interface of the current notebook computer is bad, and the test ends.
綜上所述,本創作的藉由二維碼測試顯示介面的系統不再需要人為的查看外接顯示器的顯示效果,避免了對顯示效果的主觀性判斷;同時,利用外接攝像頭來分析外接顯示器的顯示效果,增強了測試涵蓋率,提高了測試效率,降低了人工成本。所以,本創作有效克服了現有技術中的種種缺點而具高度產業利用價值。In summary, the system for testing the display interface by the two-dimensional code no longer needs to manually view the display effect of the external display, avoiding subjective judgment on the display effect; at the same time, using an external camera to analyze the external display Display performance, enhanced test coverage, improved test efficiency, and reduced labor costs. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
上述實施例係用以例示性說明本創作之原理及其功效,而非係用於限制本創作。任何熟習此項技術領域之人士均可在不違背本創作之精神及範疇下,對上述實施例進行修改。因此本創作之權利保護範圍,應如後述之申請專利範圍所列。The above embodiments are intended to illustrate the principles of the present invention and its effects, and are not intended to limit the present invention. Anyone skilled in the art can modify the above embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of this creation should be as listed in the scope of patent application described later.
1‧‧‧筆記型電腦
2‧‧‧外接顯示器
3‧‧‧攝像裝置
S1-S5‧‧‧步驟1‧‧‧Note Computer
2‧‧‧External display
3‧‧‧ camera
S1-S5‧‧‧ steps
圖1顯示為本創作的藉由二維碼測試顯示介面的系統的結構示意圖;以及1 shows a schematic structural diagram of a system for testing a display interface by a two-dimensional code for the present creation;
圖2顯示為本創作的藉由二維碼測試顯示介面的系統的作業方法流程圖。FIG. 2 is a flow chart showing the operation method of the system for testing the display interface by the two-dimensional code for the present invention.
1‧‧‧筆記型電腦 1‧‧‧Note Computer
2‧‧‧外接顯示器 2‧‧‧External display
3‧‧‧攝像裝置 3‧‧‧ camera
Claims (4)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320582190 | 2013-09-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM496777U true TWM496777U (en) | 2015-03-01 |
Family
ID=53187360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103215561U TWM496777U (en) | 2013-09-18 | 2014-08-29 | Display interface test system based on two-dimensional code |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM496777U (en) |
-
2014
- 2014-08-29 TW TW103215561U patent/TWM496777U/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI639916B (en) | System for testing external display interface of? notebook computer and the method thereof are provided | |
US9728111B2 (en) | Display drive method and apparatus, and method and apparatus for generating sampling region | |
WO2016188237A1 (en) | Sub-pixel rendering method | |
KR101980026B1 (en) | Liquid crystal panel and dirve method thereof | |
US10504483B2 (en) | Display method and display device | |
CN104021746B (en) | The method of a kind of image detection and device | |
CN110910333B (en) | Image processing method and image processing apparatus | |
CN103780797A (en) | Image color enhancement method and device | |
US10115333B2 (en) | Image display method and display apparatus | |
TW201407570A (en) | Method for adjusting display and computer program product thereof | |
US9947258B2 (en) | Image processing method and image processing apparatus | |
TWI390483B (en) | Apparatus and method for contrast control | |
JP2017538148A (en) | Liquid crystal panel and pixel unit setting method | |
WO2021114760A1 (en) | Chrominance visual angle correction method for display, and intelligent terminal and storage medium | |
CN113177939A (en) | Lamp panel detection method and device, electronic equipment and storage medium | |
KR20120015980A (en) | Method, system and computer program product for object color correction | |
KR100608814B1 (en) | Method for displaying image data in lcd | |
TWI485694B (en) | Image color adjusting method and electronic apparatus thereof | |
CN104639925A (en) | Method and device for converting image from RGB (red, green and blue) signals to RGBW (red, green, blue and white) signals | |
TWM496777U (en) | Display interface test system based on two-dimensional code | |
CN103037268B (en) | Method and device for watermark adding | |
US9491453B2 (en) | Measurement position determination apparatus, image display system, and non-transitory computer readable medium | |
WO2017086121A1 (en) | Image processing device and program | |
JP5708409B2 (en) | Image quality inspection method, image quality inspection apparatus, and image quality inspection program | |
TW201518695A (en) | System and method for testing stability of light source |