TWI827435B - A urination detection method and system - Google Patents

A urination detection method and system Download PDF

Info

Publication number
TWI827435B
TWI827435B TW112100636A TW112100636A TWI827435B TW I827435 B TWI827435 B TW I827435B TW 112100636 A TW112100636 A TW 112100636A TW 112100636 A TW112100636 A TW 112100636A TW I827435 B TWI827435 B TW I827435B
Authority
TW
Taiwan
Prior art keywords
urination
information
image information
coordinate
human body
Prior art date
Application number
TW112100636A
Other languages
Chinese (zh)
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 TW112100636A priority Critical patent/TWI827435B/en
Application granted granted Critical
Publication of TWI827435B publication Critical patent/TWI827435B/en

Links

Abstract

The present invention provides a urination detection method and system, which acquires a urination image information by a capture unit, and transmits the urination test result to a cloud database through an identification module, so as to record the urination situation of the user in daily life in detail, and provide the real-time urination health assessment, so that a physician can receive the patient's urination information in real time.

Description

排尿檢測方法及其系統Urine detection method and system

一種排尿健康評估方法,特別是涉及一種排尿檢測方法及其系統。 A urination health assessment method, in particular, relates to a urination detection method and its system.

根據衛福部統計指出,70歲以上男性患有急性尿滯留約有10%,而80歲以上男性更是超過33%,且,於110年度全民健康保險醫療統計年報中可知,泌尿系統疾病於40-49歲的就診人數約為33萬名左右,於50-59歲的就診人數約為39萬名左右,且,於60-69歲的就診人數更是高達45萬名左右,其中,泌尿系統疾病常合併下泌尿道系統症狀,例如:頻尿、急尿、解尿困難不順、尿失禁、尿滯留,影響其生活品質,為一嚴重的公共衛生問題,待一非侵入性排尿檢測方法來鑑別診斷。 According to statistics from the Ministry of Health and Welfare, about 10% of men over 70 years old suffer from acute urinary retention, and more than 33% of men over 80 years old suffer from acute urinary retention. Moreover, according to the National Health Insurance Medical Statistics Annual Report in 2011, urinary system diseases started in the 40s. -The number of medical consultations for 49-year-olds is about 330,000, the number of medical consultations for 50-59-year-olds is about 390,000, and the number of medical consultations for 60-69-year-olds is as high as about 450,000, among which urinary system The disease is often associated with symptoms of the lower urinary tract system, such as frequent urination, urgent urination, difficulty in urinating, urinary incontinence, and urinary retention, which affects the quality of life. It is a serious public health problem and awaits the development of a non-invasive urine detection method. Differential diagnosis.

現行就診方式,係由泌尿科醫師診斷病患排尿狀況的方法為定期要求病患回診後再以問卷,例如:IPSS(International Prostate Symptom Score)、VAUS(Visual Analogue Uroflowmetry Score),並搭配尿流速檢查(Uroflowmetry)進行排尿健康診斷,但其問卷方式無法客觀表明實際的排尿狀況,同時,實際上病患確實難以記住整個月的排尿狀況,進而導致問卷問診的方式往往流於形式。 The current method of diagnosis is for urologists to diagnose patients' urinary status by regularly asking patients to return for consultation and then taking questionnaires, such as: IPSS (International Prostate Symptom Score), VAUS (Visual Analogue Uroflowmetry Score), combined with urine flow rate examination. (Uroflowmetry) is used to diagnose urinary health, but its questionnaire method cannot objectively indicate the actual urinary status. At the same time, it is actually difficult for patients to remember their urinary status throughout the month, which makes the questionnaire method often a mere formality.

尿流速檢查(Uroflowmetry)是一種以尿流記錄儀描繪排尿過程的連續尿流率數值曲線,可得到尿流速圖形、排尿量、尿流時間以及尿流速率(最大、平均)等資訊,惟此種檢查僅能讓病患於醫院時進行排尿,並透過其取得之尿流速與尿流量再進行分析,受限於檢查場地及時間,且,現行的尿流速檢查必須排尿於特定容器內才能測量,倘若行動不便的患者亦難以配合檢查,為此,如何使病患可以詳實紀錄於日常生活的排尿情形,並即時進行排尿健康評估為相當重要的議題。 Uroflowmetry is a continuous urinary flow rate curve that uses a urinary flow recorder to depict the urination process. It can obtain information such as urinary flow rate graphics, urinary volume, urinary flow time, and urinary flow rate (maximum, average). This type of examination can only allow patients to urinate in the hospital, and then analyze the urine flow rate and urine flow rate obtained by it. It is limited by the examination location and time. Moreover, the current urine flow velocity examination can only be measured after urinating in a specific container. , if it is difficult for patients with limited mobility to cooperate with the examination, therefore, how to enable patients to record their urination situations in daily life in detail and conduct immediate urinary health assessment is a very important issue.

本發明之主要目的,係提供一種排尿檢測方法,其以排尿影像資訊之座標值進行運算,而可產生排尿檢測結果,大幅提升檢查精準度。 The main purpose of the present invention is to provide a urination detection method that calculates the coordinate values of urination image information to generate urination detection results and greatly improve the accuracy of the examination.

本發明之另一目的,係提供一種排尿檢測系統,其設置擷取單元於浴廁內,以取得排尿影像資訊,並透過辨識模組將其排尿檢測結果傳輸至雲端資料庫,使得醫師可實時掌握患者排尿資訊,且不侷限於檢測地點與時間。 Another object of the present invention is to provide a urination detection system that installs an acquisition unit in the bathroom and toilet to obtain urination image information, and transmits the urination detection results to a cloud database through the recognition module, so that doctors can obtain real-time information. Obtain patient urination information, not limited to testing location and time.

為了達到上述之目的,本發明之一實施例係揭示一種排尿檢測方法,步驟包含:擷取一排尿影像資訊;標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊;計算該些個座標資訊,產生一排尿角度資訊及一排尿距離資訊;及以一演算法運算該排尿角度資訊與該排尿距離資訊,產生一排尿檢測結果。 In order to achieve the above object, one embodiment of the present invention discloses a urination detection method. The steps include: acquiring a urination image information; marking a position of the urination image information, and obtaining a plurality of coordinate information corresponding to the position; calculating The coordinate information generates urination angle information and urination distance information; and an algorithm is used to calculate the urination angle information and the urination distance information to generate a urination detection result.

於較佳實施例中,於標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊之步驟中,該定位包含一人體關節點及一排尿軌跡,該些個座標資訊包含一人體關節點座標值及一排尿軌跡座標值。 In a preferred embodiment, in the step of marking a position of the urination image information and obtaining a plurality of coordinate information corresponding to the position, the position includes a human body joint point and a urination trajectory, and the coordinate information includes a The coordinates of human body joint points and the coordinates of a urination trajectory.

於較佳實施例中,於以一演算法運算該排尿角度資訊與該排尿距離資訊,產生一排尿檢測結果之步驟中,以一尿速儀資訊建立一訓練模型,該訓練模型以該演算法與該排尿角度資訊及該排尿距離資訊進行運算,產生該排尿檢測結果。 In a preferred embodiment, in the step of using an algorithm to calculate the urination angle information and the urination distance information to generate a urination detection result, a training model is established using a tachometer information, and the training model uses the algorithm The urination angle information and the urination distance information are calculated to generate the urination detection result.

於較佳實施例中,該演算法為隱藏式馬可夫模型(Hidden Markov Model,HMM)。 In a preferred embodiment, the algorithm is a Hidden Markov Model (HMM).

於較佳實施例中,於標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊之步驟中,輸入複數個人體影像資訊進行深度學習,以產生一熱影像辨識資訊,依據該排尿影像資訊與該熱影像辨識資訊進行比對,以於該排尿影像資訊標註該定位。 In a preferred embodiment, in the step of marking a position of the urination image information and obtaining a plurality of coordinate information corresponding to the position, a plurality of human body image information is input for deep learning to generate a thermal image recognition information, based on The urination image information is compared with the thermal image identification information to mark the position in the urination image information.

為了達到上述之另一目的,本發明之一實施例係揭示一種排尿檢測系統,包含:一擷取單元,擷取一排尿影像資訊;及一辨識模組,分別與該擷取單元及一雲端資料庫訊號連接,依據該排尿影像資訊進行運算,產生並傳輸一排尿檢測結果至該雲端資料庫。 In order to achieve another of the above objectives, one embodiment of the present invention discloses a urination detection system, which includes: a capture unit to capture urination image information; and an identification module that is connected to the capture unit and a cloud respectively. The database signal connection performs calculations based on the urination image information, generates and transmits a urination test result to the cloud database.

於較佳實施例中,該辨識模組係依據該排尿影像資訊標註該排尿影像資訊之一定位,取得並依據對應該定位之複數個座標資訊進行運算,產生一排尿角度資訊及一排尿距離資訊,並依據該排尿角度資訊及該排尿距離資訊產生該排尿檢測結果。 In a preferred embodiment, the identification module marks a position of the urination image information based on the urination image information, obtains and performs calculations based on a plurality of coordinate information corresponding to the position, and generates urination angle information and urination distance information. , and generate the urination test result based on the urination angle information and the urination distance information.

於較佳實施例中,該定位包含一人體關節點及一排尿軌跡,該些個座標資訊包含一人體關節點座標值及一排尿軌跡座標值。 In a preferred embodiment, the positioning includes a human body joint point and a urination trajectory, and the coordinate information includes a human body joint point coordinate value and a urination trajectory coordinate value.

於較佳實施例中,包含一自動升降裝置,與該辨識模組訊號連接,該自動升降裝置係承載該擷取單元,並依據該人體關節點座標值調整該自動升降裝置之一高度。 In a preferred embodiment, an automatic lifting device is included, which is signal-connected to the identification module. The automatic lifting device carries the capturing unit, and adjusts the height of the automatic lifting device according to the coordinate values of the human body joint points.

於較佳實施例中,該擷取單元為紅外線熱成像儀。 In a preferred embodiment, the capture unit is an infrared thermal imager.

本發明之有益功效在於不須設限於檢測的地點,可隨著不同使用者所使用的浴廁位置進行設置,並透過取得之排尿影像資訊,自動化運算並產生排尿檢測結果,提升檢測精準度。 The beneficial effect of the present invention is that it does not need to be limited to the detection location, and can be set according to the location of the bathroom used by different users. Through the obtained urination image information, it can automatically calculate and generate urination detection results to improve detection accuracy.

1:擷取單元 1: Capture unit

2:辨識模組 2:Identification module

3:自動升降裝置 3: Automatic lifting device

4:雲端資料庫 4: Cloud database

D:排尿距離資訊 D: Urinating distance information

J0:鼻部 J0: nose

J1:左眼部 J1:Left eye

J2:右眼部 J2: Right eye

J3:左耳部 J3: Left ear

J4:右耳部 J4: Right ear

J5:左肩部 J5:Left shoulder

J6:右肩部 J6: Right shoulder

J7:左肘部 J7:Left elbow

J8:右肘部 J8: Right elbow

J9:左腕部 J9:Left wrist

J10:右腕部 J10: Right wrist

J11:左髖部 J11: Left hip

J12:右髖部 J12: Right hip

J13:左膝部 J13:Left knee

J14:右膝部 J14: Right knee

J15:左踝部 J15:Left ankle

J16:右踝部 J16: Right ankle

M:座標 M: coordinates

R:最終座標點 R: final coordinate point

S:解尿起始點 S: starting point of urination

S1:步驟 S1: Steps

S2:步驟 S2: Step

S3:步驟 S3: Steps

S4:步驟 S4: Steps

VL:垂直線 V L : vertical line

θ:排尿角度資訊 θ: urination angle information

第一圖:其為本發明之一實施例之系統示意圖;第二圖:其為本發明之一實施例之方法流程圖;第三A圖:其為本發明之一實施例之人體關節點示意圖;第三B圖:其為本發明之一實施例之運算示意圖;第四A圖:其為本發明之一實施例之受測者1之排尿檢測實驗結果圖;第四B圖:其為本發明之一實施例之受測者2之排尿檢測實驗結果圖;第四C圖:其為本發明之一實施例之受測者3之排尿檢測實驗結果圖;第四D圖:其為本發明之一實施例之受測者4之排尿檢測實驗結果圖;第四E圖:其為本發明之一實施例之受測者5之排尿檢測實驗結果圖;第四F圖:其為本發明之一實施例之受測者6之排尿檢測實驗結果圖;第四G圖:其為本發明之一實施例之受測者7之排尿檢測實驗結果圖;第四H圖:其為本發明之一實施例之受測者8之排尿檢測實驗結果圖; 第五A圖:其為本發明之一實施例之受測者1之Uroflowmetry結果圖;第五B圖:其為本發明之一實施例之受測者2之Uroflowmetry結果圖;第五C圖:其為本發明之一實施例之受測者3之Uroflowmetry結果圖;第五D圖:其為本發明之一實施例之受測者4之Uroflowmetry結果圖;第五E圖:其為本發明之一實施例之受測者5之Uroflowmetry結果圖;第五F圖:其為本發明之一實施例之受測者6之Uroflowmetry結果圖;第五G圖:其為本發明之一實施例之受測者7之Uroflowmetry結果圖;第五H圖:其為本發明之一實施例之受測者8之Uroflowmetry結果圖;第五I圖:其為本發明之一實施例之受測者9之Uroflowmetry結果圖;第五J圖:其為本發明之一實施例之受測者10之Uroflowmetry結果圖;第五K圖:其為本發明之一實施例之受測者11之Uroflowmetry結果圖;第五L圖:其為本發明之一實施例之受測者12之Uroflowmetry結果圖;第五M圖:其為本發明之一實施例之受測者13之Uroflowmetry結果圖;第五N圖:其為本發明之一實施例之受測者14之Uroflowmetry結果圖;第五O圖:其為本發明之一實施例之受測者15之Uroflowmetry結果圖;及第五P圖:其為本發明之一實施例之受測者16之Uroflowmetry結果圖。 The first picture: It is a system schematic diagram of an embodiment of the present invention; The second picture: It is a method flow chart of an embodiment of the present invention; The third picture A: It is a human body joint point of an embodiment of the present invention Schematic diagram; Figure 3B: It is a schematic diagram of the operation of one embodiment of the present invention; Figure 4A: It is a diagram of the urination detection experiment results of subject 1 according to one embodiment of the present invention; Figure 4B: It is It is a picture of the urination detection experiment results of subject 2 according to one embodiment of the present invention; the fourth picture C: it is the result picture of the urination detection experiment of subject 3 according to one embodiment of the present invention; the fourth picture D: it is It is a picture of the urination test results of subject 4 according to one embodiment of the present invention; the fourth picture E: it is a picture of the results of the urination test of subject 5 according to one embodiment of the present invention; the fourth picture F: it is It is a picture of the urination detection experiment results of subject 6 according to one embodiment of the present invention; the fourth picture G: it is a picture of the urination detection experiment results of subject 7 according to one embodiment of the present invention; the fourth picture H: it is This is a diagram showing the results of the urination detection experiment of subject 8 according to one embodiment of the present invention; Figure 5A: It is the Uroflowmetry result graph of subject 1 according to one embodiment of the present invention; Figure 5B: It is the Uroflowmetry result graph of subject 2 according to one embodiment of the present invention; Figure 5C : It is the Uroflowmetry result diagram of subject 3 according to one embodiment of the present invention; The fifth D diagram is the Uroflowmetry result diagram of subject 4 according to one embodiment of the present invention; The fifth E diagram is the Uroflowmetry result diagram of subject 3 according to one embodiment of the present invention; The Uroflowmetry result chart of subject 5 according to one embodiment of the invention; the fifth F chart: it is the Uroflowmetry result chart of subject 6 according to one embodiment of the present invention; the fifth G chart: it is one implementation of the present invention. For example, the Uroflowmetry result chart of subject 7; Figure 5H: It is the Uroflowmetry result chart of subject 8 according to one embodiment of the present invention; Figure 5I: It is the Uroflowmetry result chart of subject 8 according to one embodiment of the present invention. Figure 9 is a Uroflowmetry result graph; Figure 5J is a Uroflowmetry result graph of subject 10 according to one embodiment of the present invention; Figure 5K is a Uroflowmetry result graph for subject 11 according to one embodiment of the present invention. The result graph; the fifth L graph: it is the Uroflowmetry result graph of the subject 12 in one embodiment of the present invention; the fifth M graph: it is the Uroflowmetry result graph of the subject 13 in one embodiment of the present invention; Figure 5N: It is the Uroflowmetry result graph of the subject 14 in one embodiment of the present invention; Figure 5O: It is the Uroflowmetry result graph of the subject 15 in one embodiment of the present invention; and Figure 5P : This is the Uroflowmetry result chart of subject 16 according to one embodiment of the present invention.

為讓本發明上述及/或其他目的、功效、特徵更明顯易懂,下文特舉較佳實施方式,作詳細說明於下: In order to make the above and/or other objects, effects, and features of the present invention more obvious and understandable, the following is a detailed description of the preferred embodiments:

請參閱第一圖,其為本發明之一實施例之系統示意圖。如圖所示,本發明之一實施例之排尿檢測系統,其包含:擷取單元1、辨識模組2、自動升降 裝置3及雲端資料庫4,辨識模組2分別與擷取單元1、自動升降裝置3及雲端資料庫4訊號連接,並詳細說明其作動方式如下: Please refer to the first figure, which is a system schematic diagram of an embodiment of the present invention. As shown in the figure, a urination detection system according to one embodiment of the present invention includes: a capture unit 1, an identification module 2, an automatic lifting unit Device 3 and cloud database 4, identification module 2 are connected to the acquisition unit 1, automatic lifting device 3 and cloud database 4 respectively, and their operation methods are described in detail as follows:

擷取單元1包含但不僅限於紅外線熱成像儀,於一實施例中,擷取單元1係設置於使用者所使用之浴廁,以擷取使用者排尿時之排尿影像資訊,但不在此限。 The capture unit 1 includes but is not limited to an infrared thermal imager. In one embodiment, the capture unit 1 is installed in the bathroom used by the user to capture urination image information when the user urinates, but this is not limited to this. .

辨識模組2包含但不僅限於AI邊緣運算平台,於一實施例中,辨識模組2係依據排尿影像資訊標註排尿影像資訊之定位,其中,定位包含人體關節點及排尿軌跡,並取得對應定位之複數個座標資訊,其中,該些個座標資訊包含人體關節點座標值及排尿軌跡座標值,並由該些個座標資訊進行運算,產生排尿檢測結果,於一實施例中,排尿檢測結果為排尿異常時,即表示隨時會有急性尿滯留發生的可能性,但不在此限。 The recognition module 2 includes but is not limited to an AI edge computing platform. In one embodiment, the recognition module 2 annotates the position of the urination image information based on the urination image information, where the positioning includes human body joint points and urination trajectories, and obtains the corresponding position. A plurality of coordinate information, wherein the coordinate information includes human body joint point coordinate values and urination trajectory coordinate values, and the coordinate information is calculated to generate a urination detection result. In one embodiment, the urination detection result is Abnormal urination means that there is a possibility of acute urinary retention at any time, but this is not the case.

自動升降裝置3係承載擷取單元1,並依據人體關節點座標值調整自動升降裝置之高度,於一實施例中,最佳情形下,擷取單元1設置位置係與人體之腰部平行,因此可將擷取單元1裝載於自動升降裝置3上,並於擷取影像資訊後,依據人體關節點座標點將擷取單元1的位置調整至最適合人體的高度,但不在此限。 The automatic lifting device 3 carries the capturing unit 1 and adjusts the height of the automatic lifting device according to the coordinates of the joint points of the human body. In one embodiment, under the best circumstances, the capturing unit 1 is set parallel to the waist of the human body. Therefore, The capture unit 1 can be loaded on the automatic lifting device 3, and after capturing the image information, the position of the capture unit 1 can be adjusted to the most suitable height for the human body based on the coordinate points of the joint points of the human body, but this is not limited to this.

更進一步的,更可將排尿檢測結果上傳至雲端資料庫4,此時,醫療人員能夠連結至雲端資料庫4查看患者之排尿檢測結果,一旦出現異常情形,即可通知患者至醫療院所就診,以避免尿滯留情形惡化。 Furthermore, the urination test results can be uploaded to the cloud database 4. At this time, the medical staff can connect to the cloud database 4 to view the patient's urination test results. Once an abnormality occurs, the patient can be notified to a medical institution for treatment. to avoid worsening of urinary retention.

請一併參閱第二圖,其為本發明之一實施例之方法流程圖。如圖所示,本發明之一實施例之排尿檢測方法,其步驟如下:步驟S1:擷取一排尿影像資訊; 步驟S2:標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊;步驟S3:計算該些個座標資訊,產生一排尿角度資訊及一排尿距離資訊;及步驟S4:以一演算法運算該排尿角度資訊與該排尿距離資訊,產生一排尿檢測結果。 Please also refer to the second figure, which is a method flow chart according to an embodiment of the present invention. As shown in the figure, the steps of the urination detection method according to one embodiment of the present invention are as follows: Step S1: Acquire urination image information; Step S2: Mark a position of the urination image information, and obtain a plurality of coordinate information corresponding to the position; Step S3: Calculate the coordinate information to generate a urination angle information and a urination distance information; and Step S4: Use a The algorithm calculates the urination angle information and the urination distance information to generate a urination detection result.

如步驟S1所示,以擷取單元1擷取排尿影像資訊,當擷取單元1為紅外線熱成像儀時,排尿影像資訊則為熱影像形式呈現,其中,紅外線熱成像儀係以輻射能量轉換為電訊號,採用多種不同的顏色顯示出不同溫度的分佈,使整個溫度分布狀態以可視圖像顯示出來,如此一來,亦兼具隱私權問題,但不在此限。 As shown in step S1, the urination image information is captured by the capture unit 1. When the capture unit 1 is an infrared thermal imager, the urination image information is presented in the form of a thermal image. The infrared thermal imager converts radiation energy into As an electrical signal, a variety of different colors are used to display the distribution of different temperatures, so that the entire temperature distribution state is displayed as a visible image. This also has privacy issues, but is not limited to this.

如步驟S2所示,當取得人體之排尿影像資訊時,由擷取單元1將排尿影像資訊傳輸至辨識模組2,接收排尿影像資訊後,對應標註排尿影像資訊之定位,此一定位包含但不僅限於人體關節點及排尿軌跡,人體關節點以十七個關節點為例,參閱第三A圖,其為本發明之一實施例之人體關節點示意圖。如圖所示,鼻部J0、左眼部J1、右眼部J2、左耳部J3、右耳部J4、左肩部J5、右肩部J6、左肘部J7、右肘部J8、左腕部J9、右腕部J10、左髖部J11、右髖部J12、左膝部J13、右膝部J14、左踝部J15、右踝部J16,並於該些定位進行關節點之標註給予座標值,但不在此限。 As shown in step S2, when the urination image information of the human body is obtained, the acquisition unit 1 transmits the urination image information to the identification module 2. After receiving the urination image information, the position of the urination image information is correspondingly marked. This positioning includes but It is not limited to human body joint points and urination trajectories. The human body joint points include seventeen joint points as an example. Refer to Figure 3A, which is a schematic diagram of human body joint points according to an embodiment of the present invention. As shown in the figure, nose J0, left eye J1, right eye J2, left ear J3, right ear J4, left shoulder J5, right shoulder J6, left elbow J7, right elbow J8, left wrist J9, right wrist J10, left hip J11, right hip J12, left knee J13, right knee J14, left ankle J15, right ankle J16, and label the joint points at these positions and give coordinate values. But this is not the case.

更進一步的,於一實施例中,將輸入複數個人體影像資訊進行深度學習,該些個人體影像資訊可為熱影像形式呈現,其中,深度學習方法例如採用資料增強(Data augmentation)擴展訓練資料集,其以隨機縮放(Random scale)、 隨機旋轉(Random rotation)以及隨機剪裁(Random crop)讓原始資料集之樣本數擴增成原本的4倍,而生成混合資料集,再將混合資料集匯入適用於辨識人體軀幹之RGB影像中的Open Pose模組重新進行模組訓練,以產生熱影像辨識資訊,即可以辨識熱影像軀幹之熱影像軀幹辨識模組,此時,再依據接收之排尿影像資訊與產生之熱影像辨識資訊進行比對,以利於排尿影像資訊標註定位,並取得對應定位之複數個座標資訊,但不在此限。 Furthermore, in one embodiment, a plurality of human body image information will be input for deep learning. The human body image information can be presented in the form of thermal images. The deep learning method, for example, uses data augmentation to expand the training data. set, which is scaled randomly (Random scale), Random rotation and random crop increase the number of samples in the original data set by 4 times to generate a mixed data set, and then import the mixed data set into an RGB image suitable for identifying the human torso. The Open Pose module re-trains the module to generate thermal image recognition information, that is, the thermal image torso recognition module can recognize the thermal image torso. At this time, it performs the process based on the received urination image information and the generated thermal image recognition information. Comparison is used to facilitate annotation and positioning of urination image information and to obtain multiple coordinate information corresponding to the positioning, but this is not limited to this.

如步驟S3所示,於一實施例中,請一併參閱第三B圖,其為本發明之一實施例之運算示意圖。如圖所示,係採用尿流辨識演算法計算該些個座標資訊,以計算出排尿角度資訊θ及排尿距離資訊D,首先,於排尿影像中間給予垂直線VL,並將排尿影像區分為左區及右區,於左區中尿液進入馬桶內的最終座標點R(XR,YR),即影像中溫度最高,且於Y座標軸上最小值之位置,接續於右區中,以左腕部J9的X座標軸之數值與左髖部J11的Y座標軸之數值作為解尿起始點S(XJ9,YJ11),再將左腕部J9的X座標軸之數值與最終座標點R的Y座標軸之數值定義為座標M(XJ9,YR),其中,排尿距離資訊D及排尿角度資訊θ計算公式如下:

Figure 112100636-A0305-02-0010-1
As shown in step S3, in one embodiment, please also refer to Figure 3B, which is a schematic diagram of an operation of one embodiment of the present invention. As shown in the figure, the urinary flow recognition algorithm is used to calculate these coordinate information to calculate the urination angle information θ and urination distance information D. First, a vertical line V L is given in the middle of the urination image, and the urination image is divided into In the left area and the right area, the final coordinate point R (X R , Y R ) where urine enters the toilet in the left area is the position with the highest temperature in the image and the minimum value on the Y coordinate axis, continuing in the right area, Use the value of the X coordinate axis of the left wrist J9 and the value of the Y coordinate axis of the left hip J11 as the starting point S (X J9 , Y J11 ), and then compare the value of the X coordinate axis of the left wrist J9 with the value of the final coordinate point R The value of the Y coordinate axis is defined as the coordinate M (X J9 , Y R ), where the urination distance information D and urination angle information θ are calculated as follows:
Figure 112100636-A0305-02-0010-1

Figure 112100636-A0305-02-0010-2
Figure 112100636-A0305-02-0010-2

Figure 112100636-A0305-02-0010-3
Figure 112100636-A0305-02-0010-3

透過公式(1)(2)(3),可取得使用者之排尿距離資訊D及排尿角度資訊θ。 Through formula (1)(2)(3), the user's urination distance information D and urination angle information θ can be obtained.

更進一步的,亦可以透過上述的方式取得排尿粗細的座標數值,而取得排尿粗細值,提供更精準的檢測模式,但不在此限。 Furthermore, the coordinate values of the urination thickness can also be obtained through the above method, and the urination thickness value can be obtained to provide a more accurate detection mode, but this is not limited to this.

如步驟S4所示,以演算法將排尿距離資訊D及排尿角度資訊θ進一步進行運算,以產生排尿檢測結果,於一實施例中,演算法可採用隱藏式馬可夫模型(Hidden Markov Model,HMM),其為一種統計模型,假設資料集於多次測試的過程中,每次可擷取n筆排尿資料作為訓練樣本參數,則可得到資料集於每次排尿過程的移動加速度的訓練樣本參數觀察序列O,公式(4)如下:O(m,n)=(O[0][0]O[0][1]…O[0][n]),(O[1][0]O[1][1]…O[1][n]),…,(O[m][0]O[m][1]…O[m][n])...(4) As shown in step S4, the urination distance information D and the urination angle information θ are further calculated using an algorithm to generate a urination detection result. In one embodiment, the algorithm may use a Hidden Markov Model (HMM). , which is a statistical model, assuming that the data set is in the process of multiple tests, and n urination data can be captured each time as training sample parameters, then the training sample parameter observation of the movement acceleration of the data set in each urination process can be obtained Sequence O, formula (4) is as follows: O(m,n)=(O[0][0]O[0][1]…O[0][n]),(O[1][0]O [1][1]…O[1][n]),…,(O[m][0]O[m][1]…O[m][n])…(4)

再經由隱藏式馬可夫模型可得到序列O的HMM初始模型之條件機率為P=(O|λ),其中λ={A,B,π}為HMM初始模型參數,A為轉移機率(Transition Probability);B為發射機率(Emission Probability);π為初始機率(Initial Probability)),HMM初始模型參數更可以導入Uroflowmetry結果,即透過尿速儀資訊建立訓練模型,使其預測模型更加準確。 Then through the hidden Markov model, the conditional probability of the HMM initial model of sequence O can be obtained as P = (O | λ), where λ = {A, B, π} is the HMM initial model parameter, and A is the transition probability (Transition Probability) ; B is the emission probability (Emission Probability); π is the initial probability (Initial Probability)). The HMM initial model parameters can also be imported into the Uroflowmetry results, that is, a training model is established through urinary tachometer information to make the prediction model more accurate.

為了能夠得到HMM預測模型參數

Figure 112100636-A0305-02-0011-8
,以鮑姆-韋爾奇(Baum-Welch)演算法,重新計算初始模型參數即可訓練,並得到序列O的HMM預測模型參數
Figure 112100636-A0305-02-0011-7
,最終以Forward-Backward演算法來降低時間複雜度至O(N2T),藉以求得HMM預測模型參數條件下之條件機率
Figure 112100636-A0305-02-0011-4
,如公式(5),即資料集的測試樣本參數觀察序列
Figure 112100636-A0305-02-0011-5
會與訓練樣本參數觀察序列O之機率相等。 In order to obtain the HMM prediction model parameters
Figure 112100636-A0305-02-0011-8
, use the Baum-Welch algorithm to recalculate the initial model parameters to train, and obtain the HMM prediction model parameters of sequence O
Figure 112100636-A0305-02-0011-7
, and finally use the Forward-Backward algorithm to reduce the time complexity to O(N 2 T), thereby obtaining the conditional probability under the parameters of the HMM prediction model.
Figure 112100636-A0305-02-0011-4
, such as formula (5), that is, the test sample parameter observation sequence of the data set
Figure 112100636-A0305-02-0011-5
It will be equal to the probability of observing sequence O with the training sample parameters.

Figure 112100636-A0305-02-0011-6
Figure 112100636-A0305-02-0011-6

即HMM預測模型係透過Uroflowmetry測得的排尿數據及其醫師診斷的結果找出對應的排尿距離資訊D及排尿角度資訊θ之中的特徵點,並將此些特徵點進行權重分配後,取得各個排尿檢測結果的機率,並找出最高機率的排 尿檢測結果,例如:排尿正常機率為12%及排尿異常機率為88%,排尿正常機率<排尿異常機率,則其排尿檢測結果為排尿異常,但不在此限。 That is, the HMM prediction model uses the urination data measured by Uroflowmetry and the results of physician diagnosis to find the corresponding feature points in the urination distance information D and urination angle information θ, and distributes the weights of these feature points to obtain each The probability of urination test results and find the highest probability of urination Urine test results, for example: the probability of normal urination is 12% and the probability of abnormal urination is 88%. If the probability of normal urination is less than the probability of abnormal urination, then the urine test result is abnormal urination, but this is not the limit.

為更清楚驗證本發明一實施例的排尿檢測結果之檢測結果的有利功效,請參閱第四A-H圖及第五A-P圖,其為本發明之一實施例之受測者1-8之排尿檢測實驗結果圖及受測者1-16之Uroflowmetry結果圖。如圖所示,縱軸分別為排尿距離資訊D及排尿角度資訊θ,橫軸則為時間,其係以不同受測者於單次排尿情形下,所取得之排尿距離資訊D及排尿角度資訊θ,同時,Uroflowmetry結果則對應同樣的受測者於單次排尿情形下,所取得之各項尿流速的數據與排尿檢測結果,下表1則為Uroflowmetry結果與HMM預測模型結果:

Figure 112100636-A0305-02-0012-9
Figure 112100636-A0305-02-0013-10
In order to more clearly verify the beneficial effects of the test results of the urination test results of one embodiment of the present invention, please refer to the fourth AH diagram and the fifth AP diagram, which are the urination tests of subjects 1-8 according to one embodiment of the present invention. Experimental results and Uroflowmetry results for subjects 1-16. As shown in the figure, the vertical axis is the urination distance information D and the urination angle information θ respectively, and the horizontal axis is time, which is based on the urination distance information D and urination angle information obtained by different subjects in a single urination situation. θ. At the same time, the Uroflowmetry results correspond to the urine flow rate data and urination test results obtained by the same subject in a single urination situation. Table 1 below shows the Uroflowmetry results and HMM prediction model results:
Figure 112100636-A0305-02-0012-9
Figure 112100636-A0305-02-0013-10

由前述可知,Uroflowmetry結果與本發明之一實施例的HMM預測模型結果相同,其分類結果表明,以本發明之一實施例之排尿檢測方法可有效取得排尿檢測結果,即驗證其所提供之檢測方法可作為臨床參考數據。 As can be seen from the foregoing, the Uroflowmetry results are the same as the results of the HMM prediction model of one embodiment of the present invention. The classification results show that the urination test results can be effectively obtained with the urination detection method of one embodiment of the present invention, that is, the detection provided by it is verified. The method can be used as clinical reference data.

下表2為Uroflowmetry詳細數據

Figure 112100636-A0305-02-0013-11
Figure 112100636-A0305-02-0014-12
Table 2 below shows the detailed data of Uroflowmetry
Figure 112100636-A0305-02-0013-11
Figure 112100636-A0305-02-0014-12

由Uroflowmetry詳細數據可以看出,Uroflowmetry結果係根據至少一特徵點對應產生其排尿檢測結果,舉例而言,特徵點例如:最大尿流速<15ml/s、排尿時間>30sec,更進一步的,也可以是解尿時間的占比,或最大流量時間的占比,較佳的,該些特徵點可以有不同的權重分配,或將特定特徵點作為第一順位的篩選,而更精準的取得排尿檢測結果。 It can be seen from the detailed data of Uroflowmetry that the Uroflowmetry results are based on at least one characteristic point corresponding to the urination test result. For example, the characteristic points are: maximum urine flow rate <15ml/s, urination time >30sec, and further, it can also be It is the proportion of urination time, or the proportion of maximum flow time. Preferably, these feature points can have different weight distribution, or specific feature points can be used as the first priority to filter, so as to obtain more accurate urination detection. result.

於一實施例中,以最大尿流速<15ml/s作為第一順位篩選,即當最大尿流速<15ml/s時,則判斷為排尿異常,並可以結合排尿時間>30sec最為判斷標準,當排尿時間>30sec,且,最大尿流速<15ml/s時,則判斷為排尿異常,但不在此限。 In one embodiment, the maximum urine flow rate <15 ml/s is used as the first priority screening, that is, when the maximum urine flow rate is <15 ml/s, it is judged as abnormal urination, and the urination time >30 sec can be used as the criterion. When urinating When the time is >30sec and the maximum urine flow rate is <15ml/s, it is judged as abnormal urination, but this is not the limit.

將前述該些以Uroflowmetry詳細數據得出的排尿檢測結果導入本實施例之排尿檢測方法中,而可進一步透過HMM預測模型結果將排尿距離資訊D及排尿角度資訊θ進行運算後,產生排尿檢測結果,以實現居家檢測,並將該些資訊上傳至雲端資料庫4,而可使醫療院所能夠實時掌握受測者資訊,而於患者出現尿滯留症狀前,即可通知患者至醫療院所及早治療。 The aforementioned urination detection results obtained from detailed data of Uroflowmetry are introduced into the urination detection method of this embodiment, and the urination distance information D and urination angle information θ can be further calculated through the HMM prediction model results to generate urination detection results. , to achieve home testing and upload this information to the cloud database 4, so that medical institutions can grasp the information of the subjects in real time, and before the patients develop symptoms of urinary retention, they can be notified to the medical institutions as early as possible treatment.

綜上所述,本發明提供一種排尿檢測方法及其系統,僅需以擷取單元取得排尿影像資訊後,辨識並計算排尿影像資訊,而產生排尿檢測結果,檢測過程十分簡單,且,可設置於自身習慣的浴廁,以真實呈現實際排尿情形,增進檢測精準程度,達到本發明之目的。 To sum up, the present invention provides a urination detection method and system. It only needs to use the acquisition unit to obtain urination image information, identify and calculate the urination image information, and generate urination detection results. The detection process is very simple and can be configured. In order to truly present the actual urination situation in the bath and toilet that one is accustomed to, the detection accuracy is improved, and the purpose of the present invention is achieved.

惟以上所述者,僅為本發明之較佳實施例,但不能以此限定本發明實施之範圍;故,凡依本發明申請專利範圍及說明書內容所做之簡單的等效改變與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above are only preferred embodiments of the present invention, but they cannot be used to limit the scope of the present invention; therefore, any simple equivalent changes and modifications made based on the patent scope of the present invention and the content of the specification, All are still within the scope of the patent of this invention.

1:擷取單元 1: Capture unit

2:辨識模組 2:Identification module

3:自動升降裝置 3: Automatic lifting device

4:雲端資料庫 4: Cloud database

Claims (10)

一種排尿檢測方法,步驟包含: 擷取一排尿影像資訊; 標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊; 計算該些個座標資訊,產生一排尿角度資訊及一排尿距離資訊;及 以一演算法運算該排尿角度資訊與該排尿距離資訊,產生一排尿檢測結果。 A urination detection method, the steps include: Retrieve a urination image information; Mark a position of the urination image information and obtain multiple coordinate information corresponding to the position; Calculate the coordinate information to generate urination angle information and urination distance information; and An algorithm is used to calculate the urination angle information and the urination distance information to generate a urination detection result. 依據請求項1所述之排尿檢測方法,於標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊之步驟中,該定位包含一人體關節點及一排尿軌跡,該些個座標資訊包含一人體關節點座標值及一排尿軌跡座標值。According to the urination detection method described in claim 1, in the step of marking a position of the urination image information and obtaining a plurality of coordinate information corresponding to the position, the position includes a human body joint point and a urination trajectory. The coordinate information includes a human body joint point coordinate value and a urination trajectory coordinate value. 依據請求項1所述之排尿檢測方法,於以一演算法運算該排尿角度資訊與該排尿距離資訊,產生一排尿檢測結果之步驟中,以一尿速儀資訊建立一訓練模型,該訓練模型以該演算法與該排尿角度資訊及該排尿距離資訊進行運算, 產生該排尿檢測結果。According to the urination detection method described in claim 1, in the step of calculating the urination angle information and the urination distance information with an algorithm to generate a urination detection result, a training model is established using a tachometer information. The training model The algorithm is used to calculate the urination angle information and the urination distance information to generate the urination detection result. 依據請求項1所述之排尿檢測方法,其中,該演算法為隱藏式馬可夫模型(Hidden Markov Model, HMM)。The urination detection method according to claim 1, wherein the algorithm is a Hidden Markov Model (HMM). 依據請求項1所述之排尿檢測方法,於標註該排尿影像資訊之一定位,並取得對應該定位之複數個座標資訊之步驟中,輸入複數個人體影像資訊進行深度學習,以產生一熱影像辨識資訊,依據該排尿影像資訊與該熱影像辨識資訊進行比對,以於該排尿影像資訊標註該定位。According to the urination detection method described in claim 1, in the step of marking a position of the urination image information and obtaining a plurality of coordinate information corresponding to the position, a plurality of human body image information is input for deep learning to generate a thermal image Identification information is compared with the urination image information and the thermal image identification information to mark the position in the urination image information. 一種排尿檢測系統,包含: 一擷取單元,擷取一排尿影像資訊;及 一辨識模組,分別與該擷取單元及一雲端資料庫訊號連接,依據該排尿影像資訊進行運算,產生並傳輸一排尿檢測結果至該雲端資料庫。 A urination detection system including: An acquisition unit acquires urination image information; and An identification module is respectively connected with the acquisition unit and a cloud database signal, performs calculations based on the urination image information, generates and transmits a urination test result to the cloud database. 依據請求項6所述之排尿檢測系統,其中,該辨識模組係依據該排尿影像資訊標註該排尿影像資訊之一定位,取得並依據對應該定位之複數個座標資訊進行運算,產生一排尿角度資訊及一排尿距離資訊,並依據該排尿角度資訊及該排尿距離資訊產生該排尿檢測結果。The urination detection system according to claim 6, wherein the identification module marks a position of the urination image information based on the urination image information, obtains and performs calculations based on a plurality of coordinate information corresponding to the position, and generates a urination angle information and a urination distance information, and generate the urination test result based on the urination angle information and the urination distance information. 依據請求項7所述之排尿檢測系統,該定位包含一人體關節點及一排尿軌跡,該些個座標資訊包含一人體關節點座標值及一排尿軌跡座標值。According to the urination detection system described in claim 7, the positioning includes a human body joint point and a urination trajectory, and the coordinate information includes a human body joint point coordinate value and a urination trajectory coordinate value. 依據請求項8所述之排尿檢測系統,包含一自動升降裝置,與該辨識模組訊號連接,該自動升降裝置係承載該擷取單元,並依據該人體關節點座標值調整該自動升降裝置之一高度。The urination detection system according to claim 8 includes an automatic lifting device connected to the identification module signal. The automatic lifting device carries the acquisition unit and adjusts the automatic lifting device according to the coordinate values of the human body joint points. One height. 依據請求項6所述之排尿檢測系統,其中,該擷取單元為紅外線熱成像儀。The urination detection system according to claim 6, wherein the capture unit is an infrared thermal imager.
TW112100636A 2023-01-06 2023-01-06 A urination detection method and system TWI827435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112100636A TWI827435B (en) 2023-01-06 2023-01-06 A urination detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112100636A TWI827435B (en) 2023-01-06 2023-01-06 A urination detection method and system

Publications (1)

Publication Number Publication Date
TWI827435B true TWI827435B (en) 2023-12-21

Family

ID=90053514

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112100636A TWI827435B (en) 2023-01-06 2023-01-06 A urination detection method and system

Country Status (1)

Country Link
TW (1) TWI827435B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040209237A1 (en) * 2003-04-18 2004-10-21 Medispectra, Inc. Methods and apparatus for characterization of tissue samples
US20110015494A1 (en) * 2009-07-15 2011-01-20 Microscopes International, Llc Home healthcare management system and hardware
TW202038137A (en) * 2018-12-12 2020-10-16 美商太斯萊特健康股份有限公司 Optical apparatus and associated devices for biometric identification and health status determination
TW202214172A (en) * 2020-10-07 2022-04-16 臺中榮民總醫院 Method and system for diagnosing disease and/or predicting severity of disease by using hyperspectral image capable of fast and correctly detecting and diagnosing severity of disease in real time
CN114521896A (en) * 2015-07-27 2022-05-24 中央兰开夏大学 Method and apparatus for estimating bladder status
TW202248673A (en) * 2021-02-25 2022-12-16 蘇米特 納格普 Technologies for tracking objects within defined areas

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040209237A1 (en) * 2003-04-18 2004-10-21 Medispectra, Inc. Methods and apparatus for characterization of tissue samples
US20110015494A1 (en) * 2009-07-15 2011-01-20 Microscopes International, Llc Home healthcare management system and hardware
CN114521896A (en) * 2015-07-27 2022-05-24 中央兰开夏大学 Method and apparatus for estimating bladder status
TW202038137A (en) * 2018-12-12 2020-10-16 美商太斯萊特健康股份有限公司 Optical apparatus and associated devices for biometric identification and health status determination
TW202214172A (en) * 2020-10-07 2022-04-16 臺中榮民總醫院 Method and system for diagnosing disease and/or predicting severity of disease by using hyperspectral image capable of fast and correctly detecting and diagnosing severity of disease in real time
TW202248673A (en) * 2021-02-25 2022-12-16 蘇米特 納格普 Technologies for tracking objects within defined areas

Similar Documents

Publication Publication Date Title
US20220047160A1 (en) Ceiling ai health monitoring apparatus and remote medical-diagnosis method using the same
Chen et al. Eye‐tracking‐aided digital system for strabismus diagnosis
Mao et al. Neck sensor-supported hyoid bone movement tracking during swallowing
Donohue et al. Tracking hyoid bone displacement during swallowing without videofluoroscopy using machine learning of vibratory signals
CN109615633A (en) Crohn disease assistant diagnosis system and method under a kind of colonoscopy based on deep learning
CN104382570A (en) Digitized full-automatic health condition detection device
Hanif et al. Estimation of apnea-hypopnea index using deep learning on 3-D craniofacial scans
CN115050435A (en) Clinical trial data management system and method based on big data
Nizard et al. Determination of fetal head station and position during labor: a new technique that combines ultrasound and a position-tracking system
CN112862749A (en) Automatic identification method for bone age image after digital processing
Sabry et al. Automatic estimation of laryngeal vestibule closure duration using high-resolution cervical auscultation signals
WO2023012818A1 (en) A non-invasive multimodal screening and assessment system for human health monitoring and a method thereof
CN108652587A (en) A kind of cognition dysfunction provisional monitor device
Abeyratne et al. Cough Sound Analysis-A new tool for diagnosing Pneumonia
JP6969831B1 (en) Information processing method, information processing device and computer program
Winiker et al. Swallowing assessment in patients with dysphagia: Validity and reliability of a pocket‐sized ultrasound system
TWI827435B (en) A urination detection method and system
Brayden et al. Interpretations of colposcopic photographs: evidence for competence in assessing sexual abuse?
Ring et al. Quality assurance for thermal imaging systems in medicine
Goertzen Learning procedural skills in family medicine residency: comparison of rural and urban programs.
Chen et al. iVoiding: A thermal-image based artificial intelligence dynamic voiding detection system
Deans et al. Reliability and criterion-related validity of the activPAL™ accelerometer when measuring physical activity and sedentary behavior in adults with lower limb absence
CN110859599B (en) Automatic cognitive function screening system for cerebrovascular disease nerve injury patients
CN109965881B (en) Application method and device for non-contact measurement of oral cavity openness
CN113425301A (en) Closestool-based basin bottom health management system and management method and intelligent closestool