[go: up one dir, main page]

TWI850888B - A measurement assistance system and method - Google Patents

A measurement assistance system and method Download PDF

Info

Publication number
TWI850888B
TWI850888B TW111146448A TW111146448A TWI850888B TW I850888 B TWI850888 B TW I850888B TW 111146448 A TW111146448 A TW 111146448A TW 111146448 A TW111146448 A TW 111146448A TW I850888 B TWI850888 B TW I850888B
Authority
TW
Taiwan
Prior art keywords
measurement
image
posture
measuring tool
standard model
Prior art date
Application number
TW111146448A
Other languages
Chinese (zh)
Other versions
TW202424822A (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 TW111146448A priority Critical patent/TWI850888B/en
Publication of TW202424822A publication Critical patent/TW202424822A/en
Application granted granted Critical
Publication of TWI850888B publication Critical patent/TWI850888B/en

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

A measurement assistance system and method, comprising: a measurement platform with a working area for placing objects to be measured and measuring tools; a camera set on the measurement platform for obtaining measurement images; and a server module, Electrically connected to the camera, respectively execute the measuring tool recognition program, the measurement part recognition program, and the measurement posture recognition program according to the measurement image, and compare whether the appearance image of the measuring tool, the measurement part image, and the measurement posture image are correct; among them, the servo The instrument module has a processing unit, and when the image of the appearance of the measuring tool, the image of the measurement part, and the image of the measurement posture are all correct, a measurement result is generated according to the measurement data.

Description

量測輔助系統及方法Measurement assistance system and method

本發明是有關於一種量測輔助系統及方法,用於品管之量測系統,可根據使用者所設定的零件量測部位進行辨識並且進行識別正確性的量測輔助系統及方法。The present invention relates to a measurement auxiliary system and method, which is used for a measurement system for quality control and can identify and verify the accuracy of a part measurement location set by a user.

對於現今視覺辨識系統大多用於產品瑕疵檢測與產品尺寸檢測,但整套生產產線上視覺辨識系統價格昂貴,以及對於2D以上零件量測並不準確與難以進行量測等問題,又或者對於小量生產高精度產品,需要耗費時間在於辨識系統調整校正上花費時間。Currently, most visual recognition systems are used for product defect detection and product size detection. However, the entire production line visual recognition system is expensive, and it is inaccurate and difficult to measure parts above 2D. In addition, for small-scale production of high-precision products, it takes time to adjust and calibrate the recognition system.

與現今品管軟體之比較,對於現今品管量測軟體能夠進行將量測量具之數據直接輸入進入品管軟體中,以及提供相當豐富的品質管制圖表進行產線製程能力之分析,品質管制是基於數據相同來源進行數據分析,如何能夠確保數據進入時的準確性。準確性為零件量測的部位、量測量具類型等是否正確,手部是否握持著量具等,在現今量測品管軟體是無法對於上述零件部位、量具類型與手部握持等進行數據判斷,這些誤差會對於品質管制而言會降低品質管制的效益。Compared with the current quality control software, the current quality control measurement software can directly input the data of the measuring tool into the quality control software, and provide a fairly rich quality control chart to analyze the production line process capability. Quality control is based on data analysis based on the same data source. How to ensure the accuracy of the data when it is entered. Accuracy refers to whether the part measurement location, the type of measuring tool, etc. are correct, whether the hand is holding the tool, etc. The current measurement quality control software cannot make data judgments on the above-mentioned part location, tool type, and hand holding, etc. These errors will reduce the effectiveness of quality control.

本發明提供一種量測輔助系統及方法,其目的在於基於視覺辨識輔助系統檢測品管人員在量測零件時數據準確性。The present invention provides a measurement assistance system and method, the purpose of which is to detect the data accuracy of quality control personnel when measuring parts based on a visual recognition assistance system.

本發明的一種量測輔助系統,包括:一量測平台,具有一工作區,用以供放置一待測物及至少一量具;至少一攝影機,設置於該量測平台上,用以取得一量測影像;以及一伺服器模組,電性連接該些攝影機,依據該量測影像透過一量具外觀標準模型、一量測部位標準模型、以及一量測姿勢標準模型分別執行一量具辨識程序、一量測部位辨識程序、以及一量測姿勢辨識程序,並取得該些量具對應的一量具外觀影像、該待測物的一量測部位影像、以及一量測者的一量測姿勢影像,用以比對該量具外觀影像、該量測部位影像、以及該量測姿勢影像是否正確;其中,該伺服器模組具有一處理單元,當該量具外觀影像、該量測部位影像、以及該量測姿勢影像均正確時,依據一量測數據產生一量測結果;其中,該量具外觀標準模型、該量測部位標準模型、以及該量測姿勢標準模型透過預先搭建的一深度學習神經網路框架進行訓練,該深度學習神經網路框架包括Tensorflow object detection演算法、HU Moment演算法、TensorFlow CNN演算法和MediaPipe hand演算法。The present invention provides a measurement auxiliary system, comprising: a measurement platform having a work area for placing a to-be-measured object and at least one measuring tool; at least one camera, disposed on the measurement platform, for obtaining a measurement image; and a server module, electrically connected to the cameras, for executing a measuring tool recognition program, a measurement part recognition program, and a measurement posture recognition program respectively according to the measurement image through a measuring tool appearance standard model, a measurement part standard model, and a measurement posture standard model, and obtaining a measuring tool appearance image corresponding to the measuring tools, a measurement part image of the to-be-measured object, and a measurement image of the to-be-measured object. The invention relates to a method for processing a measuring tool and a measuring posture image of a measurer to compare the measuring tool appearance image, the measuring part image, and the measuring posture image to see whether they are correct; wherein the server module has a processing unit, and when the measuring tool appearance image, the measuring part image, and the measuring posture image are all correct, a measurement result is generated according to a measurement data; wherein the measuring tool appearance standard model, the measuring part standard model, and the measuring posture standard model are trained through a pre-built deep learning neural network framework, and the deep learning neural network framework includes a Tensorflow object detection algorithm, a HU Moment algorithm, a TensorFlow CNN algorithm, and a MediaPipe hand algorithm.

在本發明之一實施例中,上述之量測輔助系統更包括一顯示模組,該顯示模組位於該工作區,用以顯示一量測資訊。In an embodiment of the present invention, the measurement auxiliary system further includes a display module, which is located in the working area and is used to display measurement information.

在本發明之一實施例中,上述之量測資訊包括一指定量具、一量測部位、以及該量測結果。In one embodiment of the present invention, the measurement information includes a designated measuring tool, a measurement location, and the measurement result.

在本發明之一實施例中,上述之量測輔助系統更包括一輸入模組,該輸入模組用以取得該量測數據。In one embodiment of the present invention, the measurement auxiliary system further includes an input module, which is used to obtain the measurement data.

在本發明之一實施例中,上述之量測輔助系統更包括一判斷模組,該判斷模組用以判斷該量測數據是否符合一預設閾值範圍。In one embodiment of the present invention, the measurement auxiliary system further includes a judgment module, which is used to judge whether the measurement data meets a preset threshold range.

在本發明之一實施例中,上述之該些量具包括一有線量具和/或一無線量具,該無線量具具有相對應的一量測數據接收單元。In an embodiment of the present invention, the aforementioned measuring tools include a wired measuring tool and/or a wireless measuring tool, and the wireless measuring tool has a corresponding measurement data receiving unit.

在本發明之一實施例中,上述之量具外觀標準模型以TensorFlow演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In one embodiment of the present invention, the gauge appearance standard model uses the TensorFlow algorithm as a deep learning neural network framework and is a neural network-like model trained by deep learning.

在本發明之一實施例中,上述之量測部位標準模型以HU Moment演算法以及TensorFlow CNN演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In one embodiment of the present invention, the above-mentioned measurement part standard model uses the HU Moment algorithm and the TensorFlow CNN algorithm as the deep learning neural network framework, and is a neural network model trained by deep learning.

在本發明之一實施例中,上述之量測姿勢標準模型以MediaPipe Hand演算法作為手部辨識之方法。In one embodiment of the present invention, the above-mentioned measured posture standard model uses the MediaPipe Hand algorithm as a method for hand recognition.

在本發明中還包括一種量測輔助方法,適用於上述的量測輔助系統,其中該量測輔助方法,包含下列步驟:透過一顯示模組顯示一量測資訊;以至少一攝影機持續取得一工作區的一量測影像;透過一伺服器模組,依據該量測影像,透過一量具外觀標準模型執行一量具辨識程序,取得一量具外觀影像,並與該量測資訊比對;當該量具外觀影像正確時,依據該量測影像,透過一量測部位標準模型執行一量測部位辨識程序,取得一量測部位影像,並與該量測資訊比對;當該量測部位影像正確時,依據該量測影像,透過一量測姿勢標準模型執行一量測姿勢辨識程序,取得一量測姿勢影像,並與該量測資訊比對;當該量測姿勢影像正確時,透過一輸入模組取得一量測數據;通過一判斷模組判斷該量測數據是否符合一預設閾值範圍;以及當該量測數據符合該預設閾值範圍時,透過一處理單元依據該量測數據產生一量測結果。The present invention also includes a measurement assistance method, which is applicable to the above-mentioned measurement assistance system, wherein the measurement assistance method includes the following steps: displaying a measurement information through a display module; continuously acquiring a measurement image of a work area through at least one camera; executing a measurement tool recognition program through a server module based on the measurement image and a measurement tool appearance standard model to acquire a measurement tool appearance image and compare it with the measurement information; when the measurement tool appearance image is correct, executing a measurement part recognition program through a measurement part standard model based on the measurement image; A recognition procedure is performed to obtain a measurement part image and compare it with the measurement information; when the measurement part image is correct, a measurement posture recognition procedure is performed according to the measurement image through a measurement posture standard model to obtain a measurement posture image and compare it with the measurement information; when the measurement posture image is correct, a measurement data is obtained through an input module; a judgment module is used to judge whether the measurement data meets a preset threshold range; and when the measurement data meets the preset threshold range, a measurement result is generated according to the measurement data through a processing unit.

在本發明之一實施例中,上述之該些量具包括一有線量具和/或一無線量具,該無線量具具有相對應的一量測數據接收單元。In an embodiment of the present invention, the aforementioned measuring tools include a wired measuring tool and/or a wireless measuring tool, and the wireless measuring tool has a corresponding measurement data receiving unit.

在本發明之一實施例中,上述之量具外觀標準模型以Tensorflow object detection演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In one embodiment of the present invention, the aforementioned gauge appearance standard model uses the Tensorflow object detection algorithm as a deep learning neural network framework and a neural network-like model trained by deep learning.

在本發明之一實施例中,上述之量測部位標準模型以HU Moment演算法以及TensorFlow CNN演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In one embodiment of the present invention, the above-mentioned measurement part standard model uses the HU Moment algorithm and the TensorFlow CNN algorithm as the deep learning neural network framework, and is a neural network model trained by deep learning.

在本發明之一實施例中,上述之量測姿勢標準模型以MediaPipe hand演算法作為手部辨識之方法。In one embodiment of the present invention, the above-mentioned measured posture standard model uses the MediaPipe hand algorithm as a method for hand recognition.

本發明的效果在於,基於視覺辨識輔助系統檢測品管人員在量測零件時數具準確性,輔助系統用於現場端量測系統對於現場人員量測之零件部位、量測量具與姿勢進行視覺辨識,以機器視覺辨識檢測其正確性,相較傳統量測系統,使用者依照設定的零件部位圖示量測,如量測部位過於相似會導致量測人員量測部位錯誤,又或是量測人員並未依照規範量測值接手動輸入錯誤資料,本量測輔助系統為補足此缺陷,將視覺辨識與量測系統整合,將以視覺辨識判斷其零件部位、量具與姿勢等。The effect of the present invention is that the visual recognition auxiliary system detects the accuracy of the quality control personnel when measuring parts. The auxiliary system is used in the field measurement system to visually recognize the part parts, measuring tools and postures measured by the field personnel, and detects their accuracy by machine visual recognition. Compared with the traditional measurement system, the user measures according to the set part part icon. If the measured parts are too similar, the measuring personnel will measure the wrong part, or the measuring personnel will not follow the standard measurement value and manually input erroneous data. In order to make up for this defect, this measurement auxiliary system integrates visual recognition with the measurement system, and uses visual recognition to judge its part parts, measuring tools and postures.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式,除了這些詳細說明之外,本發明亦可廣泛地施行於其它的實施例中,任何所述實施例的輕易替代、修改、等效變化都包含在本發明之範圍內,並以申請專利範圍為準。在說明書的描述中,為了使讀者對本發明有較完整的瞭解,提供了許多特定細節;然而,本發明可能在省略部分或全部特定細節的前提下,仍可實施。此外,眾所周知的步驟或元件並未描述於細節中,以避免對本發明形成不必要之限制。圖式中相同或類似之元件將以相同或類似符號來表示。特別注意的是,圖式僅為示意之用,並非代表元件實際之尺寸或數量,有些細節可能未完全繪出,以求圖式之簡潔,作詳細說明如下。In order to make the above features and advantages of the present invention more obvious and easy to understand, the following embodiments are specifically cited and combined with the attached drawings. In addition to these detailed descriptions, the present invention can also be widely implemented in other embodiments. Any easy replacement, modification, and equivalent changes of the embodiments are included in the scope of the present invention and are subject to the scope of the patent application. In the description of the specification, many specific details are provided to enable readers to have a more complete understanding of the present invention; however, the present invention may still be implemented on the premise of omitting some or all of the specific details. In addition, well-known steps or components are not described in the details to avoid unnecessary limitations on the present invention. The same or similar components in the drawings will be represented by the same or similar symbols. It should be noted that the drawings are for illustration purposes only and do not represent the actual size or quantity of the components. Some details may not be fully drawn. In order to simplify the drawings, detailed descriptions are given below.

請參照圖1。圖1是根據本發明之一種量測輔助系統的方塊圖。本發明之一種量測輔助系統,包括:一量測平台11,具有一工作區111,用以供放置一待測物及至少一量具;至少一攝影機12,設置於該量測平台11上,用以取得一量測影像;以及一伺服器模組13,電性連接該些攝影機12,依據該量測影像透過一量具外觀標準模型、一量測部位標準模型、以及一量測姿勢標準模型分別執行一量具辨識程序、一量測部位辨識程序、以及一量測姿勢辨識程序,並取得該些量具對應的一量具外觀影像、該待測物的一量測部位影像、以及一量測者的一量測姿勢影像,用以比對該量具外觀影像、該量測部位影像、以及該量測姿勢影像是否正確;其中,該伺服器模組13具有一處理單元131,當該量具外觀影像、該量測部位影像、以及該量測姿勢影像均正確時,依據一量測數據產生一量測結果;其中,該量具外觀標準模型、該量測部位標準模型、以及該量測姿勢標準模型透過預先搭建的一深度學習神經網路框架進行訓練,該深度學習神經網路框架包括Tensorflow object detection演算法、HU Moment演算法、TensorFlow CNN演算法和MediaPipe hand演算法。Please refer to FIG1. FIG1 is a block diagram of a measurement auxiliary system according to the present invention. A measurement auxiliary system of the present invention comprises: a measurement platform 11, having a work area 111 for placing a to-be-measured object and at least one measuring tool; at least one camera 12, disposed on the measurement platform 11, for acquiring a measurement image; and a server module 13, electrically connected to the cameras 12, and executing a measuring tool recognition program, a measurement part recognition program, and a measurement posture recognition program respectively according to the measurement image through a measuring tool appearance standard model, a measurement part standard model, and a measurement posture standard model, and acquiring a measuring tool appearance image corresponding to the measuring tools, a measurement image of the to-be-measured object, and a measurement image of the to-be-measured object. The server module 13 comprises a measuring part image and a measuring posture image of a measurer to compare whether the measuring tool appearance image, the measuring part image, and the measuring posture image are correct; wherein the server module 13 has a processing unit 131, and when the measuring tool appearance image, the measuring part image, and the measuring posture image are all correct, a measurement result is generated according to a measurement data; wherein the measuring tool appearance standard model, the measuring part standard model, and the measuring posture standard model are trained through a pre-built deep learning neural network framework, and the deep learning neural network framework includes a Tensorflow object detection algorithm, a HU Moment algorithm, a TensorFlow CNN algorithm, and a MediaPipe hand algorithm.

於本實施例中,該量測輔助系統更包括一顯示模組14,該顯示模組14位於該工作區111,用以顯示一量測資訊。In this embodiment, the measurement auxiliary system further includes a display module 14, which is located in the working area 111 and is used to display measurement information.

其中,該量測資訊包括一指定量具、一量測部位、以及該量測結果。The measurement information includes a designated measuring tool, a measurement location, and the measurement result.

於本實施例中,該量測輔助系統更包括一訊號轉換裝置,該訊號轉換裝置經由網際網路與該伺服器模組13連接,且該訊號轉換裝置透過一有線方式或無線方式的連接該顯示模組14。In this embodiment, the measurement auxiliary system further includes a signal conversion device, which is connected to the server module 13 via the Internet, and the signal conversion device is connected to the display module 14 in a wired manner or a wireless manner.

其中,該顯示模組14可為但不限於一智慧型手機、一平板電腦、桌上型電腦、或一筆記型電腦。The display module 14 may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, or a notebook computer.

於本實施例中,該量測輔助系統更包括一輸入模組15,該輸入模組15用以取得該量測數據。In this embodiment, the measurement auxiliary system further includes an input module 15, and the input module 15 is used to obtain the measurement data.

於本實施例中,該量測輔助系統更包括一判斷模組16,該判斷模組16用以判斷該量測數據是否符合一預設閾值範圍。In this embodiment, the measurement auxiliary system further includes a judgment module 16, and the judgment module 16 is used to judge whether the measurement data meets a preset threshold range.

其中,當該該量測數據超過該預設閾值範圍時,通過一警示單元發出一通知訊號。When the measured data exceeds the preset threshold range, a notification signal is sent out through an alarm unit.

於本實施例中,該些量具包括一有線量具和/或一無線量具,該無線量具具有相對應的一量測數據接收單元。In this embodiment, the measuring tools include a wired measuring tool and/or a wireless measuring tool, and the wireless measuring tool has a corresponding measurement data receiving unit.

於本實施例中,該量具外觀標準模型以Tensorflow object detection演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In this embodiment, the gauge appearance standard model uses the Tensorflow object detection algorithm as a deep learning neural network framework and a neural network-like model trained by deep learning.

其中,該Tensorflow object detection演算法是一種應用於機器學習的開源軟體庫,並且TensorFlow提供了多種人工智慧相關模型。Among them, the Tensorflow object detection algorithm is an open source software library applied to machine learning, and TensorFlow provides a variety of artificial intelligence related models.

該量具外觀標準模型透過Tensorflow object detection演算法進行物件辨識,主要辨識量測量具,如游標卡尺、分離卡和高度規等,以及量具上會接觸量零件的部位進行辨識。The gauge appearance standard model uses the Tensorflow object detection algorithm to identify objects, mainly measuring tools such as vernier calipers, separation cards, and height gauges, as well as the parts of the gauge that will contact the measured parts.

於本實施例中,該量測部位標準模型以HU Moment演算法以及TensorFlow CNN演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In this embodiment, the measurement site standard model uses the HU Moment algorithm and the TensorFlow CNN algorithm as a deep learning neural network framework, and is a neural network-like model trained by deep learning.

其中,該HU Moment(HU矩)演算法是透過相片中物件的七個不變量,所述七個不變量改良自標準的geometric moments(幾何矩),使得物件在經過旋轉、移動、縮放、鏡像…等處理後moments(矩)仍能維持不變,比起原來標準的moments更適合作為描述及比較物件的相似度。The HU Moment algorithm uses seven invariants of objects in the photo. The seven invariants are improved from standard geometric moments, so that the moments of the objects can remain unchanged after rotation, translation, scaling, mirroring, etc., which is more suitable for describing and comparing the similarity of objects than the original standard moments.

所述七個不變量如下圖: The seven invariants are as follows:

HU Moment在物件經過旋轉、平移和縮放後會保持相同,可以用來作為物體形狀辨識。HU Moment remains the same after the object is rotated, translated, and scaled, and can be used for object shape recognition.

其中,透過HU Moment演算法以及TensorFlow CNN演算法所建構的該量測部位標準模型,可利用零件部位圖片,以游標卡尺為例基於零件上不同部位會有不同之特徵,以主尺所接觸到的部位進行部位圖片擷取進行辨識。Among them, the measurement part standard model constructed by the HU Moment algorithm and the TensorFlow CNN algorithm can use part part images. Taking the vernier caliper as an example, different parts on the part will have different characteristics, and the part image is captured and identified based on the part touched by the main ruler.

其中,該量測部位影像指量具接觸量測物處的影像。The measurement part image refers to the image where the measuring tool contacts the measurement object.

於本實施例中,該量測姿勢標準模型以MediaPipe hand演算法作為手部辨識之方法。In this embodiment, the measured pose standard model uses the MediaPipe hand algorithm as a method for hand recognition.

其中,該量測姿勢影像包括一手部姿勢以及一手指角度。The measured posture image includes a hand posture and a finger angle.

其中,該MediaPipe hand演算法將手部分為21個特徵點如下圖所示,可以由特徵點將手部姿勢與手指角度得出,利用手部姿勢進行是否抓取量具的依據。 The MediaPipe hand algorithm divides the hand into 21 feature points as shown in the figure below. The hand posture and finger angles can be derived from the feature points, and the hand posture is used as a basis for determining whether to grasp the measuring tool.

請參照圖2。圖2是根據本發明之一種量測輔助方法的步驟流程圖,在圖2中的一種量測輔助方法,適用於一量測輔助系統,其中該量測輔助方法,包含下列步驟:Please refer to FIG2 . FIG2 is a flow chart of a measurement assistance method according to the present invention. The measurement assistance method in FIG2 is applicable to a measurement assistance system, wherein the measurement assistance method comprises the following steps:

步驟S210:透過一顯示模組顯示一量測資訊;Step S210: Displaying measurement information via a display module;

步驟S220:以至少一攝影機持續取得一工作區的一量測影像;Step S220: continuously acquiring a measurement image of a working area using at least one camera;

步驟S230:透過一伺服器模組,依據該量測影像,透過一量具外觀標準模型執行一量具辨識程序,取得一量具外觀影像,並與該量測資訊比對;Step S230: executing a gauge recognition procedure through a server module according to the measurement image and a gauge appearance standard model to obtain a gauge appearance image and compare it with the measurement information;

步驟S240:當該量具外觀影像正確時,依據該量測影像,透過一量測部位標準模型執行一量測部位辨識程序,取得一量測部位影像,並與該量測資訊比對;Step S240: When the measuring tool appearance image is correct, a measurement part recognition procedure is performed based on the measurement image through a measurement part standard model to obtain a measurement part image, and compare it with the measurement information;

步驟S250:當該量測部位影像正確時,依據該量測影像,透過一量測姿勢標準模型執行一量測姿勢辨識程序,取得一量測姿勢影像,並與該量測資訊比對;Step S250: When the measurement part image is correct, a measurement posture recognition procedure is performed based on the measurement image through a measurement posture standard model to obtain a measurement posture image, and compare it with the measurement information;

步驟S260:當該量測姿勢影像正確時,透過一輸入模組取得一量測數據;Step S260: When the measured posture image is correct, obtaining a measurement data through an input module;

步驟S270:通過一判斷模組判斷該量測數據是否符合一預設閾值範圍;以及Step S270: determining whether the measured data meets a preset threshold range through a determination module; and

步驟S280:當該量測數據符合該預設閾值範圍時,透過一處理單元依據該量測數據產生一量測結果。Step S280: When the measurement data meets the preset threshold range, a measurement result is generated according to the measurement data through a processing unit.

於本實施例中,上述之該些量具包括一有線量具和/或一無線量具,該無線量具具有相對應的一量測數據接收單元。In this embodiment, the measuring tools mentioned above include a wired measuring tool and/or a wireless measuring tool, and the wireless measuring tool has a corresponding measurement data receiving unit.

於本實施例中,上述之量具外觀標準模型以Tensorflow object detection演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In this embodiment, the gauge appearance standard model uses the Tensorflow object detection algorithm as a deep learning neural network framework and a neural network-like model trained by deep learning.

於本實施例中,上述之量測部位標準模型以HU Moment演算法以及TensorFlow CNN演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。In this embodiment, the above-mentioned measurement part standard model uses the HU Moment algorithm and the TensorFlow CNN algorithm as the deep learning neural network framework, and is a neural network-like model trained by deep learning.

於本實施例中上述之量測姿勢標準模型以MediaPipe hand演算法作為手部辨識之方法。In this embodiment, the above-mentioned measured posture standard model uses the MediaPipe hand algorithm as a method for hand recognition.

請參照圖3。圖3是根據本發明之一種量測輔助方法一實施例的判斷流程示意圖。在圖3中,該量測輔助系統的判斷流程,首先由攝影機擷取量測平台上量測者量測時之畫面,依據量具外觀影像透過量具辨識模型進行辨識,確認量具是否正確,不正確則檢測不通過,通過時進入下一階段;擷取量具上量測部位畫面,依據量測部位影像,經由Hu moment計算值比對與CNN建構的量測部位標準模型進行辨識,不通過則檢測不通過,通過時進入下一階段;擷取手部握持與手部辨識的量測姿勢影像,透過量測姿勢標準模型,辨識手部是否握持量具,不正確則檢測錯誤,正確則檢測通過,檢測通過則表示使用者使用正確量具、量測零件上正確之部位和手部確認抓取正確量具。Please refer to FIG3. FIG3 is a schematic diagram of the judgment process of an embodiment of a measurement auxiliary method according to the present invention. In FIG3, the judgment process of the measurement auxiliary system firstly captures the image of the measurer on the measurement platform by the camera, and then identifies the measuring tool through the measuring tool recognition model based on the measuring tool appearance image to confirm whether the measuring tool is correct. If it is incorrect, the test fails, and if it passes, it enters the next stage; captures the measuring part image on the measuring tool, and then uses the Hu The moment calculated value is compared with the standard model of the measurement part constructed by CNN for identification. If it fails, the detection fails. If it passes, it enters the next stage; the measurement posture images of the hand holding and hand recognition are captured, and through the standard model of the measurement posture, it is identified whether the hand is holding the measuring tool. If it is incorrect, the detection is wrong, and if it is correct, the detection passes. A passed detection means that the user uses the correct measuring tool, measures the correct part on the part, and the hand confirms that the correct measuring tool is grasped.

於本實施例中,當檢測全部通過後,通過輸入模組將量測數據傳送至伺服器模組後,產生量測結果。In this embodiment, when all tests are passed, the measurement data is transmitted to the server module through the input module to generate the measurement results.

其中,透過判斷模組判斷量測數據是否符合預設閾值範圍。The judgment module is used to determine whether the measured data meets the preset threshold range.

綜上所述,本發明的效果在於,基於視覺辨識輔助系統檢測品管人員在量測零件時數具準確性,輔助系統用於現場端量測系統對於現場人員量測之零件部位、量測量具與姿勢進行視覺辨識,以機器視覺辨識檢測其正確性,相較傳統量測系統,使用者依照設定的零件部位圖示量測,如量測部位過於相似會導致量測人員量測部位錯誤,又或是量測人員並未依照規範量測值接手動輸入錯誤資料,本量測輔助系統為補足此缺陷,將視覺辨識與量測系統整合,將以視覺辨識判斷其零件部位、量具與姿勢等。In summary, the effect of the present invention is that the visual recognition auxiliary system detects the accuracy of the quality control personnel when measuring parts. The auxiliary system is used in the field measurement system to visually recognize the part position, measuring tool and posture measured by the field personnel, and detects its accuracy by machine visual recognition. Compared with the traditional measurement system, users can rely on Measuring according to the set part part diagram may cause the measuring personnel to measure the wrong part if the measured parts are too similar, or the measuring personnel may manually input incorrect data without following the specified measurement value. To make up for this defect, this measurement auxiliary system integrates visual recognition with the measurement system, and uses visual recognition to judge the part part, measuring tool and posture.

雖然本發明以前述實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,所作更動與潤飾之等效替換,仍為本發明之專利保護範圍內。Although the present invention is disclosed as above with the aforementioned embodiments, they are not used to limit the present invention. Any person skilled in the art can make changes and modifications without departing from the spirit and scope of the present invention, and the equivalent substitutions are still within the scope of patent protection of the present invention.

11      量測平台11      Measurement platform

111         工作區111         Work Area

12      攝影機12      Camera

13      伺服器模組13      Server Module

131         處理單元131 Processing unit

14      顯示模組14      Display module

15      輸入模組15 Input module

16      判斷模組16      Judgment module

S210~S280         步驟流程S210~S280         Steps

圖1是根據本發明之一種量測輔助系統的方塊圖;FIG1 is a block diagram of a measurement assistance system according to the present invention;

圖2是根據本發明之一種量測輔助方法的步驟流程圖;FIG2 is a flow chart of the steps of a measurement auxiliary method according to the present invention;

圖3是根據本發明之一種量測輔助方法一實施例的判斷流程示意圖。FIG3 is a schematic diagram of a determination process according to an embodiment of a measurement auxiliary method of the present invention.

11     量測平台 111   工作區 12     攝影機 13     伺服器模組 131   處理單元 14     顯示模組 15     輸入模組 16     判斷模組 11     Measurement platform 111   Work area 12     Camera 13     Server module 131   Processing unit 14     Display module 15     Input module 16     Judgment module

Claims (10)

一種量測輔助系統,包括:一量測平台,具有一工作區,用以供放置一待測物及至少一量具;至少一攝影機,設置於該量測平台上,用以取得一量測影像;以及一伺服器模組,電性連接該些攝影機,依據該量測影像透過一量具外觀標準模型、一量測部位標準模型、以及一量測姿勢標準模型分別執行一量具辨識程序、一量測部位辨識程序、以及一量測姿勢辨識程序,並取得該些量具對應的一量具外觀影像、該待測物的一量測部位影像、以及一量測者的一量測姿勢影像,用以比對該量具外觀影像、該量測部位影像、以及該量測姿勢影像是否正確;其中,該伺服器模組具有一處理單元,當該量具外觀影像、該量測部位影像、以及該量測姿勢影像均正確時,依據一量測數據產生一量測結果;其中,該量具外觀標準模型、該量測部位標準模型、以及該量測姿勢標準模型透過預先搭建的一深度學習神經網路框架進行訓練,該深度學習神經網路框架包括Tensorflow object detection演算法,用以進行物件辨識,辨識該些量具、HU Moment演算法,用以描述及比較物件的相似度,並比對該量具外觀影像、TensorFlow CNN演算法和MediaPipe hand演算法,用以將該量測姿勢影像分為 複數個特徵點,並由該些特徵點將手部姿勢與手指角度得出,利用手部姿勢進行是否抓取量具的依據。 A measurement auxiliary system includes: a measurement platform having a work area for placing a to-be-measured object and at least one measuring tool; at least one camera, disposed on the measurement platform, for obtaining a measurement image; and a server module, electrically connected to the cameras, for executing a measuring tool recognition program, a measurement part recognition program, and a measurement posture recognition program respectively according to the measurement image through a measuring tool appearance standard model, a measurement part standard model, and a measurement posture standard model, and obtaining a measuring tool appearance image corresponding to the measuring tools, a measurement part image of the to-be-measured object, and a measurement posture image of a measurer, for comparing the appearance image of the measuring tool, the measurement part image, and the measurement posture image to see if they are correct; wherein the server module has a processing unit, and when the appearance image of the measuring tool, the measurement part image, and the measurement posture image are all correct, a measurement result is generated according to a measurement data; wherein the appearance standard model of the measuring tool, the measurement part standard model, and the measurement posture standard model are trained by a pre-built deep learning neural network framework, and the deep learning neural network framework includes Tensorflow The object detection algorithm is used to identify objects and the measuring tools. The HU Moment algorithm is used to describe and compare the similarity of objects and compare the appearance image of the measuring tool. The TensorFlow CNN algorithm and the MediaPipe hand algorithm are used to divide the measurement posture image into multiple feature points. The hand posture and finger angle are derived from these feature points, and the hand posture is used to determine whether to grasp the measuring tool. 如申請專利範圍第1項所述的量測輔助系統,其中該量測輔助系統更包括一顯示模組,該顯示模組位於該工作區,用以顯示一量測資訊。 The measurement auxiliary system as described in item 1 of the patent application scope, wherein the measurement auxiliary system further includes a display module, the display module is located in the working area, and is used to display measurement information. 如申請專利範圍第2項所述的量測輔助系統,其中該量測資訊包括一指定量具、一量測部位、以及該量測結果。 A measurement assistance system as described in item 2 of the patent application, wherein the measurement information includes a specified measuring tool, a measurement location, and the measurement result. 如申請專利範圍第1項所述的量測輔助系統,其中該量測輔助系統更包括一輸入模組,該輸入模組用以取得該量測數據。 The measurement auxiliary system as described in item 1 of the patent application scope, wherein the measurement auxiliary system further includes an input module, and the input module is used to obtain the measurement data. 如申請專利範圍第1項所述的量測輔助系統,其中該量測輔助系統更包括一判斷模組,該判斷模組用以判斷該量測數據是否符合一預設閾值範圍。 As described in item 1 of the patent application scope, the measurement auxiliary system further includes a judgment module, which is used to judge whether the measurement data meets a preset threshold range. 如申請專利範圍第1項所述的量測輔助系統,其中該些量具包括一有線量具和/或一無線量具,該無線量具具有相對應的一量測數據接收單元。 As described in item 1 of the patent application scope, the measuring tools include a wired measuring tool and/or a wireless measuring tool, and the wireless measuring tool has a corresponding measurement data receiving unit. 如申請專利範圍第1項所述的量測輔助系統,其中該量具外觀標準模型以Tensorflow object detection演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。 As described in item 1 of the patent application scope, the measurement auxiliary system, wherein the gauge appearance standard model uses the Tensorflow object detection algorithm as a deep learning neural network framework and is a neural network-like model trained by deep learning. 如申請專利範圍第1項所述的量測輔助系統,其中該量測部位標準模型以HU Moment演算法以及TensorFlow CNN演算法作為深度學習神經網路框架,並以深度學習方式訓練出的類神經網路模型。 As described in the first item of the patent application scope, the measurement auxiliary system, wherein the measurement part standard model uses the HU Moment algorithm and the TensorFlow CNN algorithm as the deep learning neural network framework, and is a neural network-like model trained by deep learning. 如申請專利範圍第1項所述的量測輔助系統,其中該量測姿勢標準模型以MediaPipe hand演算法作為手部辨識之方法。 The measurement assistance system as described in item 1 of the patent application scope, wherein the measurement posture standard model uses the MediaPipe hand algorithm as a method for hand recognition. 一種量測輔助方法,適用於請求項1至請求項9中任一項的量測輔助系統,其中該量測輔助方法,包含下列步驟:透過一顯示模組顯示一量測資訊;以至少一攝影機持續取得一工作區的一量測影像;透過一伺服器模組,依據該量測影像,透過一量具外觀標準模型執行一量具辨識程序,取得一量具外觀影像,並與該量測資訊比對;當該量具外觀影像正確時,依據該量測影像,透過一量測部位標準模型執行一量測部位辨識程序,取得一量測部位影像,並與該量測資訊比對;當該量測部位影像正確時,依據該量測影像,透過一量測姿勢標準模型執行一量測姿勢辨識程序,取得一量測姿勢影像,並與該量測資訊比對;當該量測姿勢影像正確時,透過一輸入模組取得一量測數據;通過一判斷模組判斷該量測數據是否符合一預設閾值範圍;以及當該量測數據符合該預設閾值範圍時,透過一處理單元依據該量測數據產生一量測結果;其中,該量具外觀標準模型、該量測部位標準模型、以及該量測姿勢標準模型透過預先搭建的一深度學習神經網路框架進行訓練,該深度學習神經網路框架包括Tensorflow object detection演算法,用以進行物件辨識,辨識該些量具、HU Moment演算法,用以描述及比較物件的相似度,並比對該量具外觀影像、TensorFlow CNN演算法和MediaPipe hand演算 法,用以將該量測姿勢影像分為複數個特徵點,並由該些特徵點將手部姿勢與手指角度得出,利用手部姿勢進行是否抓取量具的依據。 A measurement assistance method is applicable to the measurement assistance system of any one of claim 1 to claim 9, wherein the measurement assistance method comprises the following steps: displaying measurement information through a display module; continuously acquiring a measurement image of a work area through at least one camera; executing a measurement tool recognition program through a measurement tool appearance standard model according to the measurement image through a server module to acquire a measurement tool appearance image, and compare it with the measurement information; when the measurement tool appearance image is correct, executing a measurement part recognition program through a measurement part standard model according to the measurement image to acquire a measurement part image, and compare it with the measurement information; when the measurement part image is correct, executing a measurement part recognition program through a measurement part standard model according to the measurement image to acquire a measurement part image, and compare it with the measurement information; The measurement image executes a measurement posture recognition procedure through a measurement posture standard model to obtain a measurement posture image and compare it with the measurement information; when the measurement posture image is correct, a measurement data is obtained through an input module; a judgment module is used to judge whether the measurement data meets a preset threshold range; and when the measurement data meets the preset threshold range, a measurement result is generated according to the measurement data through a processing unit; wherein the gauge appearance standard model, the measurement part standard model, and the measurement posture standard model are trained through a pre-built deep learning neural network framework, and the deep learning neural network framework includes Tensorflow The object detection algorithm is used to identify objects and the measuring tools. The HU Moment algorithm is used to describe and compare the similarity of objects and compare the appearance image of the measuring tool. The TensorFlow CNN algorithm and the MediaPipe hand algorithm are used to divide the measurement posture image into multiple feature points, and the hand posture and finger angle are obtained from these feature points. The hand posture is used as the basis for grasping the measuring tool.
TW111146448A 2022-12-02 2022-12-02 A measurement assistance system and method TWI850888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111146448A TWI850888B (en) 2022-12-02 2022-12-02 A measurement assistance system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111146448A TWI850888B (en) 2022-12-02 2022-12-02 A measurement assistance system and method

Publications (2)

Publication Number Publication Date
TW202424822A TW202424822A (en) 2024-06-16
TWI850888B true TWI850888B (en) 2024-08-01

Family

ID=92539786

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111146448A TWI850888B (en) 2022-12-02 2022-12-02 A measurement assistance system and method

Country Status (1)

Country Link
TW (1) TWI850888B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7138653B1 (en) * 2000-06-08 2006-11-21 Micron Technology, Inc. Structures for stabilizing semiconductor devices relative to test substrates and methods for fabricating the stabilizers
TW200825426A (en) * 2005-12-02 2008-06-16 Formfactor Inc Apparatus and method for adjusting an orientation of probes
CN101702010A (en) * 2009-10-20 2010-05-05 河北工业大学 Magnetic field measurement device based on vision-guided robot
TW201800769A (en) * 2015-12-18 2018-01-01 塔拉檢視有限公司 Automated test system for integrated circuits
CN112518748A (en) * 2020-11-30 2021-03-19 广东工业大学 Automatic grabbing method and system of vision mechanical arm for moving object

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7138653B1 (en) * 2000-06-08 2006-11-21 Micron Technology, Inc. Structures for stabilizing semiconductor devices relative to test substrates and methods for fabricating the stabilizers
TW200825426A (en) * 2005-12-02 2008-06-16 Formfactor Inc Apparatus and method for adjusting an orientation of probes
CN101702010A (en) * 2009-10-20 2010-05-05 河北工业大学 Magnetic field measurement device based on vision-guided robot
TW201800769A (en) * 2015-12-18 2018-01-01 塔拉檢視有限公司 Automated test system for integrated circuits
CN112518748A (en) * 2020-11-30 2021-03-19 广东工业大学 Automatic grabbing method and system of vision mechanical arm for moving object

Also Published As

Publication number Publication date
TW202424822A (en) 2024-06-16

Similar Documents

Publication Publication Date Title
CN110634140B (en) Large-diameter tubular object positioning and inner wall defect detection method based on machine vision
CN110045823B (en) A motion-capture-based action guidance method and device
CN103528617B (en) A cockpit instrument automatic identification and detection method and device
CN112258507B (en) Object detection method, device and electronic device for Internet data center
CN113065538B (en) Pressure sensor detection method, device and equipment based on image recognition
CN104665836A (en) length measuring method and length measuring device
CN105894002A (en) Instrument reading identification method based on machine vision
CN117152152B (en) Production management system and method for detection kit
CN116839650B (en) An intelligent instrument calibration system and method
CN110991292A (en) Action recognition comparison method, system, computer storage medium and electronic device
WO2024140268A1 (en) Finger interaction trajectory acquisition method and system, and storage medium
CN119880916A (en) Aluminum ingot surface defect detection method and system based on vision acquisition
CN112001880A (en) A method and device for detecting characteristic parameters of plane components
WO2021130978A1 (en) Motion analysis system and motion analysis program
TWI850888B (en) A measurement assistance system and method
CN116725546A (en) Digital electrocardiograph verification method based on deep learning and corner detection
CN120213101A (en) An automatic calibration device for multi-parameter monitor
US12356064B2 (en) Measurement assistance system and method
CN112633143A (en) Image processing system, method, head-mounted device, processing device, and storage medium
CN111723688A (en) Evaluation method, device and electronic device for human action recognition results
US12198419B2 (en) Measurement system and program
CN116593026A (en) A distributed optical fiber sensing system and sensing method thereof
CN117095236A (en) A method and system for evaluating the accuracy of impeller groove testing
CN206400542U (en) Simple cloud medical sensor
CN117451724A (en) Appearance quality inspection method, device and electronic equipment for finished cigarettes