TWI789879B - Intelligent poultry group image recognition and analysis system and method - Google Patents
Intelligent poultry group image recognition and analysis system and method Download PDFInfo
- Publication number
- TWI789879B TWI789879B TW110131098A TW110131098A TWI789879B TW I789879 B TWI789879 B TW I789879B TW 110131098 A TW110131098 A TW 110131098A TW 110131098 A TW110131098 A TW 110131098A TW I789879 B TWI789879 B TW I789879B
- Authority
- TW
- Taiwan
- Prior art keywords
- poultry
- outlier
- bird
- image
- birds
- Prior art date
Links
Images
Landscapes
- Image Processing (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
一種智慧型禽隻群聚圖像辨識分析系統及方法,該智慧型禽隻群聚圖像辨識分析方法包含圖像辨識步驟、離群分析步驟,及離群判斷步驟。圖像辨識步驟是對具有數隻禽隻之影像的禽隻圖像分析,並產生禽隻辨識結果。離群分析步驟是對禽隻辨識結果分析以將禽隻圖像中之該等禽隻的其中之一標記為單隻離群家禽,且將其他禽隻標記為群體禽隻,並分析得到單隻離群家禽與群體禽隻間的離群距離。離群判斷步驟會判斷離群距離大於門檻值時,產生離群事件資料。透過上述步驟分析禽隻圖像並判斷產生離群事件資料之設計,能夠以自動化的方式及早發現異常禽隻。An intelligent poultry group image recognition and analysis system and method. The intelligent poultry group image recognition and analysis method includes an image identification step, an outlier analysis step, and an outlier judgment step. The image recognition step is to analyze the bird image with images of several birds, and generate a bird recognition result. The outlier analysis step is to analyze the bird identification results to mark one of the birds in the bird image as a single outlier poultry, and mark the other birds as a group bird, and analyze to obtain a single The distance between a single outlier and a group of birds. The outlier judgment step will generate outlier event data when it is judged that the outlier distance is greater than the threshold. Through the above-mentioned steps of analyzing the bird image and judging the design of outlier event data, abnormal birds can be detected early in an automated manner.
Description
本發明是有關於一種禽隻行為之分析方法,特別是指一種智慧型禽隻群聚圖像辨識分析系統和方法。The present invention relates to an analysis method of poultry behavior, in particular to an intelligent poultry group image recognition and analysis system and method.
禽類在患病的情況下,常會有蹲伏、嗜睡、腹瀉、羽毛皺褶等明顯的臨床症狀,這些臨床症狀都會使得禽類活動力下降,容易與既有的禽群脫隊。在傳統飼養管理上,常是以管理人員進入現場禽舍觀察禽隻的行為情況,以了解是否有特定的禽隻因患病而產生異常行為。然而管理人員頻繁進出現場禽舍的方式,除了在管理上會增加人力資源之耗費,也可能會使禽隻受到驚嚇而導致緊迫的情況發生,進而影響禽隻生活品質,或是影響異常行為判斷的正確性。When birds are sick, they often have obvious clinical symptoms such as crouching, lethargy, diarrhea, and feather ruffling. These clinical symptoms will reduce the activity of the birds and easily leave the existing flock. In traditional breeding management, managers often enter the on-site poultry house to observe the behavior of the poultry to find out whether there are specific poultry that have abnormal behavior due to illness. However, the frequent entry and exit of the management staff to the poultry house will not only increase the consumption of human resources in management, but also may frighten the poultry and lead to emergency situations, which will affect the quality of life of the poultry, or affect the judgment of abnormal behavior correctness.
目前禽類飼養場域已逐漸導入攝影設備協助飼養管理,管理人員只要在辦公室就能夠監視禽舍以觀察禽隻的行為情況,此方式雖然能夠大幅降低管理人員進入現場禽舍的頻率,減少對禽隻的干擾以及意外帶入病原的風險,但依舊需要透過人為方式來觀察判斷禽隻的行為情況,仍無法達到自動化監控之目標。At present, the poultry breeding field has gradually introduced photography equipment to assist in the breeding management. The management staff can monitor the poultry house to observe the behavior of the poultry as long as they are in the office. However, it is still necessary to observe and judge the behavior of poultry by human means, which still cannot achieve the goal of automatic monitoring.
因此,本發明的目的,即在提供一種能改善先前技術的至少一個缺點的智慧型禽隻群聚圖像辨識分析方法。Therefore, the object of the present invention is to provide an intelligent bird flocking image recognition and analysis method that can improve at least one shortcoming of the prior art.
於是,本發明智慧型禽隻群聚圖像辨識分析方法,包含一圖像辨識步驟、一離群分析步驟,及一離群判斷步驟。Therefore, the smart poultry flocking image recognition and analysis method of the present invention includes an image recognition step, an outlier analysis step, and an outlier judgment step.
在該圖像辨識步驟中,使一智慧型禽隻群聚圖像辨識分析系統以機器學習演算法建立之一禽隻辨識模型分析一具有數隻禽隻之影像的禽隻圖像,並產生一禽隻辨識結果,該禽隻辨識結果包括該等禽隻於該禽隻圖像中的位置。In the image recognition step, an intelligent bird grouping image recognition analysis system uses a machine learning algorithm to establish a bird recognition model to analyze a bird image with images of several birds, and generate A poultry identification result, the poultry identification result including the positions of the poultry in the poultry image.
在該離群分析步驟中,使該智慧型禽隻群聚圖像辨識分析系統對該禽隻辨識結果分析該等禽隻於該禽隻圖像中的相對位置關係,以將該禽隻圖像中之該等禽隻的其中之一標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻標記為一群體禽隻,並分析得到該單隻離群家禽與該群體禽隻間的一離群距離。In the outlier analysis step, the intelligent poultry group image recognition analysis system analyzes the relative positional relationship of the poultry in the poultry image to the poultry image One of the birds in the image is marked as a single stray poultry, and the other poultry excluding the single stray poultry are marked as a group of poultry, and the single stray poultry and the An outlier distance between birds in the flock.
在該離群判斷步驟中,使該智慧型禽隻群聚圖像辨識分析系統於判斷該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生一離群事件資料。In the outlier judging step, when the intelligent poultry flocking image recognition and analysis system judges that the outlier distance is greater than a threshold value, the poultry image, the single outlier poultry and the outlier distance to generate an outlier event data.
本發明之另一目的,即在提供一種能改善先前技術的至少一個缺點的智慧型禽隻群聚圖像辨識分析系統。Another object of the present invention is to provide an intelligent bird flocking image recognition and analysis system that can improve at least one shortcoming of the prior art.
於是,本發明智慧型禽隻群聚圖像辨識分析系統,適用於架設在一禽隻飼養場,並包含一攝像裝置,及一分析伺服器。Therefore, the intelligent poultry group image recognition and analysis system of the present invention is suitable for setting up in a poultry farm, and includes a camera device and an analysis server.
該攝像裝置包括一攝像單元,及一訊號連接該攝像單元的控制單元。該控制單元會控制該攝像單元擷取該禽隻飼養場影像而得到一具有數隻禽隻之影像的禽隻圖像。The camera device includes a camera unit and a control unit that is signally connected to the camera unit. The control unit controls the camera unit to capture the poultry farm image to obtain a poultry image with several poultry images.
該分析伺服器能以一由機器學習演算法建立之禽隻辨識模型分析該禽隻圖像,且產生一包括該等禽隻於該禽隻圖像中的位置之禽隻辨識結果,並對該禽隻辨識結果分析該等禽隻於該禽隻圖像中的相對位置關係,以將該禽隻圖像中之該等禽隻的其中之一標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻標記為一群體禽隻,並分析得到該單隻離群家禽與該群體禽隻間的一離群距離,並判斷該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生一離群事件資料。The analysis server can analyze the bird image with a bird recognition model established by a machine learning algorithm, and generate a bird recognition result including the positions of the birds in the bird image, and The bird identification result analyzes the relative positional relationship of the birds in the bird image to mark one of the birds in the bird image as a single stray poultry, and Other birds that exclude the single outlier poultry are marked as a group of birds, and an outlier distance between the single outlier poultry and the group of birds is analyzed, and when it is judged that the outlier distance is greater than a threshold , integrating the bird image, the single outlier poultry and the outlier distance to generate an outlier event data.
本發明之另一目的,即在提供一種能改善先前技術的至少一個缺點的分析伺服器。Another object of the present invention is to provide an analysis server that can improve at least one shortcoming of the prior art.
於是,本發明用於智慧型禽隻群聚圖像辨識分析的分析伺服器,包含一圖像辨識單元,及一離群運算單元。Therefore, the analysis server of the present invention for intelligent bird flocking image recognition analysis includes an image recognition unit and an outlier computing unit.
該圖像辨識單元能以一由機器學習演算法建立之禽隻辨識模型分析一具有數隻禽隻之影像的禽隻圖像,且產生一包括該等禽隻於該禽隻圖像中的位置之禽隻辨識結果。The image recognition unit can analyze a bird image having images of several birds with a bird recognition model established by a machine learning algorithm, and generate a bird image including the birds in the bird image Bird identification results for location.
該離群運算單元能對該禽隻辨識結果分析該等禽隻於該禽隻圖像中的相對位置關係,以將該禽隻圖像中之該等禽隻的其中之一標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻標記為一群體禽隻,並分析得到該單隻離群家禽與該群體禽隻間的一離群距離,並判斷該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生一離群事件資料。The outlier calculation unit can analyze the relative positional relationship of the birds in the bird image to the bird identification result, so as to mark one of the birds in the bird image as a single outlier poultry, and mark the other poultry excluding the single outlier poultry as a group of poultry, and analyze the outlier distance between the single outlier poultry and the group of poultry, and determine the distance between the group When the flock distance is greater than a threshold, the bird image, the single outlier poultry and the outlier distance are combined to generate an outlier event data.
本發明的功效在於:透過該分析伺服器能分析該禽隻圖像產生該禽隻辨識結果,並對該禽隻辨識結果分析以判斷產生該離群事件資料之設計,能夠以自動化的方式,及早發現具有異常行為之禽隻。The effect of the present invention is that: through the analysis server, the poultry image can be analyzed to generate the poultry identification result, and the poultry identification result can be analyzed to determine the design of the outlier event data, which can be automated, Early detection of birds with abnormal behavior.
參閱圖1,本發明智慧型禽隻群聚圖像辨識分析系統的一實施例,適用於架設在一禽隻飼養場,並可與一遠端裝置9進行通訊。該智慧型禽隻群聚圖像辨識分析系統包含一攝像裝置1、一儲存裝置2、一訓練伺服器3、一分析伺服器4,及一預警伺服器5。Referring to FIG. 1 , an embodiment of the intelligent poultry group image recognition and analysis system of the present invention is suitable for setting up in a poultry farm and can communicate with a remote device 9 . The intelligent poultry flocking image recognition and analysis system includes a camera device 1 , a
該攝像裝置1訊號連接該儲存裝置2與該分析伺服器4,並包括一攝像單元11,及一訊號連接該攝像單元11的控制單元12。該控制單元12會控制該攝像單元11每間隔一預定時間對該禽隻飼養場進行攝像,以得到一具有數隻禽隻之影像的禽隻圖像,並將該禽隻圖像儲存在該儲存裝置2。The camera device 1 is signally connected to the
具體來說,在本實施例中,該攝像單元11是一以俯視角度對該禽隻飼養場進行拍攝的攝影機,該控制單元12是一內嵌在該攝像單元11的嵌入式系統(Embedded System)。Specifically, in the present embodiment, the
值得注意的是,在本實施例中,為了避免該禽隻圖像發生禽隻影像重疊的情況,該攝像單元11是設計以俯視角度進行攝像,但實施時不以此方式為限制。It is worth noting that, in this embodiment, in order to avoid overlap of bird images in the bird images, the
該儲存裝置2用以儲存該攝像裝置1對該禽隻飼養場進行攝像得到之每一禽隻圖像。該訓練伺服器3訊號連接該分析伺服器4,並會以數張訓練禽隻圖像配合一機器學習演算法,建立一禽隻辨識模型,並將該禽隻辨識模型儲存在該分析伺服器4。在本實施例中,該機器學習演算法是使用卷積神經網路(Convolutional Neural Network, CNN)演算法,但實施上並不以此為限。The
該分析伺服器4訊號連接該儲存裝置2與該預警伺服器5,並包含一圖像辨識單元41,及一訊號連接該圖像辨識單元41的離群運算單元42。該圖像辨識單元41會於該攝像裝置1得到每一禽隻圖像時,以該禽隻辨識模型分析該每一禽隻圖像,並產生一對應該每一禽隻圖像的禽隻辨識結果。該離群運算單元42還會根據該禽隻辨識結果進一步分析判斷以產生一離群事件資料,並將該離群事件資料傳送至該預警伺服器5。The analysis server 4 is signally connected to the
該預警伺服器5包括一預警單元51,及一用以與該遠端裝置9通訊且訊號連接該預警單元51的通訊單元52。該預警單元51會在該離群事件資料產生時,經由該通訊單元52發送一預警訊息至該遠端裝置9。The
需說明的是,該攝像裝置1、該儲存裝置2、該訓練伺服器3、該分析伺服器4、該預警伺服器5與該遠端裝置9間的訊號連接方式,可透過現有已知的無線通訊技術及/或有線通訊技術來達成。所述無線通訊技術例如但不限於藍芽、Wi-Fi等無線網路技術,與4G、5G等行動通訊網路技術等。It should be noted that the signal connection mode between the camera device 1, the
參閱圖2,本發明智慧型禽隻群聚圖像辨識分析系統所執行之智慧型禽隻群聚圖像辨識分析方法的一實施例,包含一擷取圖像步驟61、一圖像辨識步驟62、一離群分析步驟63、一離群判斷步驟64,及一預警步驟65。Referring to Fig. 2, an embodiment of the intelligent poultry group image recognition and analysis method performed by the intelligent poultry group image recognition analysis system of the present invention includes an
在該擷取圖像步驟61中,該攝像裝置1之該控制單元12會控制該攝像單元11每間隔該預定時間對該禽隻飼養場進行攝像,以得到該禽隻圖像。In the
在該圖像辨識步驟62中,該分析伺服器4之該圖像辨識單元41會以該禽隻辨識模型分析每一禽隻圖像,並產生對應該每一禽隻圖像之該禽隻辨識結果。該禽隻辨識結果包括該等禽隻於該禽隻圖像中的位置。在本實施例中,該圖像辨識單元41是透過機器學習以對所述禽隻圖像進行辨識分析,但在其他實施態樣中,也可以透過例如但不限於二值化處理、邊緣偵測處理,以及特徵工程等方式來達到辨識禽隻之目的。In the
該離群分析步驟63包括一獲取離群家禽子步驟,及一獲取離群距離子步驟。The
在該獲取離群家禽子步驟中,該分析伺服器4之該離群運算單元42會根據該等禽隻於該禽隻圖像中的位置,計算得到一平均中心位置,並分析計算每一禽隻的位置與該平均中心位置的距離,以得到一距離該平均中心位置最遠的禽隻,並將該禽隻標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻進行標記為一群體禽隻。In the sub-step of acquiring outlier poultry, the
在該獲取離群距離子步驟中,該離群運算單元42會根據該群體禽隻中該等禽隻的位置計算得到一群體中心位置,並計算該單隻離群家禽的位置與該群體中心位置之距離,以得到該離群距離。In the sub-step of obtaining the outlier distance, the
在本實施例中,距離間的計算是採用歐幾里得距離(Euclidean distance)計算而得,具體而言,例如點A(x1,y1)與點B(x2,y2) 分別為xy平面上之兩點,則將x座標的差值平方(x2-x1) 2與y座標的差值平方(y2-y1) 2相加後開根號即為歐幾里得距離。但在本發明其它變化態樣中,也可以採用例如但不限於馬哈拉諾比斯距離(Mahalanobis distance)來進行計算。 In this embodiment, the calculation of the distance is obtained by using the Euclidean distance (Euclidean distance), specifically, for example, point A (x1, y1) and point B (x2, y2) are respectively on the xy plane If there are two points, add the square of the difference between the x coordinates (x2-x1) 2 and the square of the difference between the y coordinates (y2-y1) 2 and then open the square root to get the Euclidean distance. However, in other variations of the present invention, for example, but not limited to, Mahalanobis distance (Mahalanobis distance) can also be used for calculation.
在該離群判斷步驟64中,該離群運算單元42會於判斷當該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生該離群事件資料。需補充說明的是,該門檻值之設定需要考量飼養密度、飼養環境,與禽隻活動特性等因素,方能達到離群判斷的準確性。In the
在該預警步驟65中,該預警伺服器5的該預警單元51會在該離群事件資料產生時,產生該預警訊息。In the
綜上所述,透過該分析伺服器4能分析該禽隻圖像產生該禽隻辨識結果,並對該禽隻辨識結果分析以得到該單隻離群家禽與該離群距離,進而判斷產生該離群事件資料之設計,能夠以自動化的方式,及早發現具有異常行為之禽隻,有助於降低在飼養管理上對人工的仰賴程度。此外,透過該預警伺服器5於該離群事件資料產生時,產生該預警訊息之設計,能達到主動告警,是一種相當創新實用的創作,因此,確實可達到本發明之目的。To sum up, the analysis server 4 can analyze the poultry image to generate the poultry identification result, and analyze the poultry identification result to obtain the distance between the single outlier poultry and the outlier, and then judge the outlier. The design of the outlier event data can detect birds with abnormal behaviors in an automated way, which helps to reduce the dependence on manual labor in feeding and management. In addition, when the outlier event data is generated by the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。But the above-mentioned ones are only embodiments of the present invention, and should not limit the scope of the present invention. All simple equivalent changes and modifications made according to the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. Within the scope covered by the patent of the present invention.
1:攝像裝置1: camera device
11:攝像單元11: Camera unit
12:控制單元12: Control unit
2:儲存裝置2: storage device
3:訓練伺服器3: Training server
4:分析伺服器4: Analysis server
41:圖像辨識單元41: Image recognition unit
42:離群運算單元42: Outlier computing unit
5:預警伺服器5: Early warning server
51:預警單元51: Early warning unit
52:通訊單元52: Communication unit
61:擷取圖像步驟61: Capture image step
62:圖像辨識步驟62: Image recognition steps
63:離群分析步驟63: Outlier analysis step
64:離群判斷步驟64: Outlier Judgment Step
65:預警步驟65: Early warning step
9:遠端裝置9: Remote device
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一功能方塊圖,說明本發明智慧型禽隻群聚圖像辨識分析系統之一實施例;及 圖2是一流程圖,說明本發明智慧型禽隻群聚圖像辨識分析方法之一實施例。 Other features and effects of the present invention will be clearly presented in the implementation manner with reference to the drawings, wherein: Fig. 1 is a functional block diagram illustrating an embodiment of the intelligent poultry flocking image recognition and analysis system of the present invention; and Fig. 2 is a flow chart illustrating an embodiment of the intelligent poultry flocking image recognition and analysis method of the present invention.
61:擷取圖像步驟 61: Capture image step
62:圖像辨識步驟 62: Image recognition steps
63:離群分析步驟 63: Outlier analysis step
64:離群判斷步驟 64: Outlier Judgment Step
65:預警步驟 65: Early warning step
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110131098A TWI789879B (en) | 2021-08-23 | 2021-08-23 | Intelligent poultry group image recognition and analysis system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110131098A TWI789879B (en) | 2021-08-23 | 2021-08-23 | Intelligent poultry group image recognition and analysis system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI789879B true TWI789879B (en) | 2023-01-11 |
TW202309822A TW202309822A (en) | 2023-03-01 |
Family
ID=86670092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110131098A TWI789879B (en) | 2021-08-23 | 2021-08-23 | Intelligent poultry group image recognition and analysis system and method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI789879B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108010242A (en) * | 2017-11-22 | 2018-05-08 | 广东数相智能科技有限公司 | A kind of security alarm method, system and storage medium based on video identification |
CN111046831A (en) * | 2019-12-20 | 2020-04-21 | 上海中信信息发展股份有限公司 | Poultry identification method and device and server |
-
2021
- 2021-08-23 TW TW110131098A patent/TWI789879B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108010242A (en) * | 2017-11-22 | 2018-05-08 | 广东数相智能科技有限公司 | A kind of security alarm method, system and storage medium based on video identification |
CN111046831A (en) * | 2019-12-20 | 2020-04-21 | 上海中信信息发展股份有限公司 | Poultry identification method and device and server |
Also Published As
Publication number | Publication date |
---|---|
TW202309822A (en) | 2023-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263686A (en) | A kind of construction site safety of image cap detection method based on deep learning | |
KR20150130803A (en) | The method for monitoring communicable disease and system using the method, recording medium for performing the method | |
CN109543607A (en) | Object abnormal state detection method, system, monitor system and storage medium | |
CN112385569B (en) | Detecting and managing disease outbreaks in livestock using a health map network | |
US11594060B2 (en) | Animal information management system and animal information management method | |
JP2017112857A (en) | Animal husbandry management system | |
CN106796746A (en) | Activity monitoring approach and system | |
KR102341715B1 (en) | Apparatus and method for livestock monitoring | |
KR102506029B1 (en) | Apparatus and method for monitoring growing progress of livestock individual based on image | |
CN104007733B (en) | It is a kind of that the system and method being monitored is produced to intensive agriculture | |
JP2020531014A (en) | Plant health monitoring methods and equipment | |
US20230172167A1 (en) | Automated poultry or livestock welfare tracking | |
CA3196344A1 (en) | Rail feature identification system | |
KR102527058B1 (en) | Apparatus for detecting mounting behavior of cattle | |
CN110674753A (en) | Theft early warning method, terminal device and storage medium | |
CA3230401A1 (en) | Systems and methods for the automated monitoring of animal physiological conditions and for the prediction of animal phenotypes and health outcomes | |
KR102047428B1 (en) | Health care system for cow using detecting rumination | |
US20240046493A1 (en) | Information processing device, information processing method, and program | |
CN111191499A (en) | Fall detection method and device based on minimum center line | |
TWI789879B (en) | Intelligent poultry group image recognition and analysis system and method | |
CN102867214B (en) | Counting management method for people within area range | |
KR20200009530A (en) | System and method for detecting abnormal object | |
US11138856B1 (en) | Intelligent infant sleep position monitor to avoid SIDS | |
KR102372107B1 (en) | Image-based sow farrowing notification system | |
CN114488337A (en) | High-altitude parabolic detection method and device |