TWI492614B - Testing system for image capture apparatus and method thereof - Google Patents

Testing system for image capture apparatus and method thereof Download PDF

Info

Publication number
TWI492614B
TWI492614B TW101138410A TW101138410A TWI492614B TW I492614 B TWI492614 B TW I492614B TW 101138410 A TW101138410 A TW 101138410A TW 101138410 A TW101138410 A TW 101138410A TW I492614 B TWI492614 B TW I492614B
Authority
TW
Taiwan
Prior art keywords
information
image
decoded
decoding
dimensional barcode
Prior art date
Application number
TW101138410A
Other languages
Chinese (zh)
Other versions
TW201417567A (en
Inventor
李優
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW101138410A priority Critical patent/TWI492614B/en
Publication of TW201417567A publication Critical patent/TW201417567A/en
Application granted granted Critical
Publication of TWI492614B publication Critical patent/TWI492614B/en

Links

Landscapes

  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

影像擷取裝置的檢測系統及其方法Image capturing device detection system and method thereof

一種檢測系統及其方法,尤其是指一種用於生產線上對嵌入於測試裝置中影像擷取裝置的檢測系統及其方法。A detection system and method thereof, in particular, a detection system and method for an image capture device embedded in a test device on a production line.

現有電子裝置中,一般都會嵌入有影像擷取裝置,藉以提供電子裝置圖像擷取、影像錄製、視訊對話…等的功能,讓電子裝置的使用更為的豐富。In the existing electronic devices, an image capturing device is generally embedded to provide functions such as image capturing, image recording, and video dialogue of the electronic device, so that the use of the electronic device is more abundant.

然而,由於電子裝置中嵌入有影像擷取裝置之後,對於電子裝置的檢測項目亦會增加,即是需要檢測電子裝置中影像擷取裝置,例如:影像擷取裝置的操作功能是否正常、影像擷取裝置的鏡頭是否污損、影像擷取裝置的圖像是否清晰、影像擷取裝置的晶片是否損壞、影像擷取裝置的自動對焦功能是否失效…等。However, since the image capturing device is embedded in the electronic device, the detection item for the electronic device is also increased, that is, the image capturing device in the electronic device needs to be detected, for example, whether the operation function of the image capturing device is normal, and the image is defective. Whether the lens of the device is dirty, whether the image of the image capturing device is clear, whether the wafer of the image capturing device is damaged, whether the autofocus function of the image capturing device is invalid, etc.

上述對於影像擷取裝置的檢測結果,尚需要人為因素的進一步判斷,亦即在對影像擷取裝置的測試需要花費過多的時間,並且由於需要人為因素的判斷,檢測人員與使用者之間對於影像或圖像的清晰將存在有不小的落差,進而造成消費的糾紛。The above-mentioned detection results of the image capturing device still require further judgment of human factors, that is, it takes too much time to test the image capturing device, and since the judgment of human factors is required, the detecting person and the user The clarity of the image or image will have a small gap, which will lead to consumer disputes.

綜上所述,可知先前技術中長期以來一直存在對電子裝置中對影像擷取裝置檢測上存在的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it has been known in the prior art that there have been problems in the detection of image capturing devices in electronic devices for a long time, and therefore it is necessary to propose an improved technical means to solve this problem.

有鑒於先前技術存在對電子裝置中對影像擷取裝置檢測上存在的問題,本發明遂揭露一種影像擷取裝置的檢測系統及其方法,其中:In view of the prior art, there is a problem in detecting an image capturing device in an electronic device, and the present invention discloses a detection system and method for the image capturing device, wherein:

本發明所揭露的影像擷取裝置的檢測系統,檢測系統是用於生產線中的檢測,且檢測系統是檢測內嵌於測試裝置的影像擷取裝置之用,其包含:連線模組、控制擷取模組、解碼模組、驗證模組以及記錄模組。The detection system of the image capturing device disclosed in the present invention, the detection system is used for detecting in a production line, and the detection system is used for detecting an image capturing device embedded in the testing device, which comprises: a connection module, and a control Capture modules, decoding modules, verification modules, and recording modules.

其中,連線模組是當測試裝置藉由生產線進入內有固定光源的黑幕空間後並加以定位,連線模組建立與測試裝置的連線,並自測試裝置獲得裝置資訊與解碼影像;控制擷取模組是用以控制測試裝置的影像擷取裝置擷取外部的二維條碼的影像以產生解碼影像;解碼模組是用以依據二維條碼解碼規則對解碼影像中的二維條碼進行解碼,以解碼出解碼資訊;驗證模組是用以將解碼資訊與對應於外部的二維條碼的標準資訊進行比對驗證;及記錄模組是當解碼資訊未通過驗證模組的比對驗證時,記錄模組則記錄裝置資訊。Wherein, the connection module is positioned after the test device enters the black screen space with the fixed light source through the production line, the connection module establishes a connection with the test device, and obtains the device information and the decoded image from the test device; The capture module is configured to control the image capture device of the test device to capture an image of the external two-dimensional barcode to generate a decoded image; the decoding module is configured to perform the two-dimensional barcode in the decoded image according to the two-dimensional barcode decoding rule. Decoding to decode the decoded information; the verification module is used to compare the decoded information with the standard information corresponding to the external 2D barcode; and the recording module is the verification when the decoded information fails the verification module The recording module records device information.

本發明所揭露的影像擷取裝置的檢測方法,檢測方法是用於生產線中的檢測,且檢測方法是檢測內嵌於測試裝置的影像擷取裝置之用,其包含下列步驟:The method for detecting an image capturing device disclosed by the present invention is for detecting in a production line, and the detecting method is for detecting an image capturing device embedded in the testing device, which comprises the following steps:

首先,當測試裝置藉由生產線進入內有固定光源的黑幕空間後並加以定位,以建立與測試裝置的連線;接著,控制測試裝置的影像擷取裝置擷取外部的二維條碼的影像以生成解碼影像;接著,自測試裝置獲得裝置資訊與解碼影像;接著,依據二維條碼解碼規則對解碼影像中的二維條碼進行解碼,以解碼出解碼資訊;接著,將解碼資訊與對應於外部的二維條碼的標準資訊進行比對驗證;最後,當解碼資訊未通過比對驗證時,則記錄裝置資訊。First, when the test device enters the black screen space with the fixed light source through the production line and is positioned to establish a connection with the test device; then, the image capture device of the control test device captures the image of the external two-dimensional barcode. Generating a decoded image; then, obtaining device information and decoding the image from the testing device; and then decoding the 2D barcode in the decoded image according to the 2D barcode decoding rule to decode the decoded information; and then, decoding the information and corresponding to the external The standard information of the two-dimensional bar code is compared and verified; finally, when the decoded information is not verified by the comparison, the device information is recorded.

本發明所揭露的系統與方法如上,與先前技術之間的差異在於本發明是先建立與測試裝置的連線,以控制測試裝置的影像擷取裝置以擷取解碼影像,並依據二維條碼解碼規則對解碼影像中的二維條碼進行解碼,以解碼出解碼資訊,將解碼資訊與標準資訊進行比對驗證,而當解碼資訊未通過比對驗證時,則記錄裝置資訊,藉以鎖定影像擷取裝置產生問題的測試裝置。The system and method disclosed in the present invention are as above, and the difference from the prior art is that the present invention first establishes a connection with the testing device to control the image capturing device of the testing device to capture the decoded image and according to the two-dimensional barcode. The decoding rule decodes the two-dimensional barcode in the decoded image to decode the decoded information, compares the decoded information with the standard information, and when the decoded information fails the comparison verification, records the device information, thereby locking the image. Take the test device that caused the problem with the device.

透過上述的技術手段,本發明可以達成快速且便利進行影像擷取裝置檢測的技術功效。Through the above technical means, the present invention can achieve the technical effect of quickly and conveniently performing image capturing device detection.

以下將配合圖式及實施例來詳細說明本發明的實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。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圖」所示,「第1圖」繪示為本發明影像擷取裝置的檢測系統方塊圖。The following is a description of the detection system of the image capturing device disclosed in the present invention. Please refer to FIG. 1 and FIG. 1 is a block diagram of a detection system of the image capturing device of the present invention.

本發明所揭露的影像擷取裝置的檢測系統,檢測系統是用於生產線中的檢測,且檢測系統是檢測內嵌於測試裝置的影像擷取裝置之用,其包含:連線模組11、控制擷取模組12、解碼模組13、驗證模組14以及記錄模組15。The detection system of the image capture device disclosed in the present invention, the detection system is used for detection in a production line, and the detection system is used for detecting an image capture device embedded in the test device, comprising: a connection module 11, The capture module 12, the decoding module 13, the verification module 14, and the recording module 15 are controlled.

上述的測試裝置例如是筆記型電腦、智慧型手機、一般型手機…等,而測試裝置是被放置於生產線上,而生產線即類似輸送裝置一般,會帶動放置於生產線上的測試裝置而移動,並當測試裝置由生產線的帶動進入到內有固定光源的黑幕空間(藉以避免測試裝置的影像擷取裝置受到外部光線的干擾,有助於降低影像 擷取裝置在擷取解碼影像時的外在干擾因素,而造成解碼影像誤判)後並加以定位,檢測系統的連線模組11即會建立與測試裝置的連線,檢測系統的連線模組11以有線方式或是無線方式建立與測試裝置的連線,有線方式包含有:連接線、網路線…等,有線方式包含有:無線網路、藍芽、WI-FI…等,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。The above test device is, for example, a notebook computer, a smart phone, a general type mobile phone, etc., and the test device is placed on a production line, and the production line is similar to a transport device, and the test device placed on the production line is moved to move. And when the test device is driven by the production line to enter the black screen space with a fixed light source (to avoid the interference of the image capturing device of the test device by external light, which helps to reduce the image) The capture device captures the external interference factor of the decoded image and causes the decoded image to be misjudged and then locates it. The connection module 11 of the detection system establishes a connection with the test device, and the connection mode of the detection system The group 11 establishes a connection with the test device in a wired manner or in a wireless manner. The wired method includes: a connection line, a network route, etc., and the wired method includes: a wireless network, a Bluetooth, a WI-FI, etc. It is merely illustrative and is not intended to limit the scope of application of the invention.

而在當連線模組11建立與測試裝置的連線之後,會再藉由控制擷取模組12對測試裝置的影像擷取裝置進行控制,亦即控制擷取模組12會開啟測試裝置的影像擷取裝置,並由控制測試裝置的影像擷取裝置擷取外部的二維條碼的影像以產生解碼影像,而在測試裝置的影像擷取裝置擷取外部的二維條碼的影像以產生解碼影像,連線模組11即會自測試裝置獲得裝置資訊與解碼影像。After the connection module 11 is connected to the test device, the image capture device of the test device is controlled by the control capture module 12, that is, the control capture module 12 turns on the test device. The image capturing device controls the image capturing device of the testing device to capture the image of the external two-dimensional barcode to generate the decoded image, and the image capturing device of the testing device captures the image of the external two-dimensional barcode to generate The image is decoded, and the connection module 11 obtains the device information and the decoded image from the test device.

除此之外,測試裝置的影像擷取裝置可以是具有自動調整焦距的影像擷取裝置,即可透過影像擷取裝置自動調整焦距,在擷取二維條碼的影像以產生解碼影像時,即可使二維條碼充滿整個解碼影像,藉以提供更為清晰二維條碼的解碼影像,進一步可以有效的減少解碼影像誤判的情況,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。In addition, the image capturing device of the testing device may be an image capturing device with an automatically adjusted focal length, which can automatically adjust the focal length through the image capturing device, and when capturing the image of the two-dimensional barcode to generate the decoded image, The two-dimensional barcode can be filled with the entire decoded image, so as to provide a clearer image of the decoded image of the two-dimensional barcode, which can further reduce the misjudgment of the decoded image, which is merely illustrative, and does not limit the application of the present invention. category.

上述的裝置資訊例如是測試裝置的MAC值(MAC值是唯一且不重複的數值)或是唯一且不重複的設定值(為被定義的數值),裝置資訊是用以判斷出唯一的一台測試裝置之用,上述對於裝置資訊說明僅為舉例說明之,並不以此侷限本發明的應用範疇。The above device information is, for example, the MAC value of the test device (the MAC value is a unique and non-repeating value) or a unique and non-repeating set value (which is a defined value), and the device information is used to determine the unique one. For the purpose of the test device, the above description of the device information is merely illustrative and is not intended to limit the scope of application of the present invention.

而在連線模組11自測試裝置獲得解碼影像之後,即會透過解碼模組13依據二維條碼解碼規則對解碼影像中的二維條碼進行解 碼,以解碼出解碼資訊,而在二維條碼解碼規則中有定義,當非完整二維條碼時,則不會進行二維條碼的解碼,而完整的二維條碼即是具有完整的三個定位點或是具有完整的起始條碼以及終止條碼作為判斷條件,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。After the connection module 11 obtains the decoded image from the test device, the decoding module 13 decodes the two-dimensional barcode in the decoded image according to the two-dimensional barcode decoding rule. The code is used to decode the decoded information, and is defined in the two-dimensional barcode decoding rule. When the non-complete two-dimensional barcode is used, the decoding of the two-dimensional barcode is not performed, and the complete two-dimensional barcode has three complete barcodes. The locating point or the complete starting bar code and the terminating bar code are used as the judgment conditions, which are merely exemplified herein, and are not intended to limit the application scope of the present invention.

具體而言,以二維條碼“QRcode”來說,二維條碼“QRcode”的完整條碼是以三個定位點作為判斷,而二維條碼“QRcode”的定位點即是三個較大的方框,而以二維條碼“PDF417”來說,二維條碼“PDF417”的完整條碼是以起始條碼的黑白條碼的比例是81111113以及終止條碼的黑白條碼的比例是711311121作為判斷,在此僅為舉例說明之,並不以此侷限本發明的應用範疇,而透過三個定位點或是起始條碼與終止條碼使得二維條碼不管是從何種方向都可以被辨識。Specifically, in the case of the two-dimensional barcode "QRcode", the complete barcode of the two-dimensional barcode "QRcode" is judged by three anchor points, and the anchor point of the two-dimensional barcode "QRcode" is three larger squares. Box, and in the case of the two-dimensional bar code "PDF417", the complete bar code of the two-dimensional bar code "PDF417" is judged by the ratio of the black-and-white bar code of the starting bar code is 81111113 and the ratio of the black-and-white bar code of the terminating bar code is 711311121, only here By way of example, it is not limited to the scope of application of the present invention, and the two-dimensional bar code can be recognized by any direction from the three anchor points or the starting bar code and the terminating bar code.

故解碼模組13是當在解碼影像中判斷出完整二維條碼時,才會進行二維條碼內容的解碼,以解碼出解碼資訊,而解碼資訊包含文字、數字以及文字與數字的組合。Therefore, when the decoding module 13 determines the complete two-dimensional barcode in the decoded image, the decoding of the two-dimensional barcode content is performed to decode the decoded information, and the decoded information includes characters, numbers, and a combination of characters and numbers.

接著,當解碼模組13在解碼出解碼資訊之後,會再藉由驗證模組14對解碼資訊進行比對驗證,即是將解碼資訊與對應於外部的二維條碼的標準資訊進行比對,具體而言,假設解碼模組13所解碼出的解碼資訊為“ABC123”,而標準資訊為“ABC123”,此時驗證模組14即可比對出解碼資訊為“ABC123”與標準資訊為“ABC123”相同;而假設解碼模組13所解碼出的解碼資訊為“XYZ456”,而標準資訊為“ABC123”,此時驗證模組14即可比對出解碼資訊為“XYZ456”與標準資訊為“ABC123”不相 同。Then, after the decoding module 13 decodes the decoded information, the verification module 14 performs the comparison verification on the decoded information, that is, the decoded information is compared with the standard information corresponding to the external two-dimensional barcode. Specifically, it is assumed that the decoding information decoded by the decoding module 13 is “ABC123” and the standard information is “ABC123”. At this time, the verification module 14 can compare the decoding information to “ABC123” and the standard information to “ABC123”. The same is true; and the decoding information decoded by the decoding module 13 is "XYZ456", and the standard information is "ABC123". At this time, the verification module 14 can compare the decoded information to "XYZ456" and the standard information to "ABC123". "No phase with.

而當解碼資訊無法通過驗證模組14的比對驗證時,記錄模組15即會記錄裝置資訊,藉此即可以知道測試裝置的影像擷取裝置所擷取的解碼影像有誤,亦即表示測試裝置的影像擷取裝置存在有問題,例如:影像擷取裝置的鏡頭污損、影像擷取裝置的晶片損壞、影像擷取裝置的自動對焦功能失效…等問題。When the decoding information cannot be verified by the verification module 14 , the recording module 15 records the device information, thereby knowing that the decoded image captured by the image capturing device of the testing device is incorrect, that is, There are problems with the image capturing device of the testing device, such as lens contamination of the image capturing device, wafer damage of the image capturing device, and failure of the autofocus function of the image capturing device.

除此之外,在二維條碼除了儲存有解碼資訊之外,更可儲存有等級資訊,例如:以二維條碼“PDF417”來說,二維條碼“PDF417”即是分為0至8共9個等級,而等級越高除錯能力越強,藉此可進一步的放至一系列的不同等級的二維條碼以供測試影像擷取裝置的等級。In addition, in addition to storing decoded information, the 2D barcode can store level information. For example, in the case of the 2D barcode "PDF417", the 2D barcode "PDF417" is divided into 0 to 8 There are 9 levels, and the higher the level, the stronger the debugging ability, which can be further placed on a series of different levels of 2D barcodes for testing the level of the image capture device.

亦即假設當影像擷取裝置所擷取的二維條碼透過解碼模組13解碼之後,分別解碼出解碼資訊為“ABC123”以及等級資訊為“4”、解碼資訊為“ABC123”以及等級資訊為“5”、解碼資訊為“ABC123”以及等級資訊為“6”,此時解碼資訊為“ABC123”皆會通過驗證模組14的比對驗證,此時,由於等級資訊為一筆以上,記錄模組15是以數值最高的等級資訊進行記錄,亦即記錄模組15會紀錄裝置資訊以及等級資訊為“6”藉以決定測試裝置的影像擷取裝置的等級為“6”。That is, after the two-dimensional barcode captured by the image capturing device is decoded by the decoding module 13, the decoding information is decoded as "ABC123" and the level information is "4", the decoding information is "ABC123", and the level information is "5", the decoding information is "ABC123" and the level information is "6". At this time, the decoding information is "ABC123" and the verification is verified by the verification module 14. At this time, since the level information is more than one, the recording mode is The group 15 records with the highest level information, that is, the recording module 15 records the device information and the level information is "6" to determine the level of the image capturing device of the testing device is "6".

接著,以下將以一個實施例來解說本發明的運作方式及流程,以下的實施例說明將同步配合「第1圖」以及「第2圖」所示進行說明,「第2圖」繪示為本發明影像擷取裝置的檢測方法流程圖。Next, the operation mode and flow of the present invention will be described below by way of an embodiment. The following embodiments will be described with reference to "first figure" and "second figure", and "second figure" is shown as A flow chart of a method for detecting an image capturing device of the present invention.

請參考「第3圖」所示,「第3圖」繪示為本發明影像擷取裝 置的檢測系統架構圖。Please refer to "Figure 3", "Figure 3" shows the image capture device of the present invention. The detection system architecture diagram.

測試裝置21例如是筆記型電腦、智慧型手機、一般型手機…等,且測試裝置21是被放置於生產線22上,而生產線22即類似輸送裝置一般,會帶動放置於生產線22上的測試裝置21而向左移動,並當測試裝置21由生產線22的帶動進入到內有固定光源231的黑幕空間23(藉以避免測試裝置的影像擷取裝置受到外部光線的干擾,有助於降低影像擷取裝置在擷取解碼影像時的外在干擾因素,而造成解碼影像誤判)後並加以定位,檢測系統的連線模組11即會以無線方式(例如:WI-FI)建立與測試裝置21的連線(步驟110)。The test device 21 is, for example, a notebook computer, a smart phone, a general-purpose mobile phone, etc., and the test device 21 is placed on the production line 22, and the production line 22, which is similar to the transport device, drives the test device placed on the production line 22. 21, moving to the left, and when the test device 21 is driven by the production line 22 into the black-screen space 23 with the fixed light source 231 (to avoid interference of external light by the image capturing device of the test device, which helps to reduce image capture) When the device captures the external interference factor of the decoded image and causes the decoded image to be misjudged and locates, the connection module 11 of the detection system establishes the test device 21 in a wireless manner (for example, WI-FI). Wire (step 110).

並且在當連線模組11建立與測試裝置的連線之後,會再藉由控制擷取模組12對測試裝置的影像擷取裝置進行控制,亦即控制擷取模組12會開啟測試裝置的影像擷取裝置,並由控制測試裝置的影像擷取裝置擷取外部的二維條碼的影像以生成解碼影像(步驟120),而在測試裝置的影像擷取裝置擷取外部的二維條碼的影像以生成解碼影像,連線模組11即會自測試裝置獲得裝置資訊為“00-11-D8-9C-DC-4B”(在實施例中裝置資訊是以測試裝置的MAC值作為舉例,並不以此侷限本發明的應用範疇)與解碼影像(步驟130)。After the connection module 11 is connected to the test device, the image capture device of the test device is controlled by the control capture module 12, that is, the control capture module 12 turns on the test device. The image capturing device captures the image of the external two-dimensional barcode by the image capturing device of the control testing device to generate a decoded image (step 120), and the image capturing device of the testing device captures the external two-dimensional barcode The image is generated to generate a decoded image, and the connection module 11 obtains the device information from the test device as "00-11-D8-9C-DC-4B" (in the embodiment, the device information is based on the MAC value of the test device as an example) This does not limit the scope of application of the present invention and decodes the image (step 130).

接著,請參考「第4A圖」所示,「第4A圖」繪示為本發明影像擷取裝置的擷取影像示意圖。Next, please refer to "FIG. 4A", and "FIG. 4A" is a schematic diagram of the captured image of the image capturing device of the present invention.

連線模組11自測試裝置21獲得解碼影像31如「第4A圖」所示,此時解碼模組13依據二維條碼解碼規則對解碼影像31中的二維條碼32(在實施例中是以二維條碼“QRcode”作為舉例說 明,並不以此侷限本發明的應用範疇)進行解碼,而由於二維條碼32並不具有三個定位點,故解碼模組13並不會對二維條碼32進行解碼。The connection module 11 obtains the decoded image 31 from the test device 21 as shown in FIG. 4A. At this time, the decoding module 13 decodes the two-dimensional barcode 32 in the decoded image 31 according to the two-dimensional barcode decoding rule (in the embodiment, Take the QR code "QRcode" as an example. Therefore, the decoding is not limited by the application scope of the present invention, and since the two-dimensional barcode 32 does not have three anchor points, the decoding module 13 does not decode the two-dimensional barcode 32.

接著,請參考「第4B圖」所示,「第4B圖」繪示為本發明影像擷取裝置的擷取影像示意圖。Next, please refer to FIG. 4B, and FIG. 4B is a schematic diagram of the captured image of the image capturing device of the present invention.

連線模組11自測試裝置21獲得解碼影像31如「第4B圖」所示,此時解碼模組13依據二維條碼解碼規則對解碼影像31中的二維條碼32(在實施例中是以二維條碼“QRcode”作為舉例說明,並不以此侷限本發明的應用範疇)進行解碼,而由於二維條碼32具有三個定位點321,故解碼模組13會對二維條碼32進行解碼。The connection module 11 obtains the decoded image 31 from the test device 21 as shown in FIG. 4B. At this time, the decoding module 13 decodes the two-dimensional barcode 32 in the decoded image 31 according to the two-dimensional barcode decoding rule (in the embodiment, The two-dimensional barcode "QRcode" is taken as an example, and is not limited to the application scope of the present invention. Since the two-dimensional barcode 32 has three anchor points 321, the decoding module 13 performs the two-dimensional barcode 32. decoding.

假設二維條碼32的標準資訊為“ABC123”,而經過解碼模組13依據二維條碼解碼規則對解碼影像31中的二維條碼32所解碼出的解碼資訊為“XYZ456”(步驟140),接著,驗證模組14即會對解碼資訊為“XYZ456”進行比對驗證,即是將解碼資訊為“XYZ456”與對應於外部的二維條碼的標準資訊為“ABC123”進行比對(步驟150),驗證模組14即可比對出解碼資訊為“XYZ456”與標準資訊為“ABC123”不相同,而解碼資訊為“XYZ456”即無法通過驗證模組14的比對驗證。Assume that the standard information of the two-dimensional barcode 32 is “ABC123”, and the decoding information decoded by the decoding module 13 on the two-dimensional barcode 32 in the decoded image 31 according to the two-dimensional barcode decoding rule is “XYZ456” (step 140). Then, the verification module 14 performs the comparison verification on the decoding information “XYZ456”, that is, the comparison information of the decoding information “XYZ456” and the standard information corresponding to the external two-dimensional barcode is “ABC123” (step 150). The verification module 14 can compare the decoding information to "XYZ456" and the standard information to "ABC123", and the decoding information to "XYZ456" cannot be verified by the verification module 14.

接著,由於解碼資訊為“XYZ456”無法通過驗證模組14的比對驗證,記錄模組15即會記錄裝置資訊為“00-11-D8-9C-DC-4B”(步驟160),藉此即可以知道測試裝置21的影像擷取裝置所擷取的解碼影像有誤,亦即表示測試裝置21的影像擷取裝置存在有問題,例如:影像擷取裝置的鏡頭污損、 影像擷取裝置的晶片損壞、影像擷取裝置的自動對焦功能失效…等問題。Then, since the decoding information is "XYZ456" and cannot be verified by the verification module 14, the recording module 15 records the device information as "00-11-D8-9C-DC-4B" (step 160). That is, it can be known that the decoded image captured by the image capturing device of the testing device 21 is incorrect, that is, the image capturing device of the testing device 21 has a problem, for example, the lens of the image capturing device is dirty, The wafer of the image capture device is damaged, the autofocus function of the image capture device is disabled, and the like.

接著,請參考「第4C圖」所示,「第4C圖」繪示為本發明影像擷取裝置的擷取影像示意圖。Next, please refer to "FIG. 4C", and FIG. 4C is a schematic diagram of the captured image of the image capturing device of the present invention.

連線模組11自測試裝置21獲得解碼影像31如「第4C圖」所示,此時解碼模組13依據二維條碼解碼規則對解碼影像31中的二維條碼32(在實施例中是以二維條碼“QRcode”作為舉例說明,並不以此侷限本發明的應用範疇)進行解碼,而由於二維條碼32並不具有三個定位點,故解碼模組13並不會對二維條碼32進行解碼。The connection module 11 obtains the decoded image 31 from the test device 21 as shown in FIG. 4C. At this time, the decoding module 13 decodes the two-dimensional barcode 32 in the decoded image 31 according to the two-dimensional barcode decoding rule (in the embodiment, The two-dimensional barcode "QRcode" is taken as an example, and is not limited to the application scope of the present invention. Since the two-dimensional barcode 32 does not have three anchor points, the decoding module 13 does not have two-dimensionality. Bar code 32 is decoded.

接著,請參考「第4D圖」所示,「第4D圖」繪示為本發明影像擷取裝置的擷取影像示意圖。Next, please refer to "4D", and "4D" is a schematic diagram of the captured image of the image capturing device of the present invention.

而假設第一二維條碼321(在實施例中是以二維條碼“PDF417”作為舉例說明,並不以此侷限本發明的應用範疇)的標準資訊為“ABC123”以及等級資訊為“3”以及第二二維條碼322(在實施例中是以二維條碼“PDF417”作為舉例說明,並不以此侷限本發明的應用範疇)的標準資訊為“ABC123”以及等級資訊為“4”,而經過解碼模組13依據二維條碼解碼規則對解碼影像31中的第一二維條碼321所解碼出的第一解碼資訊為“ABC123”以及等級資訊為“3”而解碼模組13依據二維條碼解碼規則對解碼影像31中的第一二維條碼321所解碼出的第二解碼資訊為“XYZ456”以及等級資訊為“3”。It is assumed that the first two-dimensional barcode 321 (in the embodiment, the two-dimensional barcode "PDF417" is exemplified, and the application information of the invention is not limited thereto) is "ABC123" and the rating information is "3". And the second two-dimensional barcode 322 (in the embodiment, the two-dimensional barcode "PDF417" is taken as an example, and the standard information of the application scope of the invention is not limited thereto) is "ABC123" and the rating information is "4". The decoding module 13 decodes the first decoding information of the first two-dimensional barcode 321 in the decoded image 31 according to the two-dimensional barcode decoding rule to be "ABC123" and the level information is "3", and the decoding module 13 according to the second The second decoding information decoded by the first bar code 321 in the decoded image 31 is "XYZ456" and the level information is "3".

接著,驗證模組14即會對第一解碼資訊為“ABC123”進行比對驗證,即是將第一解碼資訊為“ABC123”與標準資訊為 “ABC123”進行比對,驗證模組14即可比對出第一解碼資訊為“ABC123”與標準資訊為“ABC123”相同,而第一解碼資訊為“ABC123”即可通過驗證模組14的比對驗證。Then, the verification module 14 performs the comparison verification on the first decoding information as “ABC123”, that is, the first decoding information is “ABC123” and the standard information is "ABC123" is compared, and the verification module 14 can compare the first decoding information to "ABC123" and the standard information to "ABC123", and the first decoding information is "ABC123" to pass the verification module 14 ratio. For verification.

接著,驗證模組14即會對第二解碼資訊為“XYZ456”進行比對驗證,即是將第二解碼資訊為“XYZ456”與標準資訊為“ABC123”進行比對,驗證模組14即可比對出第二解碼資訊為“XYZ456”與標準資訊為“ABC123”不相同,而第二解碼資訊為“XYZ456”即無法過驗證模組14的比對驗證。Then, the verification module 14 compares the second decoding information to “XYZ456”, that is, compares the second decoding information to “XYZ456” and the standard information to “ABC123”, and the verification module 14 can compare If the second decoding information is "XYZ456" and the standard information is "ABC123", and the second decoding information is "XYZ456", the verification of the verification module 14 cannot be verified.

此時,由於第一解碼資訊為“ABC123”會通過驗證模組14的比對驗證,但第二解碼資訊為“XYZ456”無法通過驗證模組14的比對驗證,記錄模組15即可以記錄裝置資訊為“00-11-D8-9C-DC-4B”以及等級資訊為“3”,藉以決定測試裝置的影像擷取裝置的等級為“6”。At this time, since the first decoding information is “ABC123”, the verification of the verification module 14 is performed, but the second decoding information is “XYZ456”, and the verification module 14 cannot verify the comparison, and the recording module 15 can record. The device information is "00-11-D8-9C-DC-4B" and the rating information is "3", thereby determining the level of the image capturing device of the test device is "6".

綜上所述,可知本發明與先前技術之間的差異在於本發明是先建立與測試裝置的連線,以控制測試裝置的影像擷取裝置以擷取解碼影像,並依據二維條碼解碼規則對解碼影像中的二維條碼進行解碼,以解碼出解碼資訊,將解碼資訊與標準資訊進行比對驗證,而當解碼資訊未通過比對驗證時,則記錄裝置資訊,藉以鎖定影像擷取裝置產生問題的測試裝置。In summary, it can be seen that the difference between the present invention and the prior art is that the present invention first establishes a connection with the test device to control the image capture device of the test device to capture the decoded image, and according to the two-dimensional barcode decoding rule. The two-dimensional barcode in the decoded image is decoded to decode the decoded information, and the decoded information is compared with the standard information, and when the decoded information is not verified, the device information is recorded, thereby locking the image capturing device. The test device that caused the problem.

藉由此一技術手段可以來解決先前技術所存在對電子裝置中對影像擷取裝置檢測上存在的問題,進而達成快速且便利進行影像擷取裝置檢測的技術功效。The technical problem of detecting the image capturing device in the electronic device in the prior art can be solved by the technical means, thereby achieving the technical effect of quickly and conveniently detecting the image capturing device.

雖然本發明所揭露的實施方式如上,惟所述的內容並非用以直接限定本發明的專利保護範圍。任何本發明所屬技術領域中具 有通常知識者,在不脫離本發明所揭露的精神和範圍的前提下,可以在實施的形式上及細節上作些許的更動。本發明的專利保護範圍,仍須以所附的申請專利範圍所界定者為準。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 of the technical fields of the present invention A person skilled in the art can make some changes in the form and details of the implementation 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.

11‧‧‧連線模組11‧‧‧Connection module

12‧‧‧控制擷取模組12‧‧‧Control capture module

13‧‧‧解碼模組13‧‧‧Decoding module

14‧‧‧驗證模組14‧‧‧ verification module

15‧‧‧記錄模組15‧‧‧recording module

21‧‧‧測試裝置21‧‧‧Testing device

22‧‧‧生產線22‧‧‧Production line

23‧‧‧黑幕空間23‧‧‧ shady space

231‧‧‧固定光源231‧‧‧Fixed light source

31‧‧‧解碼影像31‧‧‧Decoding images

32‧‧‧二維條碼32‧‧‧2D barcode

321‧‧‧第一二維條碼321‧‧‧First 2D barcode

322‧‧‧第二二維條碼322‧‧‧Second 2D barcode

步驟110‧‧‧當測試裝置藉由生產線進入內有固定光源的黑幕空間後並加以定位,以建立與測試裝置的連線Step 110‧‧‧ When the test device enters the black screen space with the fixed light source through the production line and is positioned to establish a connection with the test device

步驟120‧‧‧控制測試裝置的影像擷取裝置擷取外部的二維條碼的影像以生成解碼影像Step 120‧‧‧ The image capturing device of the control test device captures an image of the external two-dimensional barcode to generate a decoded image

步驟130‧‧‧自測試裝置獲得裝置資訊與解碼影像Step 130‧‧‧Get device information and decoded image from the test device

步驟140‧‧‧依據二維條碼解碼規則對解碼影像中的二維條碼進行解碼,以解碼出解碼資訊Step 140‧‧‧ Decode the 2D barcode in the decoded image according to the 2D barcode decoding rule to decode the decoded information

步驟150‧‧‧將解碼資訊與對應於外部的二維條碼的標準資訊進行比對驗證Step 150‧‧‧Compare the decoded information with the standard information corresponding to the external 2D barcode

步驟160‧‧‧當解碼資訊未通過比對驗證時,則記錄裝置資訊Step 160‧‧‧ Record device information when the decoded information has not passed the comparison verification

第1圖繪示為本發明影像擷取裝置的檢測系統方塊圖。FIG. 1 is a block diagram of a detection system of the image capturing device of the present invention.

第2圖繪示為本發明影像擷取裝置的檢測方法流程圖。FIG. 2 is a flow chart showing a method for detecting an image capturing device of the present invention.

第3圖繪示為本發明影像擷取裝置的檢測系統架構圖。FIG. 3 is a structural diagram of a detection system of the image capturing device of the present invention.

第4A圖繪示為本發明影像擷取裝置的擷取影像示意圖。FIG. 4A is a schematic diagram of the captured image of the image capturing device of the present invention.

第4B圖繪示為本發明影像擷取裝置的擷取影像示意圖。FIG. 4B is a schematic diagram of the captured image of the image capturing device of the present invention.

第4C圖繪示為本發明影像擷取裝置的擷取影像示意圖。FIG. 4C is a schematic diagram of capturing images of the image capturing device of the present invention.

第4D圖繪示為本發明影像擷取裝置的擷取影像示意圖。FIG. 4D is a schematic diagram of the captured image of the image capturing device of the present invention.

11‧‧‧連線模組11‧‧‧Connection module

12‧‧‧控制擷取模組12‧‧‧Control capture module

13‧‧‧解碼模組13‧‧‧Decoding module

14‧‧‧驗證模組14‧‧‧ verification module

15‧‧‧記錄模組15‧‧‧recording module

Claims (10)

一種影像擷取裝置的檢測系統,所述檢測系統是用於生產線中的檢測,且所述檢測系統是檢測內嵌於一測試裝置的一影像擷取裝置之用,其包含:一連線模組,當所述測試裝置藉由生產線進入內有固定光源的黑幕空間後並加以定位,所述連線模組建立與所述測試裝置的連線,並自所述測試裝置獲得一裝置資訊與一解碼影像;一控制擷取模組,用以控制所述測試裝置的所述影像擷取裝置擷取外部的二維條碼的影像以產生所述解碼影像;一解碼模組,用以依據二維條碼解碼規則對所述解碼影像中的二維條碼進行解碼,以解碼出一解碼資訊;一驗證模組,用以將所述解碼資訊與對應於外部的二維條碼的一標準資訊進行比對驗證;及一記錄模組,當所述解碼資訊未通過所述驗證模組的比對驗證時,所述記錄模組則記錄所述裝置資訊。A detection system for an image capture device for detecting in a production line, and the detection system is for detecting an image capture device embedded in a test device, comprising: a connection mode a group, when the test device enters the black screen space with the fixed light source through the production line and is positioned, the connection module establishes a connection with the testing device, and obtains a device information from the testing device a decoding module, a control capturing module, configured to control the image capturing device of the testing device to capture an image of an external two-dimensional barcode to generate the decoded image; and a decoding module for The barcode decoding rule decodes the two-dimensional barcode in the decoded image to decode a decoding information, and a verification module is configured to compare the decoded information with a standard information corresponding to an external two-dimensional barcode. And the recording module records the device information when the decoding information is not verified by the verification module. 如申請專利範圍第1項所述的影像擷取裝置的檢測系統,其中所述解碼模組更包含依據二維條碼解碼規則對所述解碼影像中的二維條碼進行解碼,以解碼出所述解碼資訊與一等級資訊。The detection system of the image capture device of claim 1, wherein the decoding module further comprises: decoding the two-dimensional barcode in the decoded image according to a two-dimensional barcode decoding rule, to decode the Decode information and a level of information. 如申請專利範圍第2項所述的影像擷取裝置的檢測系統,其中所述等級資訊是透過記錄模組當所述解碼資訊通過所述驗證模組的比對驗證時,對所述裝置資訊與所述等級資訊進行紀錄。The detection system of the image capturing device of claim 2, wherein the level information is transmitted to the device by the recording module when the decoding information is verified by the verification module. Record with the level information. 如申請專利範圍第2項所述的影像擷取裝置的檢測系統,其 中當所述解碼模組所解碼出的所述等級資訊為一筆以上時,則所述記錄模組是以數值最高的所述等級資訊進行記錄。A detection system for an image capturing device according to claim 2, wherein When the level information decoded by the decoding module is one or more, the recording module records the level information with the highest value. 如申請專利範圍第1項所述的影像擷取裝置的檢測系統,其中所述裝置資訊是唯一且不重複的資訊,以依據所述裝置資訊以確定所述測試裝置。The detection system of the image capture device of claim 1, wherein the device information is unique and non-repeating information to determine the test device based on the device information. 一種影像擷取裝置的檢測方法,所述檢測方法是用於生產線中的檢測,且所述檢測方法是檢測內嵌於一測試裝置的一影像擷取裝置之用,其包含下列步驟:當所述測試裝置藉由生產線進入內有固定光源的黑幕空間後並加以定位,以建立與所述測試裝置的連線;控制所述測試裝置的所述影像擷取裝置擷取外部的二維條碼的影像以產生一解碼影像;自所述測試裝置獲得一裝置資訊與所述解碼影像;依據二維條碼解碼規則對所述解碼影像中的二維條碼進行解碼,以解碼出一解碼資訊;將所述解碼資訊與對應於外部的二維條碼的一標準資訊進行比對驗證;及當所述解碼資訊未通過比對驗證時,則記錄所述裝置資訊。A method for detecting an image capturing device, wherein the detecting method is used for detecting in a production line, and the detecting method is for detecting an image capturing device embedded in a testing device, which comprises the following steps: The test device enters the black screen space with the fixed light source through the production line and is positioned to establish a connection with the test device; and the image capture device controlling the test device captures the external two-dimensional barcode The image is used to generate a decoded image; a device information and the decoded image are obtained from the testing device; and the two-dimensional barcode in the decoded image is decoded according to a two-dimensional barcode decoding rule to decode a decoded information; The decoding information is compared with a standard information corresponding to the external two-dimensional barcode; and when the decoded information is not verified by the comparison, the device information is recorded. 如申請專利範圍第6項所述的影像擷取裝置的檢測方法,其中依據二維條碼解碼規則對所述解碼影像中的二維條碼進行解碼,以解碼出所述解碼資訊更包含解碼出所一等級資訊。The method for detecting an image capturing device according to claim 6, wherein the decoding of the two-dimensional barcode in the decoded image according to a two-dimensional barcode decoding rule further comprises decoding the decoded information. Level information. 如申請專利範圍第7項所述的影像擷取裝置的檢測方法,其中所述等級資訊是當所述解碼資訊通過比對驗證時,則對所 述裝置資訊與所述等級資訊進行紀錄。The method for detecting an image capturing device according to claim 7, wherein the level information is when the decoded information is verified by comparison, Record device information and the level information. 如申請專利範圍第7項所述的影像擷取裝置的檢測方法,其中當所述等級資訊為一筆以上時,則當所述解碼資訊通過比對驗證時,則記錄所述裝置資訊與所述等級資訊的步驟是以數值最高的所述等級資訊進行記錄。The method for detecting an image capturing device according to claim 7, wherein when the level information is more than one, when the decoded information is verified by comparison, the device information and the The step of level information is recorded with the highest level of the level information. 如申請專利範圍第6項所述的影像擷取裝置的檢測方法,其中自所述測試裝置獲得所述裝置資訊與所述解碼影像的步驟中所述裝置資訊是唯一且不重複的資訊,以依據所述裝置資訊以確定所述測試裝置。The method for detecting an image capturing device according to claim 6, wherein the device information obtained from the testing device in the step of obtaining the device information and the decoded image is unique and non-repeating information, The test device is determined based on the device information.
TW101138410A 2012-10-18 2012-10-18 Testing system for image capture apparatus and method thereof TWI492614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101138410A TWI492614B (en) 2012-10-18 2012-10-18 Testing system for image capture apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101138410A TWI492614B (en) 2012-10-18 2012-10-18 Testing system for image capture apparatus and method thereof

Publications (2)

Publication Number Publication Date
TW201417567A TW201417567A (en) 2014-05-01
TWI492614B true TWI492614B (en) 2015-07-11

Family

ID=51294010

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101138410A TWI492614B (en) 2012-10-18 2012-10-18 Testing system for image capture apparatus and method thereof

Country Status (1)

Country Link
TW (1) TWI492614B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11312214A (en) * 1998-04-30 1999-11-09 Toshiba Tec Corp Symbol reader
US20060202036A1 (en) * 2005-03-11 2006-09-14 Ynjiun Wang Bar code reading device with global electronic shutter control
US20070022294A1 (en) * 2005-07-25 2007-01-25 Silverbrook Research Pty Ltd Method of authenticating an object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11312214A (en) * 1998-04-30 1999-11-09 Toshiba Tec Corp Symbol reader
US20060202036A1 (en) * 2005-03-11 2006-09-14 Ynjiun Wang Bar code reading device with global electronic shutter control
US20070022294A1 (en) * 2005-07-25 2007-01-25 Silverbrook Research Pty Ltd Method of authenticating an object

Also Published As

Publication number Publication date
TW201417567A (en) 2014-05-01

Similar Documents

Publication Publication Date Title
US10885362B2 (en) Facial recognition method and apparatus and imposter recognition method and apparatus
US10242283B1 (en) Government ID card validation systems
CN104504321A (en) Method and system for authenticating remote user based on camera
TW200300540A (en) Very person identification system
US9888171B2 (en) Mobile camera device capable of improving facial patterns of a captured image
CN102572506A (en) Method and digital video camera for improving the image quality of images in a video image stream
JPWO2013157265A1 (en) Image processing system, receiving device, image transmitting device, image processing method, receiving side image processing method, and image transmitting method
US10404912B2 (en) Image capturing apparatus, image processing apparatus, image capturing system, image processing method, and storage medium
CN107016330B (en) Method for detecting fraud by pre-recorded image projection
CN103336938A (en) Recognition method based one-dimensional bar code image
WO2015192579A1 (en) Dirt detection method and device
US9996743B2 (en) Methods, systems, and media for detecting gaze locking
US10025968B2 (en) Initial point establishment using an image of a portion of an object
US8797443B2 (en) Method for checking camera
TWI492614B (en) Testing system for image capture apparatus and method thereof
CN104104860B (en) Object images detection device and its control method and control program, recording medium
CN103686142A (en) Detecting system and method for image capturing device
CN108737733B (en) Information prompting method and device, electronic equipment and computer readable storage medium
US20170126985A1 (en) Enumeration of Cameras in an Array
US11036971B2 (en) Face recognition method and electronic device employing the method
CN104680096A (en) Reading system of corresponding detection script of circuit board and method thereof
WO2016011876A1 (en) Method and device for photographing motion track of object
KR20120058300A (en) Apparatus for aligning a semiconductor wafer using image of flat zone and method thereof
CN106507098B (en) The method and apparatus of data processing
TWI464392B (en) Detecting system for image capture device on electronic device and method thereof

Legal Events

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