TWI508528B - Test fixture adjusting system by image analysis and method thereof - Google Patents

Test fixture adjusting system by image analysis and method thereof Download PDF

Info

Publication number
TWI508528B
TWI508528B TW102145833A TW102145833A TWI508528B TW I508528 B TWI508528 B TW I508528B TW 102145833 A TW102145833 A TW 102145833A TW 102145833 A TW102145833 A TW 102145833A TW I508528 B TWI508528 B TW I508528B
Authority
TW
Taiwan
Prior art keywords
image
test fixture
decoding result
adjusting
decoding
Prior art date
Application number
TW102145833A
Other languages
Chinese (zh)
Other versions
TW201524189A (en
Inventor
Wei Liang
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW102145833A priority Critical patent/TWI508528B/en
Publication of TW201524189A publication Critical patent/TW201524189A/en
Application granted granted Critical
Publication of TWI508528B publication Critical patent/TWI508528B/en

Links

Landscapes

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

Description

藉由圖像分析以調整測試治具的系統及其方法System and method for adjusting test fixture by image analysis

一種調整系統及其方法,尤其是指一種藉由圖像分析以調整測試治具的系統及其方法。An adjustment system and method thereof, and more particularly to a system and method for adjusting a test fixture by image analysis.

對於現有設置於電子裝置上影像擷取裝置的檢測,是直接透過影像擷取裝置進行圖像的擷取,再對由影像擷取裝置所擷取的圖像進行辨識,藉以檢測設置於電子裝置上影像擷取裝置。For the detection of the image capturing device currently installed on the electronic device, the image capturing device directly captures the image, and then the image captured by the image capturing device is recognized, thereby detecting the setting on the electronic device. The upper image capture device.

但上述對於設置於電子裝置上影像擷取裝置的檢測方式仍有檢測上的問題,即是透過影像擷取裝置進行圖像的擷取會受到外在環境的影響,而造成影像擷取裝置所擷取圖像會產生失真的情況,而造成辨識影像擷取裝置所擷取圖像的不易,會產生出誤判的情況。However, the above detection method for the image capturing device disposed on the electronic device still has a problem in that the image capturing by the image capturing device is affected by the external environment, and the image capturing device is caused by the image capturing device. The image capture will cause distortion, which makes it difficult to identify the image captured by the image capture device, which may result in a false positive.

故需要透過額外的測試治具來避免影像擷取裝置進行圖像的擷取會受到外在環境的影響,測試治具雖然可以避免外在環境的影響,但根據不同的電子裝置上影像擷取裝置需要不同的測試治具,要如何快速且便利的製作出與電子裝置上影像擷取裝置對應且標準的測試治具以進行電子裝置上影像擷取裝置的測試,將是不可避免的問題。Therefore, it is necessary to use an additional test fixture to prevent the image capture device from capturing the image, which may be affected by the external environment. Although the test fixture can avoid the influence of the external environment, the image capture is performed according to different electronic devices. The device requires different test fixtures, and how to quickly and conveniently produce a test fixture corresponding to the image capture device on the electronic device to test the image capture device on the electronic device will be an unavoidable problem.

綜上所述,可知先前技術中長期以來一直存在現有對應於不同電子裝置上影像擷取裝置快速且便利的製作出標準的測試治具不易的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it has been known in the prior art that there has been a problem in the prior art that it is difficult to quickly and conveniently produce a standard test fixture corresponding to an image capture device on different electronic devices. Therefore, it is necessary to propose an improved technical means to solve the problem. This question.

有鑒於先前技術存在現有對應於不同電子裝置上影像擷取裝置快速且便利的製作出標準的測試治具不易的問題,本發明遂揭露一種藉由圖像分析以調整測試治具的系統及其方法,其中:本發明所揭露的藉由圖像分析以調整測試治具的系統,其包 含:電子裝置、測試治具、影像擷取模組、解碼模組、比對模組以及提示模組。In view of the prior art, there is a problem that it is difficult to quickly and conveniently produce a standard test fixture corresponding to an image capturing device on different electronic devices, and the present invention discloses a system for adjusting a test fixture by image analysis and a method, wherein: the system for adjusting a test fixture by image analysis disclosed in the present invention, the package thereof Including: electronic device, test fixture, image capture module, decoding module, comparison module and prompt module.

電子裝置內嵌有影像擷取裝置;測試治具設置且覆蓋於影像擷取裝置上,且測試治具內設置至少一光源以及標準圖像,標準圖像包含至少一色彩區域以及至少一條碼區域;影像擷取模組是用以自影像擷取裝置擷取包含標準圖像的檢測圖像;解碼模組是用以對檢測圖像進行條碼的解碼以生成解碼結果;比對模組是用以進行檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍;及提示模組是用以當解碼結果與預設解碼結果不一致時,則生成調整測試治具的提示訊息並顯示,且同時顯示檢測圖像;當解碼結果與預設解碼結果一致且色彩像素範圍的長度與預設長度不一致時,則生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像;或當解碼結果與預設解碼結果一致且色彩像素範圍的寬度與預設寬度不一致時,則生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像。The electronic device is embedded with an image capturing device; the test fixture is disposed on the image capturing device, and at least one light source and a standard image are disposed in the testing fixture, and the standard image includes at least one color region and at least one code region The image capturing module is configured to capture a detection image including a standard image from the image capturing device; the decoding module is configured to decode the barcode of the detected image to generate a decoding result; the comparison module is used Aligning each pixel in the detected image with at least one RGB value range to compare at least one color pixel range; and the prompting module is configured to generate when the decoding result is inconsistent with the preset decoding result Adjusting the prompt message of the test fixture and displaying it, and simultaneously displaying the detection image; when the decoding result is consistent with the preset decoding result and the length of the color pixel range is inconsistent with the preset length, generating a prompt message for adjusting the test fixture light source and Displaying and displaying the detected image at the same time; or when the decoding result is consistent with the preset decoding result and the width of the color pixel range is inconsistent with the preset width, Adjustment of the test fixture and a light source display prompt message, and displays the image detected simultaneously.

本發明所揭露的藉由圖像分析以調整測試治具的方法,其包含下列步驟:首先,提供內嵌有影像擷取裝置的電子裝置;接著,提供測試治具,測試治具設置且覆蓋於影像擷取裝置上,且測試治具內設置至少一光源以及標準圖像,標準圖像包含至少一色彩區域以及至少一條碼區域;接著,自影像擷取裝置擷取包含標準圖像的檢測圖像;接著,對檢測圖像進行條碼的解碼以生成解碼結果;接著,進行檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍;接著,當解碼結果與預設解碼結果不一致時,則生成調整測試治具的提示訊息並顯示,且同時顯示檢測圖像;接著,當解碼結果與預設解碼結果一致且色彩像素範圍的長度與預設長度不一致時,則生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像;最後,當解碼結果與預設解碼結果一致且色彩像素範圍的寬度與預設寬度不一致時,則生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像。The method for adjusting a test fixture by image analysis disclosed in the present invention comprises the following steps: first, providing an electronic device embedded with an image capturing device; then, providing a test fixture, testing the fixture setting and covering And at least one light source and a standard image are disposed on the image capturing device, wherein the standard image includes at least one color region and at least one code region; and then, the image capturing device includes the detection of the standard image Image; then, decoding the barcode to generate a decoding result; then, performing a comparison of each pixel in the detected image with at least one RGB value range to compare at least one color pixel range; When the decoding result is inconsistent with the preset decoding result, a prompt message for adjusting the test fixture is generated and displayed, and the detected image is displayed at the same time; then, when the decoding result is consistent with the preset decoding result and the length of the color pixel range is When the lengths are inconsistent, a prompt message for adjusting the test fixture light source is generated and displayed, and the detected image is simultaneously displayed; finally, when the solution is Results consistent with a preset decoding result and inconsistent color pixels of a width range of predetermined width, the adjustment of the test fixture to generate light and display prompt message, and displays the image detected simultaneously.

本發明所揭露的系統以及方法如上,與先前技術之間的差異在於本發明測試治具設置且覆蓋於影像擷取裝置上,以由解析度與色彩識別的圖像分析進行測試治具的調整,將調整後測試治具的數據建立為對應影像擷取裝置標準的測試治具數據,進而製做標準化的測試治具。The system and method disclosed by the present invention are different from the prior art in that the test fixture of the present invention is disposed and overlaid on the image capturing device for adjustment of the test fixture by image analysis of resolution and color recognition. The data of the adjusted test fixture is established as the test fixture data corresponding to the standard of the image capture device, thereby preparing a standardized test fixture.

透過上述的技術手段,本發明可以達成提供可調整的測試治具 並透過圖像分析以快速且便利的建立測試治具標準化數據的技術功效。Through the above technical means, the present invention can achieve an adjustable test fixture And through image analysis to quickly and easily establish the technical efficacy of standardized data for test fixtures.

10‧‧‧電子裝置10‧‧‧Electronic devices

20‧‧‧測試治具20‧‧‧Test fixture

21‧‧‧標準圖像21‧‧‧Standard image

211‧‧‧色彩區域211‧‧‧Color area

212‧‧‧條碼區域212‧‧‧ barcode area

31‧‧‧影像擷取模組31‧‧‧Image capture module

32‧‧‧解碼模組32‧‧‧Decoding module

33‧‧‧比對模組33‧‧‧ Alignment module

34‧‧‧提示模組34‧‧‧Tips module

41‧‧‧檢測圖像41‧‧‧Detection image

411‧‧‧第一像素點411‧‧‧ first pixel

412‧‧‧第二像素點412‧‧‧second pixel

413‧‧‧第三像素點413‧‧‧ third pixel

414‧‧‧第四像素點414‧‧‧ fourth pixel

415‧‧‧第五像素點415‧‧‧ fifth pixel

416‧‧‧第六像素點416‧‧‧ sixth pixel

417‧‧‧第七像素點417‧‧‧ seventh pixel

418‧‧‧第像素點418‧‧‧ pixel

步驟101‧‧‧提供內嵌有影像擷取裝置的電子裝置Step 101‧‧‧ Providing an electronic device with an image capture device embedded therein

步驟102‧‧‧提供測試治具,測試治具設置組覆蓋於影像擷取裝置上,且測試治具內設置至少一光源以及標準圖像,標準圖像包含至少一色彩區域以及至少一條碼區域Step 102‧‧‧ provides a test fixture, the test fixture setting group is overlaid on the image capturing device, and at least one light source and a standard image are set in the test fixture, and the standard image includes at least one color region and at least one code region

步驟103‧‧‧自影像擷取裝置擷取包含標準圖像的檢測圖像Step 103‧‧‧ Capture image from the image capture device containing the standard image

步驟104‧‧‧對檢測圖像進行條碼的解碼以生成解碼結果Step 104‧‧‧ Decoding the detected image to generate a decoding result

步驟105‧‧‧進行檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍Step 105‧‧‧ Aligning each pixel in the detected image with at least one RGB value range to compare at least one color pixel range

步驟106‧‧‧當解碼結果與預設解碼結果不一致時,則生成調整測試治具的提示訊息並顯示,且同時顯示檢測圖像Step 106‧‧‧ When the decoding result is inconsistent with the preset decoding result, a prompt message for adjusting the test fixture is generated and displayed, and the detected image is simultaneously displayed

步驟107‧‧‧當解碼結果與預設解碼結果一致且色彩像素範圍的長度與預設長度不一致時,則生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像Step 107‧‧‧ When the decoding result is consistent with the preset decoding result and the length of the color pixel range does not coincide with the preset length, a prompt message for adjusting the test fixture light source is generated and displayed, and the detected image is simultaneously displayed.

步驟108‧‧‧當解碼結果與預設解碼結果一致且色彩像素範圍的寬度與預設寬度不一致時,則生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像Step 108‧‧‧ When the decoding result is consistent with the preset decoding result and the width of the color pixel range does not coincide with the preset width, a prompt message for adjusting the test fixture light source is generated and displayed, and the detected image is simultaneously displayed

第1圖繪示為本發明藉由圖像分析以調整測試治具的系統方塊圖。FIG. 1 is a block diagram of a system for adjusting a test fixture by image analysis according to the present invention.

第2A圖繪示為本發明藉由圖像分析以調整測試治具的第一視角架構示意圖。FIG. 2A is a schematic diagram showing a first perspective structure of the present invention for adjusting a test fixture by image analysis.

第2B圖繪示為本發明藉由圖像分析以調整測試治具的第二視角架構示意圖。FIG. 2B is a schematic diagram showing a second perspective structure of the present invention for adjusting a test fixture by image analysis.

第3圖繪示為本發明藉由圖像分析以調整測試治具的標準圖像示意圖。FIG. 3 is a schematic diagram of a standard image of the present invention for adjusting a test fixture by image analysis.

第4圖繪示為本發明藉由圖像分析以調整測試治具的方法流程圖。FIG. 4 is a flow chart showing a method for adjusting a test fixture by image analysis according to the present invention.

第5A圖繪示為本發明藉由圖像分析以調整測試治具的第一檢測圖像示意圖。FIG. 5A is a schematic diagram showing a first detection image of the test fixture by image analysis according to the present invention.

第5B圖繪示為本發明藉由圖像分析以調整測試治具的的第二檢測圖像示意圖。FIG. 5B is a schematic diagram of a second detection image of the present invention for adjusting a test fixture by image analysis.

第5C圖繪示為本發明藉由圖像分析以調整測試治具的的第三檢測圖像示意圖。FIG. 5C is a schematic diagram of a third detection image of the present invention for adjusting a test fixture by image analysis.

以下將配合圖式及實施例來詳細說明本發明的實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.

以下首先要說明本發明所揭露的藉由圖像分析以調整測試治具的系統,並請參考「第1圖」、「第2A圖」以及「第2B圖」所示,「第1圖」繪示為本發明藉由圖像分析以調整測試治具的系統方塊圖;「第2A圖」繪示為本發明藉由圖像分析以調整測試治具的第一視角架構示意圖;「第2B圖」繪示為本發明藉由圖像分析以調整測試治具的第二視角架構示意圖。In the following, the system for adjusting test fixtures by image analysis disclosed in the present invention will be described first, and please refer to "1st map", "2A map" and "2B map", "Fig. 1". The system block diagram of the present invention for adjusting the test fixture by image analysis; FIG. 2A is a schematic diagram showing the first perspective structure of the test fixture for adjusting the test fixture according to the present invention; The figure is a schematic diagram of a second perspective structure of the present invention for adjusting test fixtures by image analysis.

本發明所揭露的藉由圖像分析以調整測試治具的系統,其包 含:電子裝置10、測試治具20、影像擷取模組31、解碼模組32、比對模組33以及提示模組34。A system for adjusting a test fixture by image analysis disclosed in the present invention The electronic device 10, the test fixture 20, the image capturing module 31, the decoding module 32, the comparison module 33, and the prompting module 34 are included.

電子裝置10內嵌有影像擷取裝置11,測試治具20設置且覆蓋於所像擷取裝置11上,測試治具20提供影像擷取裝置11是提供暗箱的效果且於測試治具20內設置至少一光源以及標準圖像21,而標準圖像21的示意請參考「第3圖」所示,「第3圖」繪示為本發明藉由圖像分析以調整測試治具的標準圖像示意圖,標準圖像21包含至少一色彩區域211以及至少一條碼區域212,且值得注意的是色彩區域211中的色彩分別為單一相同或是不同的色彩,在「第3圖」中是以二個色彩區域211以及一個二維條碼區域212作為示意說明,並不以此侷限本發明的應用範疇。The image capturing device 11 is embedded in the electronic device 10, and the test fixture 20 is disposed on the image capturing device 11. The test fixture 20 provides the image capturing device 11 to provide a black box and is in the test fixture 20. At least one light source and a standard image 21 are provided, and the schematic of the standard image 21 is shown in FIG. 3, and FIG. 3 is a standard diagram of the invention for adjusting the test fixture by image analysis. Like the schematic diagram, the standard image 21 includes at least one color area 211 and at least one code area 212, and it is worth noting that the colors in the color area 211 are respectively the same or different colors, and in the "Fig. 3" The two color regions 211 and one two-dimensional barcode region 212 are illustrated for illustrative purposes and are not intended to limit the scope of application of the present invention.

在完成上述架構設置後,影像擷取模組31即可自影像擷取裝置11擷取包含標準圖像21的檢測圖像,接著,解碼模組32即可依據一維條碼解碼方法或是二維條碼解碼方法對檢測圖像進行條碼的解碼以生成解碼結果,一維條碼解碼方法是分析一維條碼的寬度與間隔,以依據一維條碼的寬度與間隔進行解碼以生成解碼結果,二維條碼則是依據二維條碼所定義的定位標記、校正標記、版本資訊以及格式資訊進行解碼以生成解碼結果,在此僅為舉例說明之,並不以此侷限本發明的應用範疇,一維條碼解碼方法或是二維條碼解碼方法可以參考現有技術,在此不再進行贅述,在「第3圖」中即會依據二維條碼解碼方法對二維條碼區域212進行解碼以生成解碼結果。After the above-mentioned architecture setting is completed, the image capturing module 31 can capture the detection image including the standard image 21 from the image capturing device 11. Then, the decoding module 32 can be based on the one-dimensional barcode decoding method or two. The trellis barcode decoding method decodes the barcode of the detected image to generate a decoding result. The one-dimensional barcode decoding method analyzes the width and interval of the one-dimensional barcode to decode according to the width and interval of the one-dimensional barcode to generate a decoding result. The bar code is decoded according to the positioning mark, the correction mark, the version information and the format information defined by the two-dimensional bar code to generate a decoding result, which is merely an example, and is not limited to the application scope of the present invention, the one-dimensional bar code. The decoding method or the two-dimensional barcode decoding method can refer to the prior art, and will not be described again herein. In the "3rd picture", the two-dimensional barcode region 212 is decoded according to the two-dimensional barcode decoding method to generate a decoding result.

解碼模組32依據一維條碼解碼方法或是二維條碼解碼方法對檢測圖像進行條碼的解碼以生成解碼結果,解碼結果即可包含文字、圖像、URL、錯誤碼…等內容,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。The decoding module 32 decodes the barcode of the detected image according to the one-dimensional barcode decoding method or the two-dimensional barcode decoding method to generate a decoding result, and the decoding result may include text, an image, a URL, an error code, and the like. It is merely illustrative and is not intended to limit the scope of application of the invention.

接著,比對模組33是用以進行檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍,且值得注意的是每一個色彩像素範圍為矩形範圍。Then, the comparison module 33 is configured to compare each pixel point in the detected image with at least one RGB value range to compare at least one color pixel range, and it is worth noting that each color pixel range is The range of rectangles.

舉例來說,假設第一RGB值範圍為“R值為255至250”、“G值為20至0”以及“B值為20至0”,而假設在檢測圖像中於第一像素點(50,50)、第二像素點(150,50)、第三像素點(50,100)以及第四像素點(150,100)的範圍內所有的像素點的RGB值都會在第一RGB值範圍內,比對模組33即可比對出第一像素點(50,50)、第二像素點(150,50)、第三像素點(50,100)以及 第四像素點(150,100)的範圍為第一色彩像素範圍,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。For example, assume that the first RGB value range is "R value is 255 to 250", "G value is 20 to 0", and "B value is 20 to 0", and it is assumed that the first pixel is in the detected image. The RGB values of all the pixels in the range of (50, 50), the second pixel (150, 50), the third pixel (50, 100), and the fourth pixel (150, 100) are within the first RGB value range. The comparison module 33 can compare the first pixel point (50, 50), the second pixel point (150, 50), the third pixel point (50, 100), and The range of the fourth pixel (150, 100) is the first color pixel range, which is merely illustrative here, and is not intended to limit the scope of application of the present invention.

假設第二RGB值範圍為“R值為20至0”、“G值為255至250”以及“B值為20至0”,而假設在檢測圖像中於第五像素點(50,150)、第六像素點(100,150)、第七像素點(50,180)以及第八像素點(100,180)的範圍內所有的像素點的RGB值都會在第二RGB值範圍內,比對模組33即可比對出第五像素點(50,150)、第六像素點(100,150)、第七像素點(50,180)以及第八像素點(100,180)的範圍為第二色彩像素範圍,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。It is assumed that the second RGB value range is "R value is 20 to 0", "G value is 255 to 250", and "B value is 20 to 0", and it is assumed that in the detected image at the fifth pixel point (50, 150), The RGB values of all the pixels in the range of the sixth pixel point (100, 150), the seventh pixel point (50, 180), and the eighth pixel point (100, 180) are all within the second RGB value range, and the comparison module 33 can be compared. The range of the fifth pixel point (50, 150), the sixth pixel point (100, 150), the seventh pixel point (50, 180), and the eighth pixel point (100, 180) is the second color pixel range, which is merely exemplified herein, and This does not limit the scope of application of the invention.

在解碼模組32依據一維條碼解碼方法或是二維條碼解碼方法對檢測圖像進行條碼的解碼以生成解碼結果,並且當解碼模組32所解碼出的解碼結果與預設解碼結果不一致時,提示模組34即可生成調整測試治具的提示訊息並顯示,且同時顯示檢測圖像,藉此可透過提示訊息以及檢測圖像進行測試治具20深度的調整。The decoding module 32 performs barcode decoding on the detected image according to the one-dimensional barcode decoding method or the two-dimensional barcode decoding method to generate a decoding result, and when the decoding result decoded by the decoding module 32 is inconsistent with the preset decoding result. The prompting module 34 can generate and display a prompt message for adjusting the test fixture, and simultaneously display the detected image, so that the depth of the test fixture 20 can be adjusted through the prompt message and the detected image.

舉例來說,假設解碼模組32對檢測圖像進行條碼的解碼以生成解碼結果為“解碼錯誤”,且假設預設解碼結果為“1234”,此時由於解碼結果為“解碼錯誤”與預設解碼結果為“1234”不一致,提示模組34即可生成調整測試治具的提示訊息並顯示,且同時顯示檢測圖像,藉此可透過提示訊息以及檢測圖像進行測試治具20深度的調整。For example, it is assumed that the decoding module 32 performs barcode decoding on the detected image to generate a decoding result of “decoding error”, and assumes that the preset decoding result is “1234”, at which time the decoding result is “decoding error” and pre- If the decoding result is “1234”, the prompting module 34 can generate and display the prompt message for adjusting the test fixture, and simultaneously display the detected image, thereby performing the test fixture 20 through the prompt message and the detected image. Adjustment.

在比對模組33進行檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍,並且當解碼模組32所解碼出的解碼結果與預設解碼結果一致但比對模組33所比對出的色彩像素範圍的長度與預設長度不一致時,提示模組34即可生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像,藉此可透過提示訊息以及檢測圖像進行測試治具20光源的調整,光源的調整例如是多點光源、側光光源、環繞光源…等,在此僅為舉例說明之,並不以此局限本發明的應用範疇。Aligning each pixel in the detected image of the comparison module 33 with at least one RGB value range to compare at least one color pixel range, and decoding the decoding result and the preset decoded by the decoding module 32 When the decoding result is consistent but the length of the color pixel range compared with the comparison module 33 does not match the preset length, the prompting module 34 can generate a prompt message for adjusting the test fixture light source and display, and simultaneously display the detection image. Therefore, the adjustment of the light source of the test fixture 20 can be performed through the prompt message and the detection image, and the adjustment of the light source is, for example, a multi-point light source, a side light source, a surrounding light source, etc., which are merely illustrated herein, and are not Limits the scope of application of the present invention.

舉例來說,假設比對模組33比對出的第二色彩像素範圍為第五像素點(50,150)、第六像素點(100,150)、第七像素點(50,180)以及第八像素點(100,180),且假設預設長度為“100”,此時由於第二色彩像素範圍的長度為“50”與預設長度為“100”不一致,但解碼模組32所生成的解碼結果為 “1234”與預設解碼結果為“1234”一致,提示模組34即可生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像,藉此可透過提示訊息以及檢測圖像進行測試治具20光源的調整。For example, assume that the second color pixel range that is compared by the comparison module 33 is a fifth pixel point (50, 150), a sixth pixel point (100, 150), a seventh pixel point (50, 180), and an eighth pixel point (100, 180). And assume that the preset length is "100". At this time, since the length of the second color pixel range is "50" and the preset length is "100", the decoding result generated by the decoding module 32 is "1234" is consistent with the preset decoding result of "1234", and the prompting module 34 can generate and display a prompt message for adjusting the test fixture light source, and simultaneously display the detected image, thereby performing the prompt message and the detected image. Test fixture 20 light source adjustment.

在比對模組33進行檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍,並且當當解碼模組32所解碼出的解碼結果與預設解碼結果一致但比對模組33所比對出的色彩像素範圍的寬度與預設寬度不一致時,提示模組34即可生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像,藉此可透過提示訊息以及檢測圖像進行測試治具20光源的調整,光源的調整例如是多點光源、側光光源、環繞光源…等,在此僅為舉例說明之,並不以此局限本發明的應用範疇。Comparing each pixel in the detected image of the comparison module 33 with at least one RGB value range to compare at least one color pixel range, and when the decoding module 32 decodes the decoding result and the preset When the decoding result is consistent but the width of the color pixel range compared with the matching module 33 does not match the preset width, the prompting module 34 can generate a prompt message for adjusting the test fixture light source and display, and simultaneously display the detection image. Therefore, the adjustment of the light source of the test fixture 20 can be performed through the prompt message and the detection image, and the adjustment of the light source is, for example, a multi-point light source, a side light source, a surrounding light source, etc., which are merely illustrated herein, and are not Limits the scope of application of the present invention.

舉例來說,假設比對模組33比對出的第二色彩像素範圍為第五像素點(50,150)、第六像素點(100,150)、第七像素點(50,180)以及第八像素點(100,180),且假設預設寬度為“50”,此時由於第二色彩像素範圍的寬度為“30”與預設寬度為“50”不一致,但解碼模組32所生成的解碼結果為“1234”與預設解碼結果為“1234”一致,提示模組34即可生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像,藉此可透過提示訊息以及檢測圖像進行測試治具20光源的調整。For example, assume that the second color pixel range that is compared by the comparison module 33 is a fifth pixel point (50, 150), a sixth pixel point (100, 150), a seventh pixel point (50, 180), and an eighth pixel point (100, 180). And assume that the preset width is "50". At this time, since the width of the second color pixel range is "30" and the preset width is "50", the decoding result generated by the decoding module 32 is "1234". In accordance with the preset decoding result being “1234”, the prompting module 34 can generate and display a prompt message for adjusting the test fixture light source, and simultaneously display the detected image, thereby performing the test fixture through the prompt message and the detected image. 20 light source adjustment.

反之,當解碼模組32所解碼出的解碼結果與預設解碼結果一致,比對模組33所比對出的色彩像素範圍的長度與預設長度一致,以及比對模組33所比對出的色彩像素範圍的寬度與預設寬度一致時,提示模組34即可生成調整完成的提示訊息並顯示,且同時顯示檢測圖像,藉此可以將調整後測試治具20的數據建立為與對應電子裝置內嵌的影像擷取裝置11標準的測試治具20數據,進而製做標準化的測試治具20。On the contrary, when the decoding result decoded by the decoding module 32 is consistent with the preset decoding result, the length of the color pixel range compared by the comparison module 33 is consistent with the preset length, and the comparison module 33 is compared. When the width of the color pixel range is consistent with the preset width, the prompting module 34 can generate and display the prompt information of the adjustment completion, and simultaneously display the detection image, thereby establishing the data of the adjusted test fixture 20 as The test fixture 20 data of the standard image capturing device 11 embedded in the corresponding electronic device is used to prepare a standardized test fixture 20.

舉例來說,假設解碼模組32對檢測圖像進行條碼的解碼以生成解碼結果為“1234”,且假設預設解碼結果為“1234”,此時解碼結果為“1234”與預設解碼結果為“1234”一致,而比對模組33比對出的第二色彩像素範圍為第一像素點(50,50)、第二像素點(150,50)、第三像素點(50,100)以及第四像素點(150,100),且假設預設長度為“100”以及預設寬度為“50”,此時第二色彩像素範圍的長度為“100”與預設長度為“100”一致且第二色彩像素範圍的寬度為“50”與預設寬度為“50”一致,提示模組34即可生成調整 完成的提示訊息並顯示,且同時顯示檢測圖像,藉此可以將調整後測試治具20的數據建立為與對應電子裝置內嵌的影像擷取裝置11標準的測試治具20數據,進而製做標準化的測試治具20。For example, it is assumed that the decoding module 32 performs barcode decoding on the detected image to generate a decoding result of “1234”, and assumes that the preset decoding result is “1234”, and the decoding result is “1234” and the preset decoding result. The second color pixel range that is aligned with the comparison module 33 is the first pixel point (50, 50), the second pixel point (150, 50), the third pixel point (50, 100), and The fourth pixel point (150, 100), and assumes that the preset length is "100" and the preset width is "50", and the length of the second color pixel range is "100" and the preset length is "100" and the The width of the second color pixel range is “50” and the preset width is “50”, and the prompt module 34 can generate an adjustment. The completed prompt message is displayed and displayed at the same time, so that the data of the adjusted test fixture 20 can be established as the test fixture 20 data corresponding to the image capturing device 11 embedded in the corresponding electronic device, and further Standardized test fixtures 20 are made.

接著,以下將以一個實施例來解說本發明的運作方式及流程,以下的實施例說明將同步配合「第1圖」、「第2A圖」、「第2B圖」、「第3圖」以及「第4圖」所示進行說明,「第4圖」繪示為本發明藉由圖像分析以調整測試治具的方法流程圖。Next, the operation mode and flow of the present invention will be explained below by way of an embodiment. The following embodiments show that "1st picture", "2A picture", "2B picture", "3rd picture", and the like are coordinated. The figure is shown in Fig. 4, and Fig. 4 is a flow chart showing the method of adjusting the test fixture by image analysis according to the present invention.

電子裝置10內嵌有影像擷取裝置11(步驟101),測試治具20設置且覆蓋於所像擷取裝置11上,測試治具20提供影像擷取裝置11是提供暗箱的效果且於測試治具20內設置至少一光源以及標準圖像21(步驟102),而標準圖像21的示意請參考「第3圖」所示,「第3圖」繪示為本發明藉由圖像分析以調整測試治具的標準圖像示意圖,標準圖像21包含至少一色彩區域211以及至少一條碼區域212(步驟102),且值得注意的是色彩區域211中的色彩分別為單一相同或是不同的色彩,在「第3圖」中是以二個色彩區域211以及一個二維條碼區域212作為示意說明,並不以此侷限本發明的應用範疇。The image capturing device 11 is embedded in the electronic device 10 (step 101). The test fixture 20 is disposed and covers the image capturing device 11. The test fixture 20 provides the image capturing device 11 to provide a black box effect and is tested. At least one light source and standard image 21 are disposed in the fixture 20 (step 102), and the standard image 21 is shown in "3", and "3" is shown in the present invention by image analysis. To adjust the standard image diagram of the test fixture, the standard image 21 includes at least one color region 211 and at least one code region 212 (step 102), and it is noted that the colors in the color region 211 are respectively the same or different. The color is schematically illustrated in the "Fig. 3" by two color regions 211 and a two-dimensional barcode region 212, and is not intended to limit the scope of application of the present invention.

接著,請參考「第5A圖」所示進行說明,「第5A圖」繪示為本發明藉由圖像分析以調整測試治具的的第一檢測圖像示意圖。Next, please refer to the description of FIG. 5A. FIG. 5A is a schematic diagram showing the first detection image of the present invention for adjusting the test fixture by image analysis.

在完成上述架構設置後,影像擷取模組31即可自影像擷取裝置11擷取包含標準圖像21的檢測圖像(步驟103),接著,解碼模組32即可依據二維條碼解碼方法對檢測圖像41進行條碼的解碼以生成解碼結果,且在實施例中解碼模組32所生成的解碼結果為“解碼錯誤”(步驟104)。After the above-mentioned architecture setting is completed, the image capturing module 31 can capture the detected image including the standard image 21 from the image capturing device 11 (step 103), and then the decoding module 32 can decode according to the two-dimensional barcode. The method performs decoding of the barcode on the detected image 41 to generate a decoding result, and in the embodiment, the decoding result generated by the decoding module 32 is "decoding error" (step 104).

且在實施例中的預設解碼結果為“1234”,此時由於解碼結果為“解碼錯誤”與預設解碼結果為“1234”不一致,提示模組34即可生成調整測試治具的提示訊息並顯示,且同時顯示檢測圖像41(步驟106),藉此可透過提示訊息以及檢測圖像41進行測試治具20深度的調整。The default decoding result in the embodiment is “1234”. At this time, because the decoding result is “decoding error” and the preset decoding result is “1234”, the prompting module 34 can generate a prompt message for adjusting the test fixture. And displaying, and simultaneously displaying the detected image 41 (step 106), whereby the depth of the test fixture 20 can be adjusted through the prompt message and the detected image 41.

接著,請參考「第5B圖」所示進行說明,「第5B圖」繪示為本發明藉由圖像分析以調整測試治具的的第二檢測圖像示意圖。Next, please refer to the description of FIG. 5B. FIG. 5B is a schematic diagram showing a second detection image of the present invention for adjusting the test fixture by image analysis.

在完成上述架構設置後,影像擷取模組31即可自影像擷取裝置11擷取包含標準圖像21的檢測圖像(步驟103),接著,解碼模組32即可依據二維條碼解碼方法對檢測圖像41進行條碼的解碼以生成解碼結果,且在實施例 中解碼模組32所生成的解碼結果為“1234”(步驟104),此時解碼模組32所生成的解碼結果為“1234”與預設解碼結果為“1234”一致。After the above-mentioned architecture setting is completed, the image capturing module 31 can capture the detected image including the standard image 21 from the image capturing device 11 (step 103), and then the decoding module 32 can decode according to the two-dimensional barcode. The method performs decoding of the barcode on the detected image 41 to generate a decoding result, and in the embodiment The decoding result generated by the decoding module 32 is "1234" (step 104). At this time, the decoding result generated by the decoding module 32 is "1234" and the preset decoding result is "1234".

在實施例中,第一RGB值範圍為“R值為255至250”、“G值為20至0”以及“B值為20至0”,且在檢測圖像41中於第一像素點411(50,50)、第二像素點412(150,50)、第三像素點413(50,100)以及第四像素點414(150,100)的範圍內所有的像素點的RGB值都會在第一RGB值範圍內,比對模組33即可比對出第一像素點411(50,50)、第二像素點412(150,50)、第三像素點413(50,100)以及第四像素點414(150,100)的範圍為第一色彩像素範圍(步驟105)。In an embodiment, the first RGB value range is "R value is 255 to 250", "G value is 20 to 0", and "B value is 20 to 0", and the first pixel is detected in the detected image 41. The RGB values of all the pixels in the range of 411 (50, 50), the second pixel point 412 (150, 50), the third pixel point 413 (50, 100), and the fourth pixel point 414 (150, 100) will be in the first RGB. Within the value range, the comparison module 33 can compare the first pixel point 411 (50, 50), the second pixel point 412 (150, 50), the third pixel point 413 (50, 100), and the fourth pixel point 414 ( The range of 150, 100) is the first color pixel range (step 105).

第二RGB值範圍為“R值為20至0”、“G值為255至250”以及“B值為20至0”,且在檢測圖像41中於第五像素點415(50,150)、第六像素點416(100,150)、第七像素點417(50,180)以及第八像素點417(100,180)的範圍內所有的像素點的RGB值都會在第二RGB值範圍內,比對模組33即可比對出第五像素點415(50,150)、第六像素點416(100,150)、第七像素點417(50,180)以及第八像素點418(100,180)的範圍為第二色彩像素範圍(步驟105)。The second RGB value range is "R value is 20 to 0", "G value is 255 to 250", and "B value is 20 to 0", and in the detection image 41 at the fifth pixel point 415 (50, 150), The RGB values of all the pixels in the range of the sixth pixel point 416 (100, 150), the seventh pixel point 417 (50, 180), and the eighth pixel point 417 (100, 180) are all within the second RGB value range, and the comparison module 33 The range of the fifth pixel point 415 (50, 150), the sixth pixel point 416 (100, 150), the seventh pixel point 417 (50, 180), and the eighth pixel point 418 (100, 180) can be compared to the second color pixel range (step 105). ).

且在實施例中的預設長度為“100”,此時由於第二色彩像素範圍的長度為“50”與預設長度為“100”不一致,提示模組34即可生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像41(步驟107),藉此可透過提示訊息以及檢測圖像41進行測試治具20光源的調整。In the embodiment, the preset length is “100”. At this time, since the length of the second color pixel range is “50” and the preset length is “100”, the prompt module 34 can generate the adjustment test fixture light source. The prompt message is displayed and displayed simultaneously with the detection image 41 (step 107), whereby the adjustment of the light source of the test fixture 20 can be performed through the prompt message and the detection image 41.

並且在實施例中的預設寬度為“50”,此時由於第二色彩像素範圍的寬度為“30”與預設寬度為“50”不一致,提示模組34即可生成調整測試治具光源的提示訊息並顯示,且同時顯示檢測圖像41(步驟108),藉此可透過提示訊息以及檢測圖像41進行測試治具20光源的調整。Moreover, the preset width in the embodiment is “50”. At this time, since the width of the second color pixel range is “30” and the preset width is “50”, the prompt module 34 can generate the adjustment test fixture light source. The prompt message is displayed and displayed simultaneously with the detection image 41 (step 108), whereby the adjustment of the light source of the test fixture 20 can be performed through the prompt message and the detection image 41.

接著,請參考「第5C圖」所示進行說明,「第5C圖」繪示為本發明藉由圖像分析以調整測試治具的的第三檢測圖像示意圖。Next, please refer to the description of FIG. 5C. FIG. 5C is a schematic diagram showing a third detection image of the present invention for adjusting the test fixture by image analysis.

在完成上述架構設置後,影像擷取模組31即可自影像擷取裝置11擷取包含標準圖像21的檢測圖像(步驟103),接著,解碼模組32即可依據二維條碼解碼方法對檢測圖像41進行條碼的解碼以生成解碼結果,且在實施例中解碼模組32所生成的解碼結果為“1234”(步驟104),此時解碼模組32所 生成的解碼結果為“1234”與預設解碼結果為“1234”一致。After the above-mentioned architecture setting is completed, the image capturing module 31 can capture the detected image including the standard image 21 from the image capturing device 11 (step 103), and then the decoding module 32 can decode according to the two-dimensional barcode. The method performs decoding of the barcode on the detected image 41 to generate a decoding result, and in the embodiment, the decoding result generated by the decoding module 32 is “1234” (step 104), and the decoding module 32 at this time The generated decoding result is "1234" and the preset decoding result is "1234".

在實施例中,第一RGB值範圍為“R值為255至250”、“G值為20至0”以及“B值為20至0”,且在檢測圖像41中於第一像素點411(50,50)、第二像素點412(150,50)、第三像素點413(50,100)以及第四像素點414(150,100)的範圍內所有的像素點的RGB值都會在第一RGB值範圍內,比對模組33即出第一像素點411(50,50)、第二像素點412(150,50)、第三像素點413(50,100)以及第四像素點414(150,100)的範圍為第一色彩像素範圍(步驟105)。In an embodiment, the first RGB value range is "R value is 255 to 250", "G value is 20 to 0", and "B value is 20 to 0", and the first pixel is detected in the detected image 41. The RGB values of all the pixels in the range of 411 (50, 50), the second pixel point 412 (150, 50), the third pixel point 413 (50, 100), and the fourth pixel point 414 (150, 100) will be in the first RGB. Within the value range, the comparison module 33 outputs the first pixel point 411 (50, 50), the second pixel point 412 (150, 50), the third pixel point 413 (50, 100), and the fourth pixel point 414 (150, 100). The range is the first color pixel range (step 105).

第二RGB值範圍為“R值為20至0”、“G值為255至250”以及“B值為20至0”,且在檢測圖像41中於第五像素點415(50,150)、第六像素點416(150,150)、第七像素點417(50,200)以及第八像素點417(150,200)的範圍內所有的像素點的RGB值都會在第二RGB值範圍內,比對模組33即可比對出第五像素點415(50,150)、第六像素點416(100,150)、第七像素點417(50,180)以及第八像素點418(100,180)的範圍為第二色彩像素範圍(步驟105)。The second RGB value range is "R value is 20 to 0", "G value is 255 to 250", and "B value is 20 to 0", and in the detection image 41 at the fifth pixel point 415 (50, 150), The RGB values of all the pixels in the range of the sixth pixel point 416 (150, 150), the seventh pixel point 417 (50, 200), and the eighth pixel point 417 (150, 200) are all within the second RGB value range, and the comparison module 33 The range of the fifth pixel point 415 (50, 150), the sixth pixel point 416 (100, 150), the seventh pixel point 417 (50, 180), and the eighth pixel point 418 (100, 180) can be compared to the second color pixel range (step 105). ).

在實施例中的預設解碼結果為“1234”,此時由於解碼結果為“1234”與預設解碼結果為“1234”一致,在實施例中的預設長度為“100”,此時由於第一色彩像素範圍以及第二色彩像素範圍的長度為“100”與預設長度為“100”一致,在實施例中的預設寬度為“50”,此時由於第一色彩像素範圍以及第二色彩像素範圍的寬度為“50”與預設寬度為“50”一致,提示模組34即可生成調整完成的提示訊息並顯示,且同時顯示檢測圖像41,藉此可以將調整後測試治具20的數據建立為與對應電子裝置內嵌的影像擷取裝置11標準的測試治具20數據,進而製做標準化的測試治具20。The preset decoding result in the embodiment is “1234”. At this time, since the decoding result is “1234” and the preset decoding result is “1234”, the preset length in the embodiment is “100”, The first color pixel range and the second color pixel range have a length of "100" and a preset length of "100", and the preset width in the embodiment is "50", at which time the first color pixel range and the first The width of the two color pixel ranges is “50” and the preset width is “50”, and the prompting module 34 can generate and display the prompt information of the adjustment completion, and simultaneously display the detection image 41, thereby the post-adjustment test can be performed. The data of the jig 20 is established as the test fixture 20 data standard with the image capturing device 11 embedded in the corresponding electronic device, thereby manufacturing a standardized test fixture 20.

綜上所述,可知本發明與先前技術之間的差異在於本發明測試治具設置且覆蓋於影像擷取裝置上,以由解析度與色彩識別的圖像分析進行測試治具的調整,將調整後測試治具的數據建立為對應影像擷取裝置標準的測試治具數據,進而製做標準化的測試治具。In summary, it can be seen that the difference between the present invention and the prior art is that the test fixture of the present invention is disposed and overlaid on the image capturing device to perform adjustment of the test fixture by image analysis of resolution and color recognition, The data of the test fixture is adjusted to be the test fixture data corresponding to the standard of the image capture device, and then the standardized test fixture is prepared.

藉由此一技術手段可以來解決先前技術所存在現有對應於不同電子裝置上影像擷取裝置快速且便利的製作出標準的測試治具不易的問題,進而達成提供可調整的測試治具並透過圖像分析以快速且便利的建立測試治具標準 化數據的技術功效。By means of this technical means, it is possible to solve the problem that the prior art corresponding to the image capturing device on different electronic devices can quickly and conveniently produce standard test fixtures, thereby achieving the provision of adjustable test fixtures and Image analysis to quickly and easily establish test fixture standards The technical efficacy of the data.

雖然本發明所揭露的實施方式如上,惟所述的內容並非用以直接限定本發明的專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露的精神和範圍的前提下,可以在實施的形式上及細節上作些許的更動。本發明的專利保護範圍,仍須以所附的申請專利範圍所界定者為準。While the embodiments of the present invention have been described above, the above description is not intended to limit the scope of the invention. Any changes in the form and details of the embodiments may be made without departing from the spirit and scope of the invention. The scope of the invention is to be determined by the scope of the appended claims.

31‧‧‧影像擷取模組31‧‧‧Image capture module

32‧‧‧解碼模組32‧‧‧Decoding module

33‧‧‧比對模組33‧‧‧ Alignment module

34‧‧‧提示模組34‧‧‧Tips module

Claims (10)

一種藉由圖像分析以調整測試治具的系統,其包含:一電子裝置,所述電子裝置內嵌有一影像擷取裝置;一測試治具,所述測試治具設置且覆蓋於所述影像擷取裝置上,且所述測試治具內設置至少一光源以及一標準圖像,所述標準圖像包含至少一色彩區域以及至少一條碼區域;一影像擷取模組,用以自所述影像擷取裝置擷取包含所述標準圖像的一檢測圖像;一解碼模組,用以對所述檢測圖像進行條碼的解碼以生成一解碼結果;一比對模組,用以進行所述檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍;及一提示模組,用以當所述解碼結果與一預設解碼結果不一致時,則生成調整所述測試治具的提示訊息並顯示,且同時顯示所述檢測圖像;當所述解碼結果與所述預設解碼結果一致且所述色彩像素範圍的長度與一預設長度不一致時,則生成調整所述測試治具光源的提行訊息並顯示,且同時顯示所述檢測圖像;或當所述解碼結果與所述預設解碼結果一致且所述色彩像素範圍的寬度與一預設寬度不一致時,則生成調整所述測試治具光源的提示訊息並顯示,且同時顯示所述檢測圖像。 A system for adjusting a test fixture by image analysis, comprising: an electronic device having an image capture device embedded therein; a test fixture disposed and covering the image On the capture device, the test fixture is provided with at least one light source and a standard image, the standard image includes at least one color region and at least one code region; and an image capture module for The image capturing device captures a detection image including the standard image; a decoding module is configured to decode the barcode of the detection image to generate a decoding result; and a comparison module is configured to perform Each pixel in the detected image is compared with at least one RGB value range to compare at least one color pixel range; and a prompting module is configured to: when the decoding result is inconsistent with a preset decoding result And generating a prompt message for adjusting the test fixture and displaying the same, and simultaneously displaying the detected image; when the decoding result is consistent with the preset decoding result and the length of the color pixel range is a pre- When the lengths are inconsistent, generating a lifting message for adjusting the test fixture light source and displaying the same, and simultaneously displaying the detected image; or when the decoding result is consistent with the preset decoding result and the color pixel range When the width does not match a preset width, a prompt message for adjusting the test fixture light source is generated and displayed, and the detected image is simultaneously displayed. 如申請專利範圍第1項所述的藉由圖像分析以調整測試治具的系統,其中所述解碼模組依據一維條碼解碼方法或是二維條碼解碼方法對所述檢測圖像進行條碼的解碼以生成所述解碼結果。 The system for adjusting a test fixture by image analysis according to claim 1, wherein the decoding module performs barcode processing on the detected image according to a one-dimensional barcode decoding method or a two-dimensional barcode decoding method. Decoding to generate the decoding result. 如申請專利範圍第1項所述的藉由圖像分析以調整測試治具的系統,其中所述色彩區域中的色彩為單一色彩。 A system for adjusting a test fixture by image analysis as described in claim 1, wherein the color in the color region is a single color. 如申請專利範圍第1項所述的藉由圖像分析以調整測試治具的系統,其中 所述色彩像素範圍為矩形範圍。 A system for adjusting test fixtures by image analysis as described in claim 1 of the patent application, wherein The color pixel range is a rectangular range. 如申請專利範圍第1項所述的藉由圖像分析以調整測試治具的系統,其中所述提示模組更包含當所述解碼結果與所述預設解碼結果一致,所述色彩像素範圍的長度與所述預設長度一致,且所述色彩像素範圍的寬度與所述預設寬度一致時,則生成調整完成的提示訊息並顯示,且同時顯示所述檢測圖像。 The system for adjusting a test fixture by image analysis according to claim 1, wherein the prompting module further comprises: when the decoding result is consistent with the preset decoding result, the color pixel range The length of the color pixel is consistent with the preset length, and when the width of the color pixel range is consistent with the preset width, a prompt message of the adjustment completion is generated and displayed, and the detected image is simultaneously displayed. 一種藉由圖像分析以調整測試治具的方法,其包含下列步驟:提供內嵌有一影像擷取裝置的一電子裝置;提供一測試治具,所述測試治具設置且覆蓋於所述影像擷取裝置上,且所述測試治具內設置至少一光源以及一標準圖像,所述標準圖像包含至少一色彩區域以及至少一條碼區域;自所述影像擷取裝置擷取包含所述標準圖像的一檢測圖像;對所述檢測圖像進行條碼的解碼以生成一解碼結果;進行所述檢測圖像中每一個像素點與至少一RGB值範圍進行比對,以比對出至少一色彩像素範圍;當所述解碼結果與一預設解碼結果不一致時,則生成調整所述測試治具的提示訊息並顯示,且同時顯示所述檢測圖像;當所述解碼結果與所述預設解碼結果一致且所述色彩像素範圍的長度與一預設長度不一致時,則生成調整所述測試治具光源的提示訊息並顯示,且同時顯示所述檢測圖像;及當所述解碼結果與所述預設解碼結果一致且所述色彩像素範圍的寬度與一預設寬度不一致時,則生成調整所述測試治具光源的提示訊息並顯示,且同時顯示所述檢測圖像。 A method for adjusting a test fixture by image analysis, comprising the steps of: providing an electronic device with an image capture device embedded therein; providing a test fixture, the test fixture being disposed and covering the image At least one light source and a standard image are disposed on the sampling device, the standard image includes at least one color region and at least one code region; and the image capturing device extracts from the image capturing device a detected image of the standard image; performing decoding of the barcode on the detected image to generate a decoding result; performing comparison of each pixel in the detected image with at least one RGB value range for comparison At least one color pixel range; when the decoding result is inconsistent with a preset decoding result, generating a prompt message for adjusting the test fixture and displaying the same, and simultaneously displaying the detected image; when the decoding result is When the preset decoding results are consistent and the length of the color pixel range is inconsistent with a preset length, a prompt message for adjusting the test fixture light source is generated and displayed, and simultaneously And displaying the detection image; and when the decoding result is consistent with the preset decoding result and the width of the color pixel range is different from a preset width, generating a prompt message for adjusting the test fixture light source and The detected image is displayed and displayed at the same time. 如申請專利範圍第6項所述的藉由圖像分析以調整測試治具的方法,其中 對所述檢測圖像進行條碼的解碼以生成所述解碼結果的步驟是依據一維條碼解碼方法或是二維條碼解碼方法對所述檢測圖像進行條碼的解碼以生成所述解碼結果。 A method for adjusting a test fixture by image analysis as described in claim 6 of the patent application, wherein The step of decoding the barcode to generate the decoding result is to decode the barcode according to the one-dimensional barcode decoding method or the two-dimensional barcode decoding method to generate the decoding result. 如申請專利範圍第6項所述的藉由圖像分析以調整測試治具的方法,其中所述標準圖像包含所述色彩區域以及所述條碼區域的步驟中,所述色彩區域中的色彩為單一色彩。 A method for adjusting a test fixture by image analysis according to claim 6, wherein the standard image includes the color region and the barcode region, and the color in the color region For a single color. 如申請專利範圍第6項所述的藉由圖像分析以調整測試治具的方法,其中進行所述檢測圖像中每一個像素點與所述RGB值範圍進行比對,以比對出所述色彩像素範圍的步驟中,所述色彩像素範圍為矩形範圍。 A method for adjusting a test fixture by image analysis as described in claim 6, wherein each pixel in the detected image is compared with the range of RGB values to compare In the step of describing the color pixel range, the color pixel range is a rectangular range. 如申請專利範圍第6項所述的藉由圖像分析以調整測試治具的方法,其中所述藉由圖像分析以調整測試治具的方法更包含當所述解碼結果與所述預設解碼結果一致,所述色彩像素範圍的長度與所述預設長度一致,且所述色彩像素範圍的寬度與所述預設寬度一致時,則生成調整完成的提示訊息並顯示,且同時顯示所述檢測圖像。 The method for adjusting a test fixture by image analysis as described in claim 6, wherein the method for adjusting a test fixture by image analysis further comprises when the decoding result and the preset The decoding result is consistent, the length of the color pixel range is consistent with the preset length, and when the width of the color pixel range is consistent with the preset width, a prompt message of the adjustment completion is generated and displayed, and the display is simultaneously displayed. The detected image is described.
TW102145833A 2013-12-12 2013-12-12 Test fixture adjusting system by image analysis and method thereof TWI508528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102145833A TWI508528B (en) 2013-12-12 2013-12-12 Test fixture adjusting system by image analysis and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102145833A TWI508528B (en) 2013-12-12 2013-12-12 Test fixture adjusting system by image analysis and method thereof

Publications (2)

Publication Number Publication Date
TW201524189A TW201524189A (en) 2015-06-16
TWI508528B true TWI508528B (en) 2015-11-11

Family

ID=53935883

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102145833A TWI508528B (en) 2013-12-12 2013-12-12 Test fixture adjusting system by image analysis and method thereof

Country Status (1)

Country Link
TW (1) TWI508528B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164994C (en) * 2001-12-06 2004-09-01 光宝科技股份有限公司 Method for auto-adjusting optical-mechanical module
TW200518555A (en) * 2003-11-27 2005-06-01 Quanta Comp Inc Test system for portable electronic apparatus and test method thereof
TW200725263A (en) * 2005-12-23 2007-07-01 Hon Hai Prec Ind Co Ltd Multimedia device testing system and method for the same
US20080288214A1 (en) * 2007-05-15 2008-11-20 Hon Hai Precision Industry Co., Ltd. System and method for testing a camera module
CN102903313A (en) * 2011-07-25 2013-01-30 宏正自动科技股份有限公司 Digital billboard device, digital billboard system and operation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164994C (en) * 2001-12-06 2004-09-01 光宝科技股份有限公司 Method for auto-adjusting optical-mechanical module
TW200518555A (en) * 2003-11-27 2005-06-01 Quanta Comp Inc Test system for portable electronic apparatus and test method thereof
TW200725263A (en) * 2005-12-23 2007-07-01 Hon Hai Prec Ind Co Ltd Multimedia device testing system and method for the same
US20080288214A1 (en) * 2007-05-15 2008-11-20 Hon Hai Precision Industry Co., Ltd. System and method for testing a camera module
CN102903313A (en) * 2011-07-25 2013-01-30 宏正自动科技股份有限公司 Digital billboard device, digital billboard system and operation method thereof

Also Published As

Publication number Publication date
TW201524189A (en) 2015-06-16

Similar Documents

Publication Publication Date Title
US10148944B2 (en) Calibration method of an image capture system
US9104913B2 (en) Pattern measuring method, pattern measuring apparatus, and program using same
TWI566231B (en) Electronic device and screen color regulation system
RU2008141307A (en) ENVIRONMENTAL LIGHTING SYSTEM BASED ON PROJECTORS
US20120188378A1 (en) Automatic analyzing method and system for test strips
US9196051B2 (en) Electronic equipment with image analysis function and related method
US20160153916A1 (en) Method for inspecting screen
CN104679462A (en) System and method for detecting screen
TWI508528B (en) Test fixture adjusting system by image analysis and method thereof
US10296806B2 (en) Recognition-based color corrections
KR101668039B1 (en) Method for Light Test of Display Panel
TWI450155B (en) Method and system for calculating calibration information for an optical touch apparatus
TWI464392B (en) Detecting system for image capture device on electronic device and method thereof
US10614275B2 (en) Position specifying apparatus and position specifying method
CN104679632B (en) System and method thereof for regulating test fixture by image analysis
CN104680117A (en) System and method for detecting image acquisition device arranged on electronic device
KR20070107410A (en) Remocon external inspect system and method of using machine vision
TW201538947A (en) Detecting method and detecting system for distinguishing the difference of two workpieces
TW201928772A (en) Edge detection system based on binary image and method thereof
CN108989793A (en) A kind of detection method and detection device of text pixel
KR101974111B1 (en) Method and System for Testing Display Panel
JP2019041197A (en) Test chart, test chart generation device, measuring device, test chart generation method, and program
TWI492614B (en) Testing system for image capture apparatus and method thereof
JP2016021148A (en) Image processing system and image processing method
TWI533267B (en) Method for inspecting screen

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees