TWI789879B - Intelligent poultry group image recognition and analysis system and method - Google Patents

Intelligent poultry group image recognition and analysis system and method Download PDF

Info

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
Application number
TW110131098A
Other languages
Chinese (zh)
Other versions
TW202309822A (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 TW110131098A priority Critical patent/TWI789879B/en
Application granted granted Critical
Publication of TWI789879B publication Critical patent/TWI789879B/en
Publication of TW202309822A publication Critical patent/TW202309822A/en

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

智慧型禽隻群聚圖像辨識分析系統及方法Intelligent poultry group image recognition and analysis system and method

本發明是有關於一種禽隻行為之分析方法,特別是指一種智慧型禽隻群聚圖像辨識分析系統和方法。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 storage device 2 , a training server 3 , an analysis server 4 , and an early warning server 5 .

該攝像裝置1訊號連接該儲存裝置2與該分析伺服器4,並包括一攝像單元11,及一訊號連接該攝像單元11的控制單元12。該控制單元12會控制該攝像單元11每間隔一預定時間對該禽隻飼養場進行攝像,以得到一具有數隻禽隻之影像的禽隻圖像,並將該禽隻圖像儲存在該儲存裝置2。The camera device 1 is signally connected to the storage device 2 and the analysis server 4 , and includes a camera unit 11 , and a control unit 12 signally connected to the camera unit 11 . The control unit 12 will control the camera unit 11 to take pictures of the poultry farm at intervals of a predetermined time to obtain a poultry image with images of several poultry, and store the poultry image in the storage device 2.

具體來說,在本實施例中,該攝像單元11是一以俯視角度對該禽隻飼養場進行拍攝的攝影機,該控制單元12是一內嵌在該攝像單元11的嵌入式系統(Embedded System)。Specifically, in the present embodiment, the camera unit 11 is a camera that takes pictures of the poultry farm from a bird's-eye view, and the control unit 12 is an embedded system (Embedded System) embedded in the camera unit 11. ).

值得注意的是,在本實施例中,為了避免該禽隻圖像發生禽隻影像重疊的情況,該攝像單元11是設計以俯視角度進行攝像,但實施時不以此方式為限制。It is worth noting that, in this embodiment, in order to avoid overlap of bird images in the bird images, the camera unit 11 is designed to take pictures from a top view angle, but the implementation is not limited in this way.

該儲存裝置2用以儲存該攝像裝置1對該禽隻飼養場進行攝像得到之每一禽隻圖像。該訓練伺服器3訊號連接該分析伺服器4,並會以數張訓練禽隻圖像配合一機器學習演算法,建立一禽隻辨識模型,並將該禽隻辨識模型儲存在該分析伺服器4。在本實施例中,該機器學習演算法是使用卷積神經網路(Convolutional  Neural Network, CNN)演算法,但實施上並不以此為限。The storage device 2 is used to store the images of each poultry obtained by the camera device 1 from taking pictures of the poultry farm. The training server 3 is connected to the analysis server 4 through a signal, and a machine learning algorithm is used to build a bird identification model with several images of training birds, and the bird identification model is stored in the analysis server 4. In this embodiment, the machine learning algorithm uses a Convolutional Neural Network (CNN) algorithm, but the implementation is not limited thereto.

該分析伺服器4訊號連接該儲存裝置2與該預警伺服器5,並包含一圖像辨識單元41,及一訊號連接該圖像辨識單元41的離群運算單元42。該圖像辨識單元41會於該攝像裝置1得到每一禽隻圖像時,以該禽隻辨識模型分析該每一禽隻圖像,並產生一對應該每一禽隻圖像的禽隻辨識結果。該離群運算單元42還會根據該禽隻辨識結果進一步分析判斷以產生一離群事件資料,並將該離群事件資料傳送至該預警伺服器5。The analysis server 4 is signally connected to the storage device 2 and the early warning server 5 , and includes an image recognition unit 41 , and an outlier computing unit 42 signally connected to the image recognition unit 41 . The image recognition unit 41 will analyze each bird image with the bird recognition model when the camera device 1 obtains each bird image, and generate a pair of bird images corresponding to each bird image. Identification results. The outlier calculation unit 42 further analyzes and judges according to the poultry identification result to generate an outlier event data, and transmits the outlier event data to the early warning server 5 .

該預警伺服器5包括一預警單元51,及一用以與該遠端裝置9通訊且訊號連接該預警單元51的通訊單元52。該預警單元51會在該離群事件資料產生時,經由該通訊單元52發送一預警訊息至該遠端裝置9。The warning server 5 includes a warning unit 51 and a communication unit 52 for communicating with the remote device 9 and connecting the warning unit 51 with a signal. The warning unit 51 sends a warning message to the remote device 9 via the communication unit 52 when the outlier event data is generated.

需說明的是,該攝像裝置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 storage device 2, the training server 3, the analysis server 4, the early warning server 5 and the remote device 9 can be through the existing known wireless communication technology and/or wired communication technology to achieve. The wireless communication technologies are, for example but not limited to, wireless network technologies such as Bluetooth and Wi-Fi, and mobile communication network technologies such as 4G and 5G.

參閱圖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 image capture step 61, an image recognition step 62 . An outlier analysis step 63 , an outlier judgment step 64 , and an early warning step 65 .

在該擷取圖像步驟61中,該攝像裝置1之該控制單元12會控制該攝像單元11每間隔該預定時間對該禽隻飼養場進行攝像,以得到該禽隻圖像。In the step 61 of capturing images, the control unit 12 of the camera device 1 controls the camera unit 11 to take pictures of the poultry farm at intervals of the predetermined time to obtain the poultry images.

在該圖像辨識步驟62中,該分析伺服器4之該圖像辨識單元41會以該禽隻辨識模型分析每一禽隻圖像,並產生對應該每一禽隻圖像之該禽隻辨識結果。該禽隻辨識結果包括該等禽隻於該禽隻圖像中的位置。在本實施例中,該圖像辨識單元41是透過機器學習以對所述禽隻圖像進行辨識分析,但在其他實施態樣中,也可以透過例如但不限於二值化處理、邊緣偵測處理,以及特徵工程等方式來達到辨識禽隻之目的。In the image recognition step 62, the image recognition unit 41 of the analysis server 4 analyzes each bird image with the bird recognition model, and generates the bird corresponding to each bird image Identification results. The bird identification result includes the positions of the birds in the bird image. In this embodiment, the image recognition unit 41 recognizes and analyzes the bird image through machine learning, but in other implementations, it can also use such as but not limited to binarization processing, edge detection The purpose of identifying poultry is achieved by means of measurement processing and feature engineering.

該離群分析步驟63包括一獲取離群家禽子步驟,及一獲取離群距離子步驟。The outlier analysis step 63 includes a substep of obtaining outlier poultry and a substep of obtaining outlier distance.

在該獲取離群家禽子步驟中,該分析伺服器4之該離群運算單元42會根據該等禽隻於該禽隻圖像中的位置,計算得到一平均中心位置,並分析計算每一禽隻的位置與該平均中心位置的距離,以得到一距離該平均中心位置最遠的禽隻,並將該禽隻標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻進行標記為一群體禽隻。In the sub-step of acquiring outlier poultry, the outlier calculation unit 42 of the analysis server 4 calculates an average center position according to the positions of the poultry in the poultry image, and analyzes and calculates each The distance between the position of the bird and the average center position is obtained to obtain a bird farthest from the average center position, and the bird is marked as a single stray poultry, and the single stray poultry will be excluded Other birds were tagged as a flock of birds.

在該獲取離群距離子步驟中,該離群運算單元42會根據該群體禽隻中該等禽隻的位置計算得到一群體中心位置,並計算該單隻離群家禽的位置與該群體中心位置之距離,以得到該離群距離。In the sub-step of obtaining the outlier distance, the outlier calculation unit 42 calculates the position of a group center according to the positions of the birds in the group, and calculates the distance between the position of the single outlier poultry and the group center position to get the outlier distance.

在本實施例中,距離間的計算是採用歐幾里得距離(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 outlier judgment step 64, the outlier calculation unit 42 will integrate the bird image, the single outlier poultry and the outlier distance to generate the outlier distance when it is judged that the outlier distance is greater than a threshold value. Outlier event data. What needs to be added is that the setting of the threshold needs to consider factors such as stocking density, stocking environment, and poultry activity characteristics in order to achieve the accuracy of outlier judgment.

在該預警步驟65中,該預警伺服器5的該預警單元51會在該離群事件資料產生時,產生該預警訊息。In the early warning step 65, the early warning unit 51 of the early warning server 5 generates the early warning message when the outlier event data is generated.

綜上所述,透過該分析伺服器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 early warning server 5, the design of generating the early warning message can achieve active alarm, which is a very innovative and practical creation. Therefore, the purpose of the present invention can indeed be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。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)

一種智慧型禽隻群聚圖像辨識分析方法,包含:一圖像辨識步驟,使一智慧型禽隻群聚圖像辨識分析系統以機器學習演算法建立之一禽隻辨識模型分析一具有數隻禽隻之影像的禽隻圖像,並產生一禽隻辨識結果,該禽隻辨識結果包括該等禽隻於該禽隻圖像中的位置;一離群分析步驟,使該智慧型禽隻群聚圖像辨識分析系統對該禽隻辨識結果分析該等禽隻於該禽隻圖像中的相對位置關係,以將該禽隻圖像中之該等禽隻的其中之一標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻標記為一群體禽隻,並分析得到該單隻離群家禽與該群體禽隻間的一離群距離,該離群分析步驟包括一獲取離群家禽子步驟,使該智慧型禽隻群聚圖像辨識分析系統根據該等禽隻於該禽隻圖像中的位置,計算得到一平均中心位置,並計算每一禽隻的位置與該平均中心位置之距離,且將距離該平均中心位置最遠的該禽隻標記為該單隻離群家禽,並將其他禽隻標記為該群體禽隻;及一離群判斷步驟,使該智慧型禽隻群聚圖像辨識分析系統於判斷該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生一離群事件資料。 An intelligent poultry group image recognition and analysis method, comprising: an image recognition step, which enables an intelligent poultry group image recognition and analysis system to analyze a poultry identification model established by a machine learning algorithm. bird images of images of birds and generate a bird identification result including the positions of the birds in the bird image; an outlier analysis step that enables the intelligent bird The bird grouping image recognition analysis system analyzes the relative positional relationship of the birds in the bird image on the bird recognition result, so as to mark one of the birds in the bird image as A single stray poultry, and other poultry excluding the single stray poultry are marked as a group of poultry, and an outlier distance between the single stray poultry and the group of poultry is obtained by analysis, the distance The group analysis step includes a sub-step of obtaining outlier poultry, so that the intelligent poultry group image recognition and analysis system can calculate an average center position according to the positions of the poultry in the poultry image, and calculate each the distance of the position of a bird from the mean center position, and the bird furthest from the mean center position is marked as the single stray bird and the other birds are marked as the group birds; and a The flock judgment step is to make the intelligent poultry flocking image recognition and analysis system integrate the poultry image, the single outlier poultry and the outlier distance to generate a Outlier event data. 如請求項1所述的智慧型禽隻群聚圖像辨識分析方法,其中,該離群分析步驟還包括以下子步驟:一獲取離群距離子步驟,使該智慧型禽隻群聚圖像辨識分析系統根據該群體禽隻中該等禽隻的位置計算得到一群體中心位置,並計算該單隻離群家禽的位置與該群體中心位置之距離,以得到該離群距離。 The intelligent poultry grouping image recognition and analysis method as described in claim 1, wherein the outlier analysis step also includes the following sub-steps: a sub-step of obtaining outlier distance, making the intelligent poultry grouping image The identification and analysis system calculates a group center position according to the positions of the birds in the group, and calculates the distance between the position of the single outlier poultry and the center position of the group to obtain the outlier distance. 如請求項1所述的智慧型禽隻群聚圖像辨識分析方法,還包含一擷取圖像步驟,及一預警步驟,該擷取圖像步驟是使該智慧型禽隻群聚圖像辨識分析系統對一禽隻飼養場進行攝像以得到該禽隻圖像,該預警步驟會使該智慧型禽隻群聚圖像辨識分析系統在該離群事件資料產生時,產生一預警訊息。 The intelligent poultry flocking image recognition and analysis method as described in claim 1 further includes an image capture step and an early warning step, the image capture step is to make the intelligent poultry flocking image The identification and analysis system takes a video of a poultry farm to obtain the image of the poultry, and the early warning step will cause the intelligent poultry group image identification and analysis system to generate an early warning message when the outlier event data is generated. 一種智慧型禽隻群聚圖像辨識分析系統,適用於架設在一禽隻飼養場,並包含:一攝像裝置,包括一攝像單元,及一訊號連接該攝像單元的控制單元,該控制單元會控制該攝像單元擷取該禽隻飼養場影像而得到一具有數隻禽隻之影像的禽隻圖像;及一分析伺服器,能以一由機器學習演算法建立之禽隻辨識模型分析該禽隻圖像,且產生一包括該等禽隻於該禽隻圖像中的位置之禽隻辨識結果,並對該禽隻辨識結果分析該等禽隻於該禽隻圖像中的相對位置關係,以將該禽隻圖像中之該等禽隻的其中之一標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻標記為一 群體禽隻,並分析得到該單隻離群家禽與該群體禽隻間的一離群距離,並判斷該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生一離群事件資料;該分析伺服器會根據該等禽隻於該禽隻圖像中的位置,計算得到一平均中心位置,並計算每一禽隻的位置與該平均中心位置之距離,且將距離該平均中心位置最遠的該禽隻標記為該單隻離群家禽,並將其他禽隻標記為該群體禽隻。 An intelligent poultry group image recognition and analysis system is suitable for setting up in a poultry farm, and includes: a camera device, including a camera unit, and a control unit connected to the camera unit by a signal, and the control unit will controlling the camera unit to capture images of the poultry farm to obtain a bird image with images of several birds; and an analysis server capable of analyzing the bird recognition model established by a machine learning algorithm an image of birds, and generating a bird recognition result including the positions of the birds in the bird image, and analyzing the bird recognition result for the relative positions of the birds in the bird image relation to mark one of the birds in the bird image as a single stray poultry, and to mark the other birds excluding the single stray poultry as a group of poultry, and analyze to obtain an outlier distance between the single outlier poultry and the group of poultry, and when it is judged that the outlier distance is greater than a threshold value, the image of the poultry, the single outlier poultry and the outlier distance to generate an outlier event data; the analysis server will calculate an average center position based on the positions of the birds in the bird image, and calculate the relationship between the position of each bird and the The distance from the average center position, and the bird farthest from the average center position is marked as the single outlier poultry, and the other birds are marked as the group birds. 如請求項4所述的智慧型禽隻群聚圖像辨識分析系統,其中,該分析伺服器還會根據該群體禽隻中該等禽隻的位置計算得到一群體中心位置,並計算該單隻離群家禽的位置與該群體中心位置之距離,以得到該離群距離。 In the intelligent poultry flocking image recognition and analysis system described in claim 4, the analysis server will also calculate a group center position according to the positions of the poultry in the group of poultry, and calculate the single The distance between the position of the outlier poultry and the center of the flock is calculated to obtain the outlier distance. 如請求項4所述的智慧型禽隻群聚圖像辨識分析系統,可與一遠端裝置進行通訊,該智慧型禽隻群聚圖像辨識分析系統還包含一預警伺服器,該預警伺服器包括一用以與該遠端裝置通訊的通訊單元,及一訊號連接該通訊單元的預警單元,該預警單元會在該離群事件資料產生時,經由該通訊單元發送一預警訊息至該遠端裝置。 The intelligent poultry flocking image recognition and analysis system as described in claim 4 can communicate with a remote device, and the intelligent poultry flocking image recognition and analysis system also includes an early warning server, the early warning server The device includes a communication unit for communicating with the remote device, and an early warning unit connected to the communication unit by a signal, and the early warning unit will send an early warning message to the remote device through the communication unit when the outlier event data is generated. end device. 一種用於智慧型禽隻群聚圖像辨識分析的分析伺服器,包含:一圖像辨識單元,能以一由機器學習演算法建立之禽隻辨識模型分析一具有數隻禽隻之影像的禽隻圖像,且產生一包括該等禽隻於該禽隻圖像中的位置之禽隻辨 識結果;及一離群運算單元,能對該禽隻辨識結果分析該等禽隻於該禽隻圖像中的相對位置關係,以將該禽隻圖像中之該等禽隻的其中之一標記為一單隻離群家禽,且將排除該單隻離群家禽之其他禽隻標記為一群體禽隻,並分析得到該單隻離群家禽與該群體禽隻間的一離群距離,並判斷該離群距離大於一門檻值時,彙整該禽隻圖像、該單隻離群家禽與該離群距離以產生一離群事件資料;該離群運算單元會根據該等禽隻於該禽隻圖像中的位置,計算得到一平均中心位置,並計算每一禽隻的位置與該平均中心位置之距離,且將距離該平均中心位置最遠的該禽隻標記為該單隻離群家禽,並將其他禽隻標記為該群體禽隻。 An analysis server for image recognition and analysis of intelligent poultry clusters, including: an image recognition unit capable of analyzing an image of several birds with a bird recognition model established by a machine learning algorithm bird images, and generate a bird identification including the location of the birds in the bird image recognition results; and an outlier computing unit, capable of analyzing the relative positional relationship of the birds in the bird image with respect to the bird recognition results, so that one of the birds in the bird image One is marked as a single stray poultry, and other poultry excluding the single stray poultry are marked as a group of poultry, and an outlier distance between the single stray poultry and the group of poultry is obtained by analysis , and when it is judged that the outlier 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 outlier computing unit will Calculate the position in the bird image to obtain an average center position, and calculate the distance between the position of each bird and the average center position, and mark the bird farthest from the average center position as the single Remove only stray birds and mark other birds as members of the flock. 如請求項7所述的分析伺服器,其中,該離群運算單元並會根據該群體禽隻中該等禽隻的位置計算得到一群體中心位置,並計算該單隻離群家禽的位置與該群體中心位置之距離,以得到該離群距離。The analysis server as described in claim item 7, wherein, the outlier calculation unit calculates a group center position according to the positions of the poultry in the group, and calculates the position and the position of the single outlier poultry The distance between the center positions of the group to obtain the outlier distance.
TW110131098A 2021-08-23 2021-08-23 Intelligent poultry group image recognition and analysis system and method TWI789879B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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