JP7445612B2 - Pig breeding support device, pig breeding support method, and pig breeding support program - Google Patents

Pig breeding support device, pig breeding support method, and pig breeding support program Download PDF

Info

Publication number
JP7445612B2
JP7445612B2 JP2021005488A JP2021005488A JP7445612B2 JP 7445612 B2 JP7445612 B2 JP 7445612B2 JP 2021005488 A JP2021005488 A JP 2021005488A JP 2021005488 A JP2021005488 A JP 2021005488A JP 7445612 B2 JP7445612 B2 JP 7445612B2
Authority
JP
Japan
Prior art keywords
image
pig
width
buttock
notification
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2021005488A
Other languages
Japanese (ja)
Other versions
JP2022110224A (en
Inventor
翔 伊澤
直樹 森下
慎 助川
大介 内田
雅貴 奥田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NH Foods Ltd
Original Assignee
Nippon Meat Packers Inc
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 Nippon Meat Packers Inc filed Critical Nippon Meat Packers Inc
Priority to JP2021005488A priority Critical patent/JP7445612B2/en
Publication of JP2022110224A publication Critical patent/JP2022110224A/en
Application granted granted Critical
Publication of JP7445612B2 publication Critical patent/JP7445612B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、豚飼育支援装置、豚飼育支援方法、および豚飼育支援プログラムに関する。 The present invention relates to a pig breeding support device, a pig breeding support method, and a pig breeding support program.

家畜の体表面にスリット状のパターン光を照射し、その輝線の形状を分析することにより当該家畜の体重を推定する手法が知られている(例えば、特許文献1参照)。 There is a known method of estimating the weight of a livestock by irradiating the body surface of the livestock with a slit-shaped pattern of light and analyzing the shape of the bright line (for example, see Patent Document 1).

特開2019-45478号公報JP 2019-45478 Publication

豚を飼育する場合には、一般的にペンと呼ばれる檻や区切られた区画において集団飼育する手法が採用されることが多い。ペンに収容されて同一環境下で集団飼育されても、個々の豚には発育のばらつきが発生する場合がある。同一ペン内の豚は均等に発育することが望ましいが、発育が遅れた豚については、全体的に体躯の小さい別の飼育集団へ編入するといった処置が取られる。しかし、1つのペンに例えば10頭程度が収容され、そのようなペンが複数設けられた養豚場においては、発育の遅れた豚を見つけ出す作業が飼育員にとって大きな負担となっていた。また、一頭一頭に正確にパターン光を照射してそれぞれの体重を推定することも現実的には難しい。 When raising pigs, a method is generally adopted in which they are raised in groups in cages or divided areas called pens. Even when pigs are housed in pens and raised in groups under the same environment, individual pigs may exhibit variations in growth. It is desirable for all pigs in the same pen to grow evenly, but for pigs whose growth is delayed, measures are taken such as transferring them to another breeding group that is generally smaller in size. However, in pig farms where each pen houses, for example, about 10 pigs, and where multiple such pens are provided, the work of finding pigs with delayed growth has become a heavy burden on the keepers. Furthermore, it is also difficult in reality to accurately irradiate each animal with a pattern of light and estimate the weight of each animal.

本発明は、このような問題を解決するためになされたものであり、ペン内で集団飼育されている豚の中に発育が遅れている豚が存在するかを、過度なコストや労力を要することなく適時に飼育員に知らせることのできる豚飼育支援装置等を提供することを目的とする。 The present invention was made to solve such problems, and it is a method that requires excessive cost and labor to determine whether there are pigs whose growth is delayed among pigs reared in groups in pens. The purpose of the present invention is to provide a pig breeding support device, etc., which can notify the breeder in a timely manner without causing any problems.

本発明の第1の態様における豚飼育支援装置は、豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得部と、画像データの画像から豚の臀部を抽出し、抽出された臀部画像に基づいて豚の臀部幅を検知する検知部と、設定された期間の間に検知部によって検知された臀部幅の統計値を算出する算出部と、統計値に対して閾値以上の偏差を示す臀部幅が検知部によって検知された場合に通知を発出する通知部とを備える。 A pig rearing support device according to a first aspect of the present invention includes an acquisition unit that acquires image data of an image captured by a camera installed toward a pen in which pigs are reared in groups, and a a detection unit that extracts the buttock of the pig and detects the width of the buttock of the pig based on the extracted buttock image; a calculation unit that calculates a statistical value of the width of the buttock detected by the detection unit during a set period; and a notification section that issues a notification when the detection section detects a hip width that shows a deviation of more than a threshold value from the statistical value.

本発明の第2の態様における豚飼育支援装置は、豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得部と、画像データの画像から豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する検知部と、設定された期間の間に検知部によって検知された広狭比の統計値を算出する算出部と、統計値に対して閾値以上の偏差を示す広狭比が検知部によって検知された場合に通知を発出する通知部とを備える。 A pig rearing support device according to a second aspect of the present invention includes an acquisition unit that acquires image data of an image captured by a camera installed facing a pen in which pigs are reared in groups, and a A detection unit that extracts the abdomen of It includes a calculation unit that calculates a statistical value of the detected wide/narrow ratio, and a notification unit that issues a notification when the sensing unit detects a wide/narrow ratio that shows a deviation of a threshold value or more from the statistical value.

本発明の第3の態様における豚飼育支援方法は、豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、画像データの画像から豚の臀部を抽出し、抽出された臀部画像に基づいて豚の臀部幅を検知する検知ステップと、設定された期間の間に検知ステップによって検知された臀部幅の統計値を算出する算出部と、統計値に対して閾値以上の偏差を示す臀部幅が検知ステップで検知された場合に通知を発出する通知ステップとを有する。 A pig rearing support method according to a third aspect of the present invention includes an acquisition step of acquiring image data of an image taken by a camera installed facing a pen in which pigs are reared in groups, and a step of acquiring image data of an image of the pigs from the image data. a detection step that extracts the buttock of the pig and detects the width of the buttock of the pig based on the extracted buttock image; a calculation unit that calculates a statistical value of the buttock width detected by the detection step during a set period; and a notification step of issuing a notification when the detection step detects a hip width that shows a deviation of more than a threshold value from the statistical value.

本発明の第4の態様における豚飼育支援方法は、豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、画像データの画像から豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する検知ステップと、設定された期間の間に検知ステップによって検知された広狭比の統計値を算出する算出部と、統計値に対して閾値以上の偏差を示す広狭比が検知ステップで検知された場合に通知を発出する通知ステップとを有する。 A pig rearing support method according to a fourth aspect of the present invention includes an acquisition step of acquiring image data of an image taken by a camera installed facing a pen in which pigs are reared in groups, and a step of acquiring image data of an image of the pigs from the image data. A detection step of extracting the abdomen of the patient and detecting the widest/narrowing ratio, which is the ratio of the widest abdominal width to the narrowest abdominal width, based on the extracted abdominal image; The present invention includes a calculation unit that calculates a statistical value of the detected wide-narrow ratio, and a notification step that issues a notification when a wide-narrow ratio that shows a deviation of more than a threshold value from the statistical value is detected in the detection step.

本発明の第5の態様における豚飼育支援プログラムは、豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、画像データの画像から豚の臀部を抽出し、抽出された臀部画像に基づいて豚の臀部幅を検知する検知ステップと、設定された期間の間に検知ステップによって検知された臀部幅の統計値を算出する算出部と、統計値に対して閾値以上の偏差を示す臀部幅が検知ステップで検知された場合に通知を発出する通知ステップとをコンピュータに実行させる。 A pig rearing support program according to a fifth aspect of the present invention includes an acquisition step of acquiring image data of an image captured by a camera installed facing a pen where pigs are reared in groups, and a step of acquiring image data of an image of the pigs from the image data. a detection step that extracts the buttock of the pig and detects the width of the buttock of the pig based on the extracted buttock image; a calculation unit that calculates a statistical value of the buttock width detected by the detection step during a set period; The computer is caused to execute a notification step of issuing a notification when the detection step detects a hip width that shows a deviation of a threshold value or more from the statistical value.

本発明の第6の態様における豚飼育支援プログラムは、豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、画像データの画像から豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する検知ステップと、設定された期間の間に検知ステップによって検知された広狭比の統計値を算出する算出部と、統計値に対して閾値以上の偏差を示す広狭比が検知ステップで検知された場合に通知を発出する通知ステップとをコンピュータに実行させる。 A pig rearing support program according to a sixth aspect of the present invention includes an acquisition step of acquiring image data of an image taken by a camera installed facing a pen in which pigs are reared in groups, and a step of acquiring image data of an image of the pigs from the image data. A detection step of extracting the abdomen of the patient and detecting the widest/narrowing ratio, which is the ratio of the widest abdominal width to the narrowest abdominal width, based on the extracted abdominal image; The computer is caused to execute a calculation unit that calculates a statistical value of the detected wide-narrow ratio, and a notification step that issues a notification when a wide-narrow ratio that shows a deviation of more than a threshold value from the statistical value is detected in the detection step.

本発明により、ペン内で集団飼育されている豚の中に発育が遅れている豚が存在するかを、過度なコストや労力を要することなく適時に飼育員に知らせることのできる豚飼育支援装置等を提供することができる。 According to the present invention, a pig breeding support device is capable of informing a breeder in a timely manner whether there is a pig whose growth is delayed among the pigs reared in a group in a pen without requiring excessive cost or labor. etc. can be provided.

本実施形態の第1実施例に係る豚飼育支援装置を採用した養豚環境の全体像を示す図である。1 is a diagram showing an overall picture of a pig farming environment in which a pig breeding support device according to a first example of the present embodiment is adopted. 豚飼育支援装置と周辺装置のハードウェア構成を示す図である。It is a diagram showing the hardware configuration of a pig breeding support device and peripheral devices. 撮像画像から豚の臀部を抽出して臀部画像が生成されるまでの処理の概念を説明する図である。FIG. 2 is a diagram illustrating the concept of processing from extracting a pig's buttock from a captured image to generating a buttock image. 臀部幅を計測する処理の概念を説明する図である。It is a figure explaining the concept of the process of measuring buttock width. 演算部の処理手順を説明するフロー図である。FIG. 3 is a flow diagram illustrating a processing procedure of a calculation unit. 本実施形態の第2実施例に係る豚飼育支援装置を採用した養豚環境の全体像を示す図である。It is a figure showing the whole picture of the pig breeding environment which adopted the pig breeding support device concerning the 2nd example of this embodiment. ステレオカメラを利用した場合の臀部画像の生成手法を説明する図である。FIG. 3 is a diagram illustrating a method of generating a buttock image when a stereo camera is used. 本実施形態の第3実施例に係る豚飼育支援装置を採用した養豚環境の全体像を示す図である。It is a figure showing the whole picture of the pig breeding environment which adopted the pig breeding support device concerning the 3rd example of this embodiment. 豚飼育支援装置と周辺装置のハードウェア構成を示す図である。It is a diagram showing the hardware configuration of a pig breeding support device and peripheral devices. 正常豚と痩身豚の腹部広狭比の違いを説明する図である。FIG. 3 is a diagram illustrating the difference in abdominal wide/narrow ratio between normal pigs and lean pigs. 学習モデルを用いた腹部広狭比の検知手順を説明する図である。FIG. 3 is a diagram illustrating a procedure for detecting abdominal wide/narrow ratio using a learning model. 演算部の処理手順を説明するフロー図である。FIG. 2 is a flow diagram illustrating a processing procedure of a calculation unit.

以下、発明の実施の形態を通じて本発明を説明するが、特許請求の範囲に係る発明を以下の実施形態に限定するものではない。また、実施形態で説明する構成の全てが課題を解決するための手段として必須であるとは限らない。 The present invention will be described below through embodiments of the invention, but the claimed invention is not limited to the following embodiments. Furthermore, not all of the configurations described in the embodiments are essential as means for solving the problem.

図1は、本実施形態の第1実施例に係る豚飼育支援装置を採用した養豚環境の全体像を示す図である。養豚場は、壁や柵によって区分された複数のペン301を備える。それぞれのペン301には複数(例えば10頭程度)の豚302が収容され、集団で飼育されている。なお、それぞれのペン301で飼育される豚302の頭数は、豚302の品種や飼育環境等に応じて調整され得る。それぞれのペン301での飼育開始時点において収容される豚302は同程度の体格であり、出荷可能な大きさに成長するまで集団で飼育される。すなわち、ペン301への収容およびペン301からの退出は、原則として豚302の集団に対して一斉に実施される。 FIG. 1 is a diagram showing an overall picture of a pig farming environment in which a pig breeding support device according to a first example of the present embodiment is adopted. The pig farm includes a plurality of pens 301 separated by walls and fences. A plurality of pigs 302 (for example, about 10 pigs) are housed in each pen 301 and raised in groups. Note that the number of pigs 302 raised in each pen 301 can be adjusted depending on the breed of pigs 302, the breeding environment, etc. The pigs 302 housed in each pen 301 are of similar size at the start of breeding, and are raised in groups until they grow to a size that can be shipped. That is, in principle, the group of pigs 302 is accommodated in and exited from the pen 301 all at once.

カメラユニット210は、ペン301内の所定位置を俯瞰して撮像できるように、例えば天井から吊り下げられて設置されている。カメラユニット210は、例えば給餌容器303に頭部を没入して採餌する豚302を背後から俯瞰する画角Frの範囲を撮像するように設置されている。このように設置されたカメラユニット210によれば、採餌中の豚302の臀部が正対する画像を取得できる。 The camera unit 210 is installed, for example, suspended from the ceiling so as to be able to take an overhead view of a predetermined position within the pen 301. The camera unit 210 is installed so as to image a range of a viewing angle Fr that is a bird's-eye view of the pig 302 foraging with its head immersed in the feeding container 303 from behind, for example. According to the camera unit 210 installed in this manner, it is possible to obtain an image in which the buttocks of the pig 302 that are foraging are directly facing each other.

カメラユニット210は、給餌容器303付近を所定位置とする場合に限らず、ペン301内を動き回る豚302の臀部を正対した状態で撮像することが期待できるのであれば、そのような場所を所定位置として設置して良い。例えば、給水容器304付近を所定位置としても良い。給餌場や給水場は、収容されている豚302が入れ替わり立ち替わり訪れる場所であるので、ランダムに多くの豚302の臀部画像を取得するのに都合が良い。 The camera unit 210 is not limited to the case where the predetermined position is near the feeding container 303, but if it can be expected to take an image of the buttocks of the pig 302 moving around inside the pen 301 while facing directly, the camera unit 210 may be set at a predetermined position near the feeding container 303. You can set it up as a location. For example, the predetermined position may be near the water supply container 304. The feeding area and the watering area are places that the housed pigs 302 visit in turn, so they are convenient for randomly acquiring images of the buttocks of many pigs 302.

カメラユニット210は、撮像した画像を画像データに変換し、ネットワーク200を介してサーバ100へ送信する。具体的には、施設内に設置された無線ユニット230がネットワーク200と接続されており、カメラユニット210は、無線ユニット230と無線通信を確立することにより、画像データをサーバ100へ送信することができる。なお、カメラユニット210とサーバ100を接続するネットワーク200は、インターネットやイントラネットを用いてもよいし、サーバ100が設置される管理施設が養豚場内に設けられるような場合には、近距離無線通信を採用してもよい。 The camera unit 210 converts the captured image into image data and transmits it to the server 100 via the network 200. Specifically, a wireless unit 230 installed within the facility is connected to the network 200, and the camera unit 210 can transmit image data to the server 100 by establishing wireless communication with the wireless unit 230. can. Note that the network 200 that connects the camera unit 210 and the server 100 may use the Internet or an intranet, or if the management facility where the server 100 is installed is located in a pig farm, short-range wireless communication may be used. May be adopted.

豚302を世話する飼育員は、飼育員端末220を所持し得る。飼育員端末220は、例えば、タブレット端末やスマートフォンであり、無線ユニット230およびネットワーク200を介してサーバ100との間で各種情報の授受を行うことができる。飼育員は、例えば飼育記録を飼育員端末220へ入力してサーバ100へ転送することもできるし、サーバ100に蓄積された飼育記録を呼び出すこともできる。また、飼育員端末220は、後述する通知を受け取った場合には、その旨を表示する。 A keeper who takes care of pig 302 may have a keeper terminal 220. The zookeeper terminal 220 is, for example, a tablet terminal or a smartphone, and can exchange various information with the server 100 via the wireless unit 230 and the network 200. For example, the breeder can input the breeding record into the breeder terminal 220 and transfer it to the server 100, or can call up the breeding record stored in the server 100. Further, when the zookeeper terminal 220 receives a notification to be described later, the zookeeper terminal 220 displays a notification to that effect.

管理施設には、豚飼育支援装置としてのサーバ100が設置されている。サーバ100は、ネットワーク200と接続されている。サーバ100は、ペン301ごとに設置されているカメラユニット210から順次画像データを取得して、当該画像データに基づいて豚302の発育遅れの豚を検知する。サーバ100は、管理者や飼育員の要求に応じて検知状況や後述する統計値を表示モニタ150へ表示することができる。表示モニタ150は、例えば液晶パネルを備えるモニタである。また、サーバ100は、管理者や飼育員の操作を受け付ける入力デバイス160と接続される。入力デバイス160は、キーボード、マウス、表示モニタ150の表示面に重畳されたタッチパネル等によって構成される。 A server 100 as a pig breeding support device is installed in the management facility. Server 100 is connected to network 200 . The server 100 sequentially acquires image data from the camera unit 210 installed in each pen 301, and detects pigs 302 with growth retardation based on the image data. The server 100 can display detection status and statistical values to be described later on the display monitor 150 in response to a request from an administrator or a caretaker. The display monitor 150 is, for example, a monitor equipped with a liquid crystal panel. Further, the server 100 is connected to an input device 160 that receives operations from a manager or a caretaker. The input device 160 includes a keyboard, a mouse, a touch panel superimposed on the display surface of the display monitor 150, and the like.

さて、ペンにおける豚の集団飼育においては、他の豚との競争や体調不良等により十分に餌を採取できない豚が生じることがある。このような豚は、他の豚に比べて発育が遅れることになる。より具体的には、体重が増加するペースが他の豚に比べて遅く、一定期間を経過すると体躯の差となって顕れる。このような発育遅れの豚は、他の豚と共に出荷することができない。そのため、発育遅れの豚は、飼育期間を延長すべく同程度の体躯である日齢の浅い別の飼育集団が収容されたペンへ編入されたり、個別のゲージで特別な処置を受けたりする。 When pigs are raised in groups in pens, some pigs may not be able to collect enough food due to competition with other pigs or poor physical condition. These pigs will have slower growth than other pigs. More specifically, their weight increases at a slower pace than other pigs, and after a certain period of time this becomes apparent as a difference in body size. Such stunted pigs cannot be shipped together with other pigs. For this reason, pigs with growth retardation are often moved to pens with younger pigs of similar size to extend their rearing period, or they are kept in individual cages and given special treatment.

しかし、集団飼育されているペンが豚舎内に複数設置されているような比較的規模の大きな養豚においては、飼育員が多数の豚を定常的に観察して発育遅れの豚を見つけ出すことは、飼育員の多大な労力や熟練を要する作業であった。本実施形態における豚飼育支援装置は、ペン301内に発育遅れの豚が存在するかを検知して飼育員へ知らせることにより飼育作業を支援する。 However, in relatively large-scale pig farms where multiple pens are set up in a pigpen, it is difficult for keepers to regularly observe a large number of pigs and identify pigs with developmental delays. This work required a great deal of effort and skill from the zookeepers. The pig breeding support device in this embodiment supports breeding work by detecting whether a pig with growth retardation exists in the pen 301 and notifying the breeder.

図1に示すように養豚場に複数のペン301が存在する場合には、飼育員は、どのペン301に発育遅れの豚が含まれるかの情報を豚飼育支援装置から知らされるだけでも、多くの労力を削減することができる。すなわち、飼育員は、ペンを観察する作業の頻度を下げることができ、通知を受けた場合にはその特定ペンを対象として発育遅れの豚の探索を行えばよい。経験の浅い飼育員であっても、一つのペン内の限られた頭数に対して発育遅れの豚を探し出すことは比較的容易である。 As shown in FIG. 1, when there are multiple pens 301 in a pig farm, the breeder can simply receive information from the pig breeding support device as to which pen 301 contains pigs with growth retardation. A lot of effort can be saved. In other words, the breeder can reduce the frequency of observing the pen, and when he/she receives the notification, he/she can search for pigs with growth retardation in that specific pen. Even for inexperienced breeders, it is relatively easy to find pigs with developmental delays in the limited number of pigs in one pen.

本願発明者は、ペンに収容された豚の成長度合をより簡便に評価する手法の研究を重ねた結果、豚の臀部の幅である臀部幅と当該豚の体重には強い相関があることを見出した。豚のいずれかの体部の大きさと体重の間には一般的にはある程度の相関があるものとされるが、臀部幅と体重の間の相関性は、個体間のばらつきが少なく、他の部位と体重の間の相関性よりも特に強いことがわかった。また、豚の臀部を観察対象とすれば、その位置や皮膚形状から、正確かつ簡易に画像による解析を行うことができることもわかった。そこで、本実施例においては、ペン内をランダムに動き回る豚の臀部を観察し、その臀部幅を検知することによって、飼育集団の中で発育遅れの豚が存在するか否かを判断する。 As a result of repeated research on a method to more easily evaluate the growth rate of pigs housed in pens, the inventor of the present application found that there is a strong correlation between the width of the buttock of a pig and the weight of the pig. I found it. Generally, there is a certain degree of correlation between the size of any body part of a pig and its body weight, but the correlation between rump width and body weight shows little variation between individuals, and The correlation was found to be particularly stronger than that between body part and body weight. It was also found that if a pig's buttock is the subject of observation, it is possible to accurately and easily perform image analysis based on its position and skin shape. Therefore, in this embodiment, it is determined whether or not there are pigs with developmental delays in the breeding group by observing the buttocks of pigs that move randomly within the pen and detecting the width of the buttocks.

図2は、豚飼育支援装置としてのサーバ100と周辺装置のハードウェア構成を示す図である。サーバ100は、上述のように、表示モニタ150、入力デバイス160、カメラユニット210、飼育員端末220と接続可能である。 FIG. 2 is a diagram showing the hardware configuration of the server 100 and peripheral devices as a pig breeding support device. The server 100 can be connected to the display monitor 150, input device 160, camera unit 210, and zookeeper terminal 220, as described above.

サーバ100は、主に、演算部110、記憶部120、通信ユニット130によって構成される。演算部110は、サーバ100の制御とプログラムの実行処理を行うプロセッサ(CPU:Central Processing Unit)である。プロセッサは、ASIC(Application Specific Integrated Circuit)やGPU(Graphics Processing Unit)等の演算処理チップと連携する構成であってもよい。演算部110は、記憶部120に記憶された豚飼育支援プログラムを読み出して、豚飼育の支援に関する様々な処理を実行する。 The server 100 mainly includes a calculation section 110, a storage section 120, and a communication unit 130. The calculation unit 110 is a processor (CPU: Central Processing Unit) that controls the server 100 and executes programs. The processor may be configured to cooperate with an arithmetic processing chip such as an ASIC (Application Specific Integrated Circuit) or a GPU (Graphics Processing Unit). The calculation unit 110 reads out the pig rearing support program stored in the storage unit 120 and executes various processes related to support for pig rearing.

記憶部120は、不揮発性の記憶媒体であり、例えばHDD(Hard Disk Drive)によって構成されている。記憶部120は、サーバ100の制御や処理を実行するプログラムの他にも、制御や演算に用いられる様々なパラメータ値、関数、表示要素データ、ルックアップテーブル等を記憶し得る。記憶部120は、特に、検知用ニューラルネットワーク121を記憶している。検知用ニューラルネットワーク121は、カメラユニット210が撮像した画像を入力すると、臀部が正対する豚302捉えた画像であるか否かを識別する。具体的には後述する。なお、記憶部120は、複数のハードウェアで構成されていても良く、例えば、プログラムを記憶する記憶媒体と検知用ニューラルネットワーク121を記憶する記憶媒体が別々のハードウェアで構成されてもよい。 The storage unit 120 is a nonvolatile storage medium, and is configured by, for example, an HDD (Hard Disk Drive). In addition to programs for controlling and processing the server 100, the storage unit 120 can store various parameter values, functions, display element data, lookup tables, etc. used for control and calculation. The storage unit 120 particularly stores a detection neural network 121. When the detection neural network 121 receives an image captured by the camera unit 210, the detection neural network 121 identifies whether or not the image is captured by the pig 302 with the buttocks directly facing each other. The details will be described later. Note that the storage unit 120 may be configured with a plurality of pieces of hardware; for example, the storage medium that stores the program and the storage medium that stores the detection neural network 121 may be configured with separate hardware.

通信ユニット130は、例えばLANユニットを含み、ネットワーク200を介して、演算部110が生成する撮像制御信号をカメラユニット210へ送信したり、カメラユニット210から送られてくる画像データを演算部110へ引き渡したりする。また、飼育員端末220と演算部110の間で実行されるデータの授受を中継する。なお、通信ユニット130は、他の外部装置との間でデータや制御信号の授受を中継することもできる。例えば、豚飼育支援プログラムや検知用ニューラルネットワーク121の更新データを外部サーバから取り込む場合にも利用され得る。 The communication unit 130 includes, for example, a LAN unit, and transmits an imaging control signal generated by the calculation unit 110 to the camera unit 210 via the network 200, and sends image data sent from the camera unit 210 to the calculation unit 110. or hand it over. It also relays data exchange executed between the zookeeper terminal 220 and the calculation unit 110. Note that the communication unit 130 can also relay data and control signals to and from other external devices. For example, it can also be used to import update data for the pig breeding support program and the detection neural network 121 from an external server.

演算部110は、豚飼育支援プログラムが指示する処理に応じて様々な演算を実行する機能演算部としての役割も担う。演算部110は、取得部111、検知部112、算出部113、通知部114として機能し得る。取得部111は、カメラユニット210によって撮像された画像の画像データを取得し、検知部112へ引き渡す。検知部112は、取得部111から受け取った画像データの画像から豚の臀部を抽出し、抽出された臀部画像に基づいて当該豚の臀部幅を検知する。算出部113は、設定された期間の間に検知部112によって検知された臀部幅の統計値を算出する。通知部114は、算出部113が算出した統計値に対して予め設定された閾値以上の偏差を示す臀部幅が検知部112によって検知された場合に通知を発出する。それぞれの具体的な演算処理については後述する。 The calculation unit 110 also plays a role as a functional calculation unit that executes various calculations according to the processing instructed by the pig breeding support program. The calculation unit 110 can function as an acquisition unit 111, a detection unit 112, a calculation unit 113, and a notification unit 114. The acquisition unit 111 acquires image data of an image captured by the camera unit 210 and delivers it to the detection unit 112. The detection unit 112 extracts the buttock of the pig from the image of the image data received from the acquisition unit 111, and detects the width of the buttock of the pig based on the extracted buttock image. The calculation unit 113 calculates the statistical value of the hip width detected by the detection unit 112 during the set period. The notification unit 114 issues a notification when the detection unit 112 detects a hip width that indicates a deviation of a preset threshold value or more from the statistical value calculated by the calculation unit 113. Each specific calculation process will be described later.

図3は、撮像画像から豚の臀部を抽出して臀部画像が生成されるまでの処理の概念を説明する図である。カメラユニット210は、給餌容器303へ入れ替わり立ち替わり訪れる豚302を逐次撮像し、取得部111は、その撮像画像の画像データを、ネットワーク200を介して取得する。上述のように、カメラユニット210は、例えば俯瞰する特定の画角Frの範囲を撮像するように設置されているので、撮像対象となる豚302は、臀部が正対する姿勢を取る限りいずれも等距離に位置すると想定し得る。 FIG. 3 is a diagram illustrating the concept of processing from extracting a pig's buttock from a captured image to generating a buttock image. The camera unit 210 sequentially images the pigs 302 that alternately visit the feeding container 303, and the acquisition unit 111 acquires image data of the captured images via the network 200. As described above, since the camera unit 210 is installed to capture an image of a specific viewing angle Fr, for example, the pig 302 to be imaged has the same image as long as the buttocks are facing directly. It can be assumed that it is located at a distance.

演算部110は、撮像画像から豚302の尾部を見つけ出し、その周辺を予め設定された画像サイズで切出して切出し画像を生成する。具体的には、例えば尾部画像として予め多数用意されたテンプレート画像とマッチング処理を行うことにより撮像画像から尾部の領域を見つけ出し、その尾部領域を含み、かつ右側の体躯境界と左側の体躯境界を含むように切り出すことにより切出し画像を生成する。そして、尾部の中心から左側の体躯境界までのピクセル数DLと右側の体躯境界までのピクセル数DRを計算する。図6(A)の場合は、豚302は斜めを向いているのでDL≠DRであり、臀部が正対していないと判断できるので、この切出し画像は臀部画像として採用されない。一方、図6(B)の場合は、豚302は正面を向いているのでDL=DRであり、臀部が正対していると判断できるので、この切出し画像は臀部画像として採用される。換言すれば、尾部が臀部の幅方向の中心に位置する画像が臀部画像として採用される。なお、DLとDRが等しいか等しくないかは、切出し画像の横幅のピクセル数に応じて設定される許容誤差を考慮して判断される。 The calculation unit 110 finds the tail of the pig 302 from the captured image, cuts out the area around it at a preset image size, and generates a cutout image. Specifically, for example, the region of the tail is found from the captured image by performing matching processing with a large number of template images prepared in advance as tail images, and the region of the tail is found from the captured image, and the region of the tail is included, and the body boundary on the right side and the body boundary on the left side are also included. A cutout image is generated by cutting out the image as follows. Then, the number of pixels DL from the center of the tail to the left body boundary and the number of pixels DR from the right body boundary are calculated. In the case of FIG. 6A, since the pig 302 is facing diagonally, D L ≠ D R , and it can be determined that the buttocks are not facing directly, so this cropped image is not adopted as the buttock image. On the other hand, in the case of FIG. 6(B), since the pig 302 is facing forward, D L =D R , and it can be determined that the buttocks are facing directly, so this cropped image is adopted as the buttock image. In other words, an image in which the tail is located at the center of the buttocks in the width direction is adopted as the buttock image. Note that whether D L and D R are equal or not is determined by taking into consideration a tolerance set according to the number of pixels in the horizontal width of the cropped image.

撮像画像から臀部画像を生成するまでの処理は、上述のような画像処理によって実現し得るが、本実施例において検知部112は、検知用ニューラルネットワーク121を用いてこの一連の処理を実行する。検知用ニューラルネットワーク121は、尾部が見える豚の後ろ姿の画像のうちDL=DRとなっている画像を正解として当該画像に紐づけた教師データを相当数与えて学習させる教師あり学習によって予め作成されたものである。教師データには尾部の中心座標が与えられており、このような教師データを学習した検知用ニューラルネットワーク121は、DL=DRを満たす豚の後ろ姿の画像を抽出すると共に、尾部の中心座標を出力する。教師データは、例えばオペレータがDL=DRを満たす豚の後ろ姿の画像を選択すると共に、尾部の中心座標を決定して紐づけることにより作成される。このように生成された学習モデルである検知用ニューラルネットワーク121は、豚飼育支援装置であるサーバ100に組み込まれて利用に供される。 The process of generating a buttock image from a captured image can be realized by the image processing described above, but in this embodiment, the detection unit 112 uses the detection neural network 121 to execute this series of processes. The detection neural network 121 uses supervised learning in advance to learn by giving a considerable amount of training data linked to an image in which D L = D R among images of the rear view of a pig where the tail is visible, as the correct answer. It was created. The center coordinates of the tail are given to the training data, and the detection neural network 121 that has learned such training data extracts an image of the back of the pig that satisfies D L = D R , and also extracts the center coordinates of the tail. Output. The training data is created, for example, by an operator selecting an image of the back of a pig that satisfies D L =D R , and determining and linking the center coordinates of the tail. The detection neural network 121, which is a learning model generated in this way, is incorporated into the server 100, which is a pig breeding support device, and is made available for use.

例えば養豚場に観察対象であるペン301が8つ設けられているとすると、それぞれのペン301を俯瞰する8つのカメラユニット210から順次画像データがサーバ100へ送られてくる。取得部111がそれらの画像を取得すると、検知部112へ引き渡す。検知部112は、記憶部120から読み出した検知用ニューラルネットワーク121へそれらの画像を順次入力する。検知用ニューラルネットワーク121は、画像が入力されるごとに演算処理を実行し、その画像がDL=DRを満たす豚の後ろ姿の画像であるかを判定する。そして、そのような条件を満たす後ろ姿の画像であると判定した場合には、その尾部の中心座標を出力する。検知部112は、検知用ニューラルネットワーク121が中心座標を出力した画像から、当該中心座標を基準として予め設定された画像サイズで切り出して、臀部画像を生成する。 For example, if a pig farm is provided with eight pens 301 to be observed, image data is sequentially sent to the server 100 from eight camera units 210 that provide an bird's-eye view of each pen 301. When the acquisition unit 111 acquires these images, they are delivered to the detection unit 112. The detection unit 112 sequentially inputs the images read out from the storage unit 120 to the detection neural network 121. The detection neural network 121 executes arithmetic processing every time an image is input, and determines whether the image is an image of the back view of a pig that satisfies D L =D R . If it is determined that the image is a rear view that satisfies such conditions, the center coordinates of the tail are output. The detection unit 112 generates a buttock image by cutting out the image whose center coordinates have been output by the detection neural network 121 at a preset image size using the center coordinates as a reference.

図4は、臀部幅を計測する処理の概念を説明する図である。臀部幅は、臀部画像から演算される。臀部幅を検出する範囲は、認識された尾部の中心位置から背中側へp0ピクセルの範囲と足元側へp0ピクセルの範囲に挟まれた帯状範囲に定められる。検知部112は、この帯状範囲の中で水平方向に左側の体躯境界から右側の体躯境界までのピクセル数を順次カウントし、そのカウント数が最大となる水平位置における幅を臀部幅と決定する。すなわち、尾部の中心を高さ方向の中心とする予め定められた範囲における最大幅が臀部幅(ピクセル)として決定される。検知部112は、このようにして受け取った撮像画像から臀部幅を検知できた場合には、当該臀部幅を算出部113、通知部114へ引き渡す。算出部113は、設定された観察期間の開始時点から臀部幅を累積的に取得し、その統計値を算出する。本実施形態においては、平均値と標準偏差を算出する。 FIG. 4 is a diagram illustrating the concept of the process of measuring the width of the buttock. The buttock width is calculated from the buttock image. The range for detecting the hip width is defined as a band-shaped range sandwiched between a range of p 0 pixels from the recognized center position of the tail toward the back and a range of p 0 pixels toward the feet. The detection unit 112 sequentially counts the number of pixels from the left body boundary to the right body boundary in the horizontal direction within this band-shaped range, and determines the width at the horizontal position where the counted number is maximum as the buttock width. That is, the maximum width in a predetermined range with the center of the tail as the center in the height direction is determined as the buttock width (pixel). If the detection unit 112 is able to detect the width of the buttock from the captured image thus received, it passes the width of the buttock to the calculation unit 113 and the notification unit 114. The calculation unit 113 cumulatively acquires the buttock width from the start of the set observation period, and calculates the statistical value thereof. In this embodiment, the average value and standard deviation are calculated.

観察対象となるペン301で規定数の臀部幅が検知されると、算出部113が算出した統計値は、そのペン301内で飼育されている豚全体の性質を表すものとして利用し得る。規定数としては、例えば、ペン301に収容されている豚の頭数の8割の値が設定される。8割程度の値が設定されていれば、一頭の豚が複数回観察されていたとしても、その影響を小さく留めることが期待できる。そして、その後に検知された臀部幅が、算出された統計値に対して閾値以上の偏差を示す場合には、その臀部幅が検知された豚に対して発育異常があると推定し得る。 When a predetermined number of hip widths are detected in the pen 301 to be observed, the statistical value calculated by the calculation unit 113 can be used to represent the characteristics of the whole pig kept in the pen 301. The prescribed number is set to, for example, 80% of the number of pigs housed in the pen 301. If a value of around 80% is set, it can be expected that even if a single pig is observed multiple times, the effect will be kept small. If the subsequently detected hip width shows a deviation of more than a threshold value from the calculated statistical value, it can be estimated that the pig whose hip width was detected has a growth abnormality.

本実施形態においては、平均値に対してα×σを下回る臀部幅の場合に、発育遅れの豚であると判断する。ここで、αは係数でありσは標準偏差である。αは、収容されている豚の日齢や種類、発育のばらつきをどの程度まで許容するか等に応じて事前に管理者等によって設定される値である。例えば、α=2に設定されると、発育のばらつきが正規分布に従う場合、約95.4%の豚は正常と判断され、約2.3%の豚が発育遅れ、同じく約2.3%の豚が発育過多と判断される。本実施形態においては、特に発育遅れに着目しているので、通知部114は、臀部幅が平均値に対してα×σを下回る場合に、発育遅れの豚が存在する旨を知らせる通知を飼育員端末220へ発出する。なお、統計値(偏差を含む)は上記に限らず、例えば尖度や歪度を考慮したり、中央値を用いたりしてもよい。 In this embodiment, if the hip width is less than α×σ with respect to the average value, it is determined that the pig is growth retarded. Here, α is a coefficient and σ is a standard deviation. α is a value set in advance by an administrator or the like, depending on the age and type of pigs housed, the degree of variation in growth to be allowed, etc. For example, if α = 2 and the variation in growth follows a normal distribution, approximately 95.4% of pigs will be judged as normal, approximately 2.3% will be retarded, and approximately 2.3% will be judged as normal. of pigs are judged to be overgrown. In this embodiment, since we are particularly focused on growth retardation, the notification unit 114 sends a notification to the effect that there are pigs with growth retardation when the rump width is less than α×σ with respect to the average value. The information is sent to the employee terminal 220. Note that the statistical value (including deviation) is not limited to the above, and for example, kurtosis or skewness may be taken into consideration, or the median value may be used.

次に、サーバ100を用いた豚飼育支援方法の処理手順について説明する。図5は、演算部110の処理手順を説明するフロー図である。フローは、観察開始の指示を受けた時点から開始される。 Next, the processing procedure of the pig rearing support method using the server 100 will be explained. FIG. 5 is a flow diagram illustrating the processing procedure of the calculation unit 110. The flow starts from the moment an instruction to start observation is received.

取得部111は、ステップS101で、第nペンのカメラユニット210から、imgnの画像データを、通信ユニット130を介して取得する。例えば、n=1である場合には、第1ペンに向けられたカメラユニット210から、img1の画像データを取得する。取得部111は、取得した画像データを検知部112へ引き渡す。nは、ステップS101が実行されるたびにインクリメントされる。 The acquisition unit 111 acquires image data of img n from the camera unit 210 of the n-th pen via the communication unit 130 in step S101. For example, if n=1, image data of img 1 is acquired from the camera unit 210 directed toward the first pen. The acquisition unit 111 delivers the acquired image data to the detection unit 112. n is incremented each time step S101 is executed.

検知部112は、ステップS102で、図3を用いて説明したように、受け取った画像データの画像imgnを検知用ニューラルネットワーク121へ入力する。そして、その出力から臀部画像が得られたらステップS103へ進み、得られなかったらステップS101へ戻る。 In step S102, the detection unit 112 inputs the image img n of the received image data to the detection neural network 121, as described using FIG. If a buttock image is obtained from the output, the process advances to step S103, and if not, the process returns to step S101.

検知部112は、ステップS103へ進んだら、図4を用いて説明したように、臀部画像から臀部幅を検知する。臀部幅を検知したら、その結果を算出部113および通知部114へ引き渡す。算出部113は、新たに検知された臀部幅を検知部112から受け取ったら、それまでに受け取っていた臀部幅から算出していた統計値を更新する。そして、算出部113は、ステップS105へ進み、観察を開始した時点から受け取った臀部幅の数が規定数を超えているか否かを確認する。超えていればステップS104で算出した統計値と規定数を超えた旨の情報を通知部114へ引き渡してステップS106へ進み、超えていなければステップS101へ戻る。 After proceeding to step S103, the detection unit 112 detects the buttock width from the buttock image, as described using FIG. 4. Once the hip width is detected, the result is delivered to the calculation unit 113 and notification unit 114. When the calculation unit 113 receives the newly detected hip width from the detection unit 112, it updates the statistical value calculated from the hip width received so far. The calculation unit 113 then proceeds to step S105 and checks whether the number of buttock widths received from the time point when observation was started exceeds a specified number. If the number exceeds the specified number, the statistical value calculated in step S104 and information indicating that the specified number has been exceeded are transferred to the notification unit 114, and the process proceeds to step S106. If the number has not been exceeded, the process returns to step S101.

ステップS106へ進むと、通知部114は、検知部112から受け取った臀部幅が、算出部113から受け取った統計値に対して、上述のように事前に設定された基準となる偏差以上の値であるか否かを確認する。本実施例では、検知部112から受け取った臀部幅が平均値に対してα×σを下回っているか否かを確認し、下回っている場合にはステップS107へ進み、下回っていなければステップS107をスキップしてステップS108へ進む。ステップS107へ進んだ場合には、通知部114は、発育遅れと思われる豚が存在する旨の通知を、検知されたペンのペン情報を付加して、飼育員端末220へ発出する。ペン情報は、例えばペンを識別するために与えられているペンナンバーである。通知を発出したら、ステップS108へ進む。演算部110は、ステップS108で、観察期間が終了したか否かを確認する。観察期間が終了していなければ、ステップS101へ戻って観察を続行する。終了していれば、一連の処理を終える。 Proceeding to step S106, the notification unit 114 determines that the hip width received from the detection unit 112 is greater than or equal to the preset standard deviation from the statistical value received from the calculation unit 113. Check whether it exists. In this embodiment, it is checked whether the buttock width received from the detection unit 112 is less than the average value by α×σ, and if it is, the process proceeds to step S107; if not, the process proceeds to step S107. Skip and proceed to step S108. If the process proceeds to step S107, the notification unit 114 sends a notification to the keeper terminal 220 that there is a pig that is considered to be developmentally delayed, with the pen information of the detected pen added. The pen information is, for example, a pen number given to identify a pen. Once the notification is issued, the process advances to step S108. In step S108, the calculation unit 110 checks whether the observation period has ended. If the observation period has not ended, the process returns to step S101 to continue observation. If it has been completed, the series of processing is completed.

なお、上記の処理手順においては、臀部幅が規定数を超えるまで、すなわち算出された統計値が集団の性質を表していると評価し得るまでは、検知された臀部幅のそれぞれに対する判定は行っていない。しかし、規定数を超えた後に、それまでに蓄積された臀部幅のそれぞれを判定してもよい。このように蓄積された臀部幅の判定を行えば、観察開始後の初期段階で撮像された豚302に対しても発育遅れの有無を確認することができる。 In addition, in the above processing procedure, judgments are not made for each detected hip width until the number of hip widths exceeds the specified number, that is, until the calculated statistical value can be evaluated as representing the characteristics of the group. Not yet. However, after the predetermined number is exceeded, each of the hip widths accumulated up to that point may be determined. By determining the accumulated rump width in this manner, it is possible to confirm the presence or absence of growth retardation even in pigs 302 imaged at an early stage after the start of observation.

また、観察期間を予め設定された期間に制限することにより、発育経過に伴う統計値の変化を除去することができる。例えば、一か月前の臀部幅と現時点における臀部幅を混在して平均値を算出することにより現時点における平均値と乖離してしまう、といったことがない。観察期間は、このような不都合が生じない程度の期間(例えば、3日間)に設定される。新たな観察期間が開始される場合には、それまでの統計値はリセットされる。あるいは、過去の参照値として利用される。 Furthermore, by limiting the observation period to a preset period, changes in statistical values due to developmental progress can be removed. For example, by calculating the average value by mixing the buttock width from one month ago and the current buttock width, there will be no deviation from the current average value. The observation period is set to a period (for example, 3 days) that does not cause such inconvenience. When a new observation period starts, the previous statistical values are reset. Alternatively, it can be used as a past reference value.

次に、本実施形態の第2実施例に係る豚飼育支援装置を説明する。第1実施例においては、給餌容器303等を俯瞰する比較的狭い画角Frで撮像するように設定されたカメラユニット210を用いた。また、カメラユニット210は二次元画像を出力するので、カメラユニット210から豚の臀部までの距離を一定の距離とするとの前提を設けて、臀部画像から決定される臀部幅(ピクセル)を検知した。しかし、カメラユニット210を、距離画像を出力できるカメラユニットへ変更すれば、これらの前提に制約されず、より多くの臀部画像を抽出することも可能である。距離画像を出力するカメラユニットとして、ステレオカメラやTOFカメラなどを採用し得るが、ここでは、ステレオカメラを採用した場合について説明する。 Next, a pig breeding support device according to a second example of this embodiment will be described. In the first embodiment, the camera unit 210 is set to take an image of the feeding container 303 and the like at a relatively narrow angle of view Fr. Furthermore, since the camera unit 210 outputs a two-dimensional image, the width (pixels) of the buttock determined from the buttock image was detected on the assumption that the distance from the camera unit 210 to the buttock of the pig was a constant distance. . However, if the camera unit 210 is changed to a camera unit that can output distance images, it is possible to extract more buttocks images without being restricted by these assumptions. Although a stereo camera, a TOF camera, or the like may be used as the camera unit that outputs a distance image, a case where a stereo camera is used will be described here.

図6は、本実施形態の第2実施例に係る豚飼育支援装置を採用した養豚環境の全体像を示す図である。図6で示す構成は、図1で示す構成に対して、カメラユニット211がステレオカメラを採用している点と、撮像範囲である画角Frが広くなっている点で異なる。カメラユニット211は、画角Frが広い分、多くの豚302を一度に撮像することができる。なお、図6においては、左上のペン301に対してのみ画角Frを示しているが、他のペン301を俯瞰するカメラユニット211も同様の画角で各ペン301を撮像することができる。 FIG. 6 is a diagram showing an overall picture of a pig farming environment in which the pig breeding support device according to the second example of the present embodiment is adopted. The configuration shown in FIG. 6 differs from the configuration shown in FIG. 1 in that the camera unit 211 employs a stereo camera and that the angle of view Fr, which is the imaging range, is wider. Since the camera unit 211 has a wide angle of view Fr, it can image many pigs 302 at once. Although FIG. 6 shows the angle of view Fr only for the upper left pen 301, the camera unit 211 that overlooks the other pens 301 can also image each pen 301 at the same angle of view.

図7は、カメラユニット211を採用した場合の臀部画像の生成手法を説明する図である。カメラユニット211で撮像された撮像画像には、多くの豚302が写り込んでいる場合が多い。そこで、検知部112は、ステレオ画像の一方から臀部が正対する豚302の臀部領域を全て切り出す。具体的には、図3を用いて説明した手法と同様に、尾部が臀部の幅方向の中心に位置する画像領域を切り出して臀部画像とする。このとき、切出し画像の画像サイズは、固定サイズではなく、それぞれの豚の左右の体躯境界が含まれるように個別に調整される。 FIG. 7 is a diagram illustrating a method of generating a buttock image when the camera unit 211 is employed. Many pigs 302 are often reflected in the captured image captured by the camera unit 211. Therefore, the detection unit 112 cuts out the entire buttock region of the pig 302 whose buttocks are directly facing each other from one side of the stereo image. Specifically, similarly to the method described using FIG. 3, an image area where the tail is located at the center of the buttock in the width direction is cut out and used as the buttock image. At this time, the image size of the cutout image is not a fixed size, but is adjusted individually so that the left and right body boundaries of each pig are included.

例えば、図示するようにPic1からPic3までの3つの臀部画像が抽出されると、検知部は、それぞれに対応する領域をもう一方のステレオ画像から切り出す。そして、対応する2つの臀部画像間のずれ量を用いて、カメラユニット211からそれぞれの臀部までの距離d1、d2、d3を算出する。検知部112は、図3を用いて説明したように一方のステレオ画像から臀部幅を演算し、それぞれの距離を用いて、標準距離d0(例えば1m)に対する臀部幅に修正する。このように修正を施せば、臀部幅を一律に比較検証できる。臀部幅を検知した後の処理は、第1実施例と同様である。 For example, when three buttock images Pic1 to Pic3 are extracted as shown in the figure, the detection unit cuts out the corresponding regions from the other stereo image. Then, distances d1, d2, and d3 from the camera unit 211 to the respective buttocks are calculated using the amount of deviation between the two corresponding buttock images. The detection unit 112 calculates the hip width from one of the stereo images as described using FIG. 3, and uses the respective distances to correct the hip width for the standard distance d 0 (for example, 1 m). By making corrections in this way, it is possible to uniformly compare and verify the width of the buttocks. The processing after detecting the hip width is the same as in the first embodiment.

次に、本実施形態の第3実施例に係る豚飼育支援装置を説明する。第1実施例および第2実施例の豚飼育支援装置は、豚の体重と相関が強い臀部幅を観察することにより発育遅れの豚を検知した。第3実施例に係る豚飼育支援装置は、豚の腹部を観察することにより発育遅れの豚を検知する。以下の説明において、第1実施例および第2実施例と同様の機能を発揮する構成については、同じ符番を付し、特に言及する場合を除きその説明を省略する。 Next, a pig breeding support device according to a third example of this embodiment will be described. The pig breeding support devices of the first and second embodiments detected pigs with growth retardation by observing the width of the rump, which has a strong correlation with the pig's weight. The pig breeding support device according to the third embodiment detects pigs with growth retardation by observing the pig's abdomen. In the following description, components that perform the same functions as those in the first and second embodiments will be given the same reference numerals, and the description thereof will be omitted unless specifically mentioned.

図8は、本実施形態の第3実施例に係る豚飼育支援装置を採用した養豚環境の全体像を示す図である。カメラユニット212は、ペン301ごとに設置されており、それぞれの観察対象であるペン301の全体を俯瞰して撮像できるように、例えば天井から吊り下げられて設置されている。カメラユニット212は、撮像した画像を画像データに変換し、ネットワーク200を介してサーバ100’へ送信する。 FIG. 8 is a diagram showing an overall picture of a pig farming environment in which the pig breeding support device according to the third example of the present embodiment is adopted. The camera unit 212 is installed for each pen 301, and is installed so as to be suspended from the ceiling, for example, so as to be able to take an overview of the entire pen 301 that is the object of observation. The camera unit 212 converts the captured image into image data and transmits it to the server 100' via the network 200.

図9は、豚飼育支援装置としてのサーバ100’と周辺装置のハードウェア構成を示す図である。検知部112’は、取得部111から受け取った画像データの画像から豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する。なお、このような広狭比を以降では腹部広狭比と称する場合がある。 FIG. 9 is a diagram showing the hardware configuration of a server 100' and peripheral devices as a pig breeding support device. The detection unit 112' extracts the pig's abdomen from the image of the image data received from the acquisition unit 111, and determines the width and narrowness, which is the ratio of the widest abdominal width to the narrowest abdominal width, based on the extracted abdominal image. Detect the ratio. Note that such a wide/narrow ratio may hereinafter be referred to as an abdominal wide/narrow ratio.

検知部112’によって用いられる検知用ニューラルネットワーク122は、カメラユニット210が撮像した画像を入力すると、腹部広狭比を検知するのに適した姿を示す豚の画像領域を探索し、当該画像領域に写る豚の腹部広狭比を出力する。なお、算出部113、通知部114は、第1実施例および第2実施例では臀部幅を対象として統計値を算出したり通知を発出したりしたが、第3実施例においては、腹部広狭比を対象として統計値を算出したり、通知を発出したりする。 When the detection neural network 122 used by the detection unit 112' receives the image captured by the camera unit 210, it searches for an image area of a pig that shows a suitable figure for detecting the abdominal wideness/narrowness ratio, and searches for an image area in the image area. Outputs the abdominal wide/narrow ratio of the pig in the photo. Note that in the first and second embodiments, the calculation unit 113 and the notification unit 114 calculated statistical values and issued notifications for the buttock width, but in the third embodiment, the abdominal wide/narrow ratio Calculate statistical values and issue notifications.

次に腹部広狭比について説明する。本願発明者は、ペンに収容された豚の成長度合をより簡便に評価する手法の研究を更に重ねた結果、豚の腹部広狭比も当該豚の体重との間に強い相関があることを見出した。腹部広狭比と体重の相関性も、臀部幅と同様に、個体間のばらつきが少なく、他の部位と体重の間の相関性よりも特に強いことがわかった。また、豚の腹部に限れば観察が容易であり、正確かつ簡易に画像による解析を行うことができることもわかった。そこで、本実施例においては、ペン内をランダムに動き回る豚の腹部を観察し、腹部広狭比を検知することによって、飼育集団の中で発育遅れの豚が存在するか否かを判断する。 Next, the abdominal wide/narrow ratio will be explained. As a result of further research on a method to more easily evaluate the growth rate of pigs housed in pens, the inventor of the present application found that there is a strong correlation between the abdominal width ratio of pigs and the weight of the pigs. Ta. Similar to hip width, the correlation between abdominal wideness and narrowness ratio and body weight was found to have little variation between individuals, and was particularly stronger than the correlations between other body parts and body weight. It was also found that observation of the pig's abdomen is easy, and analysis using images can be performed accurately and easily. Therefore, in this embodiment, by observing the abdomens of pigs that move around randomly within the pen and detecting the abdominal wide/narrow ratio, it is determined whether or not there are pigs with growth retardation in the breeding group.

図10は、正常豚と痩身豚の腹部広狭比の違いを説明する図である。腹部広狭比は、観察対象となる豚が四本足で立っている姿勢において、上端となる背中から後脚(前脚でも構わない)近傍における腹部の下端までの重力方向に沿う長さをa、上端となる背中から腹部のうち最も垂れ下がった下端までの重力方向に沿う長さをbとした場合の、b/aを言う。例えば、図10(A)に示す、同一ペン301内で順調に発育している多くの豚である正常豚のb/aは、図10(B)に示す、発育の遅れている豚である痩身豚のb/aよりも大きい。したがって、この腹部広狭比をパラメータとして、上述の臀部幅に対する統計処理と同様の処理を行えば、取得した画像に写る豚が発育遅れの豚であるか否かを判断できる。 FIG. 10 is a diagram illustrating the difference in abdominal wide/narrow ratio between normal pigs and lean pigs. The abdominal wide-narrow ratio is the length along the gravity direction from the upper end of the back to the lower end of the abdomen near the hind legs (or front legs) when the pig to be observed is standing on all four legs. It refers to b/a, where b is the length along the gravity direction from the upper end of the back to the lower end of the abdomen where it hangs down the most. For example, b/a of the normal pigs shown in FIG. 10(A), which are many pigs that are growing normally in the same pen 301, is the pig with delayed growth shown in FIG. 10(B). greater than b/a of lean pigs. Therefore, by performing the same statistical processing as the above-mentioned buttock width using this abdominal wide/narrow ratio as a parameter, it can be determined whether the pig in the acquired image is a pig with growth retardation.

図11は、学習モデルである検知用ニューラルネットワーク122を用いた腹部広狭比の検知手順を説明する図である。検知部112’は、取得部111からペン301の俯瞰画像である取得画像を受け取ると、検知用ニューラネットワーク122へ当該取得画像を入力する。 FIG. 11 is a diagram illustrating a procedure for detecting the abdominal wide/narrow ratio using the detection neural network 122, which is a learning model. When the detection unit 112 ′ receives an acquired image that is an overhead image of the pen 301 from the acquisition unit 111 , the detection unit 112 ′ inputs the acquired image to the detection neural network 122 .

検知用ニューラネットワーク122は、ペン301を俯瞰する俯瞰画像において四本足で立っている姿勢を見せる豚を取り囲む矩形領域を正解として当該俯瞰画像に紐づけた教師データを相当数与えて学習させる教師あり学習によって予め作成されたものである。教師データは、例えばオペレータが俯瞰画像に写り込む各豚に対して四本足で立っている姿勢を見せる豚を抽出し、矩形領域で取り囲んで正解を与えることにより作成される。一つの俯瞰画像に対象となる複数の豚が存在する場合には、オペレータは、それらのそれぞれを矩形領域で取り囲んで正解として指定する。このように生成された学習モデルである検知用ニューラルネットワーク122は、豚飼育支援装置であるサーバ100に組み込まれて利用に供される。 The detection neural network 122 is a teacher that learns by giving a considerable amount of teacher data that is associated with the bird's-eye view of the pen 301, with a rectangular area surrounding a pig standing on four legs as the correct answer. It has been created in advance through ``arithmetic learning''. The training data is created, for example, by an operator extracting a pig standing on all four legs from each pig in the bird's-eye view image, surrounding it with a rectangular area, and giving the correct answer. If a plurality of target pigs exist in one bird's-eye view image, the operator surrounds each of them with a rectangular area and designates them as correct. The detection neural network 122, which is a learning model generated in this way, is incorporated into the server 100, which is a pig breeding support device, and is made available for use.

例えば、養豚場に観察対象であるペン301が8つ設けられているとすると、それぞれのペン301を俯瞰する8つのカメラユニット212から順次画像データがサーバ100へ送られてくる。取得部111がそれらの画像を取得すると、検知部112’へ引き渡す。検知部112’は、記憶部120から読み出した検知用ニューラルネットワーク122へそれらの画像を順次入力する。検知用ニューラルネットワーク122は、画像が入力されるごとに演算処理を実行し、その画像から四本足で立っている姿勢を見せる豚が写る領域を検証エリアとして抽出する。このようにして、例えば図示するように入力された画像から検証エリア「area01」、「area02」…を抽出する。 For example, if a pig farm is provided with eight pens 301 to be observed, image data is sequentially sent to the server 100 from eight camera units 212 that overlook each pen 301. When the acquisition unit 111 acquires these images, they are delivered to the detection unit 112'. The detection unit 112' sequentially inputs the images read out from the storage unit 120 to the detection neural network 122. The detection neural network 122 executes arithmetic processing each time an image is input, and extracts from the image a region in which a pig standing on four legs is shown as a verification area. In this way, for example, the verification areas "area01", "area02", etc. are extracted from the input image as shown in the figure.

検知部112’は、抽出されたそれぞれの検証エリアに写る豚の腹部広狭比を算出する。具体的には、図4を用いて説明した臀部幅の算出と同様に、後脚の付け根を基準として背中側の体躯境界から腹部側の体躯境界までのピクセル数をカウントして最狭となる腹部幅aを決定する。さらに腹部幅aの直線を平行に前脚側へ徐々にシフトさせ、その都度背中側の体躯境界から腹部側の体躯境界までのピクセル数をカウントする。そして、その中で最大となるものを最広の腹部幅bとして決定する。このようにaおよびbを決定したら、腹部広狭比b/aを算出する。検証エリアが複数抽出された場合には、検証エリアごとにこの演算を繰り返し、得られた腹部広狭比b/aを算出部113および通知部114へ引き渡す。 The detection unit 112' calculates the abdominal wide/narrow ratio of the pig in each of the extracted verification areas. Specifically, similar to the calculation of the hip width explained using Fig. 4, the narrowest width is obtained by counting the number of pixels from the body boundary on the back side to the body boundary on the ventral side with the base of the hind legs as a reference. Determine the abdominal width a. Furthermore, the straight line of the abdomen width a is gradually shifted parallel to the front leg side, and each time the number of pixels from the body boundary on the back side to the body boundary on the abdominal side is counted. Then, the largest one among them is determined as the widest abdominal width b. After determining a and b in this manner, the abdominal wide/narrow ratio b/a is calculated. If a plurality of verification areas are extracted, this calculation is repeated for each verification area, and the obtained abdominal wide/narrow ratio b/a is delivered to the calculation unit 113 and the notification unit 114.

観察対象となるペン301で規定数の腹部広狭比が検知されると、算出部113が算出した統計値は、そのペン301内で飼育されている豚全体の性質を表すものとして利用し得る。規定数としては、例えば、ペン301に収容されている豚の頭数の8割の値が設定される。8割程度の値が設定されていれば、一頭の豚が複数回観察されていたとしても、その影響を小さく留めることが期待できる。そして、その後に検知された腹部広狭比が、算出された統計値に対して閾値以上の偏差を示す場合には、その腹部広狭比が検知された豚に対して発育異常があると推定し得る。統計処理を通じて発育異常を推定する手法は、臀部幅を用いる場合も腹部広狭比を用いる場合も同様である。 When a predetermined number of abdominal wide/narrow ratios are detected in the pen 301 to be observed, the statistical value calculated by the calculation unit 113 can be used to represent the characteristics of the entire pig kept in the pen 301. The prescribed number is set to, for example, 80% of the number of pigs housed in the pen 301. If a value of around 80% is set, it can be expected that even if a single pig is observed multiple times, the effect will be kept small. If the subsequently detected abdominal wide/narrow ratio shows a deviation of more than a threshold value from the calculated statistical value, it can be assumed that the pig for which the abdominal wide/narrow ratio was detected has a growth abnormality. . The method of estimating growth abnormalities through statistical processing is the same whether using the hip width or the abdominal wide/narrow ratio.

次に、サーバ100’を用いた豚飼育支援方法の処理手順について説明する。図12は、演算部110の処理手順を説明するフロー図である。フローは、観察開始の指示を受けた時点から開始される。 Next, the processing procedure of the pig rearing support method using the server 100' will be explained. FIG. 12 is a flow diagram illustrating the processing procedure of the calculation unit 110. The flow starts from the moment an instruction to start observation is received.

取得部111は、ステップS201で、第nペンのカメラユニット210から、imgnの画像データを、通信ユニット130を介して取得する。例えば、n=1である場合には、第1ペンに向けられたカメラユニット210から、img1の画像データを取得する。取得部111は、取得した画像データを検知部112’へ引き渡す。nは、ステップS201が実行されるたびにインクリメントされる。 The acquisition unit 111 acquires image data of img n from the camera unit 210 of the n-th pen via the communication unit 130 in step S201. For example, if n=1, image data of img 1 is acquired from the camera unit 210 directed toward the first pen. The acquisition unit 111 delivers the acquired image data to the detection unit 112'. n is incremented each time step S201 is executed.

検知部112’は、ステップS202で、図11を用いて説明したように、受け取った画像データの画像imgnを検知用ニューラルネットワーク122へ入力する。そして、その出力から検証エリアが抽出されたらステップS203へ進み、抽出されなかったらステップS201へ戻る。 In step S202, the detection unit 112' inputs the image img n of the received image data to the detection neural network 122, as described using FIG. If the verification area is extracted from the output, the process advances to step S203, and if it is not extracted, the process returns to step S201.

検知部112’は、ステップS203へ進んだら、抽出された検証エリアごとに胴部広狭比を算出する。換言すれば、検証エリアとして抽出された部分画像から胴部広狭比を検知する。検知部112’は、その結果を算出部113および通知部114へ引き渡す。算出部113は、新たに検知された胴部広狭比を検知部112’から受け取ったら、それまでに受け取っていた胴部広狭比から算出していた統計値を更新する。そして、算出部113は、ステップS205へ進み、観察を開始した時点から受け取った腹部広狭比の数が規定数を超えているか否かを確認する。超えていればステップS204で算出した統計値と規定数を超えた旨の情報を通知部114へ引き渡してステップS206へ進み、超えていなければステップS201へ戻る。 After proceeding to step S203, the detection unit 112' calculates the torso wide/narrow ratio for each extracted verification area. In other words, the torso wide/narrow ratio is detected from the partial image extracted as the verification area. The detection unit 112' delivers the result to the calculation unit 113 and notification unit 114. When the calculation unit 113 receives the newly detected trunk wide/narrow ratio from the detection unit 112', it updates the statistical value calculated from the previously received trunk wide/narrow ratio. The calculation unit 113 then proceeds to step S205 and checks whether the number of abdominal wide/narrow ratios received from the time point when observation was started exceeds a specified number. If the number exceeds the specified number, the statistical value calculated in step S204 and information indicating that the specified number has been exceeded are transferred to the notification unit 114, and the process proceeds to step S206. If the number has not been exceeded, the process returns to step S201.

ステップS206へ進むと、通知部114は、検知部112’から受け取った腹部広狭比が、算出部113から受け取った統計値に対して、上述のように事前に設定された基準となる偏差以上の値であるか否かを確認する。本実施例では、検知部112’から受け取った腹部広狭比が平均値に対してα×σを下回っているか否かを確認し、下回っている場合にはステップS207へ進み、下回っていなければステップS207をスキップしてステップS208へ進む。ステップS207へ進んだ場合には、通知部114は、発育遅れと思われる豚が存在する旨の通知を、検知されたペンのペン情報を付加して、飼育員端末220へ発出する。ペン情報は、例えばペンを識別するために与えられているペンナンバーである。通知を発出したら、ステップS208へ進む。演算部110は、ステップS208で、観察期間が終了したか否かを確認する。観察期間が終了していなければ、ステップS201へ戻って観察を続行する。終了していれば、一連の処理を終える。 Proceeding to step S206, the notification unit 114 determines that the abdominal wide/narrow ratio received from the detection unit 112' is greater than or equal to the preset standard deviation from the statistical value received from the calculation unit 113. Check whether it is a value. In this embodiment, it is checked whether the abdominal wide/narrow ratio received from the detection unit 112' is less than the average value by α×σ, and if it is, the process proceeds to step S207; if not, the process proceeds to step S207. Skip S207 and proceed to step S208. If the process proceeds to step S207, the notification unit 114 sends a notification to the keeper terminal 220 that there is a pig that is considered to be developmentally delayed, with the pen information of the detected pen added. The pen information is, for example, a pen number given to identify a pen. Once the notification is issued, the process advances to step S208. In step S208, the calculation unit 110 checks whether the observation period has ended. If the observation period has not ended, the process returns to step S201 and continues observation. If it has been completed, the series of processing is completed.

なお、上記の処理手順に対しても、臀部幅の処理手順と同様に、規定数を超えた後に、それまでに蓄積された腹部広狭比のそれぞれを判定してもよい。また、観察期間の設定や新たな観察期間が開始される場合の処理も同様である。 Note that in the above processing procedure, similarly to the processing procedure for the buttock width, each of the abdominal wide/narrow ratios accumulated up to that time may be determined after the predetermined number has been exceeded. Further, the process for setting the observation period and starting a new observation period is also similar.

以上いくつかの実施例を通じて説明した本実施形態においては、複数のペン301が一つの豚舎に設けられている場合を想定したが、複数の豚舎に亘って設けられているペン301を観察対象にしてもよい。また、検知通知の出力先は、飼育員端末220に限らない。例えば、無線ユニット230およびネットワーク200を介してサーバ100、100’と接続された告知灯を、それぞれのペン301に隣接して一つずつ設置し、当該告知灯へ通知を出力してもよい。サーバ100、100’は、例えば第5ペンにおいて発育遅れの豚を検知したら、第5ペンに隣接して設置された告知灯へ通知を送信して当該告知灯を点灯させる。また、演算部110は、サーバ100、100’に接続された表示モニタ150に、検知部112、112’が検知した結果や、算出部113が算出した統計値、通知部114が発出する通知を直接的に表示しても構わない。 In this embodiment described through several examples above, it is assumed that a plurality of pens 301 are provided in one pigsty, but it is also possible to observe pens 301 provided across a plurality of pigsty. It's okay. Further, the output destination of the detection notification is not limited to the zookeeper terminal 220. For example, one notification light connected to the servers 100, 100' via the wireless unit 230 and the network 200 may be installed adjacent to each pen 301, and notifications may be output to the notification light. For example, when the server 100, 100' detects a pig with growth retardation in the fifth pen, the server 100, 100' sends a notification to a notification light installed adjacent to the fifth pen and turns on the notification light. Further, the calculation unit 110 sends the results detected by the detection units 112 and 112′, the statistical values calculated by the calculation unit 113, and the notification issued by the notification unit 114 to the display monitor 150 connected to the servers 100 and 100′. It may be displayed directly.

また、以上説明した本実施形態においては、サーバ100、100’が豚飼育支援装置として機能する場合を説明したが、ハードウェア構成はこれに限らない。飼育員端末220として説明した携帯端末がサーバ100、100’と同様の処理を行えば、当該携帯端末が豚飼育支援装置として機能し得る。また、例えば、サーバ100、100’の処理の一部を飼育員端末220が担うように構成すれば、サーバ100、100’と飼育員端末220が連携するシステムが、豚飼育支援装置となり得る。 Further, in the present embodiment described above, a case has been described in which the servers 100 and 100' function as a pig breeding support device, but the hardware configuration is not limited to this. If the mobile terminal described as the breeder terminal 220 performs the same processing as the servers 100 and 100', the mobile terminal can function as a pig breeding support device. Furthermore, for example, if a part of the processing of the servers 100, 100' is configured to be carried out by the breeder terminal 220, a system in which the servers 100, 100' and the breeder terminal 220 cooperate can become a pig breeding support device.

100、100’…サーバ、110…演算部、111…取得部、112、112’…検知部、113…算出部、114…通知部、120…記憶部、121、122…検知用ニューラルネットワーク、130…通信ユニット、150…表示モニタ、160…入力デバイス、200…ネットワーク、210、211、212…カメラユニット、220…飼育員端末、230…無線ユニット、301…ペン、302…豚、303…給餌容器、304…給水容器 100, 100'...Server, 110...Computation unit, 111...Acquisition unit, 112, 112'...Detection unit, 113...Calculation unit, 114...Notification unit, 120...Storage unit, 121, 122...Neural network for detection, 130 ...Communication unit, 150...Display monitor, 160...Input device, 200...Network, 210, 211, 212...Camera unit, 220...Keeper terminal, 230...Wireless unit, 301...Pen, 302...Pig, 303...Feeding container , 304...Water supply container

Claims (9)

豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得部と、
前記画像データの画像から前記豚の臀部を抽出し、抽出された臀部画像に基づいて前記豚の臀部幅を検知する検知部と、
設定された期間の間に前記検知部によって検知された前記臀部幅の統計値を算出する算出部と、
前記統計値に対して閾値以上の偏差を示す前記臀部幅が前記検知部によって検知された場合に通知を発出する通知部と
を備える豚飼育支援装置。
an acquisition unit that acquires image data of an image captured by a camera installed toward a pen in which pigs are reared in groups;
a detection unit that extracts the buttock of the pig from the image of the image data and detects the width of the buttock of the pig based on the extracted buttock image;
a calculation unit that calculates a statistical value of the buttock width detected by the detection unit during a set period;
A pig breeding support device comprising: a notification section that issues a notification when the detection section detects the rump width that shows a deviation of more than a threshold value from the statistical value.
前記検知部は、尾部が現れている豚が写った教師画像によって学習された学習モデルを用いて前記臀部を抽出する請求項1に記載の豚飼育支援装置。 The pig breeding support device according to claim 1, wherein the detection unit extracts the rump using a learning model learned from a teacher image showing a pig with its tail exposed. 豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得部と、
前記画像データの画像から前記豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する検知部と、
設定された期間の間に前記検知部によって検知された前記広狭比の統計値を算出する算出部と、
前記統計値に対して閾値以上の偏差を示す前記広狭比が前記検知部によって検知された場合に通知を発出する通知部と
を備える豚飼育支援装置。
an acquisition unit that acquires image data of an image captured by a camera installed toward a pen in which pigs are reared in groups;
a detection unit that extracts the abdomen of the pig from the image of the image data and detects a width ratio that is a ratio between the widest abdominal width and the narrowest abdominal width based on the extracted abdominal image;
a calculation unit that calculates a statistical value of the wide/narrow ratio detected by the detection unit during a set period;
A pig breeding support device comprising: a notification unit that issues a notification when the detection unit detects the wide/narrow ratio that shows a deviation of a threshold value or more from the statistical value.
前記検知部は、四本足で立っている豚が写った教師画像によって学習された学習モデルを用いて前記腹部を抽出する請求項3に記載の豚飼育支援装置。 The pig breeding support device according to claim 3, wherein the detection unit extracts the abdomen using a learning model learned from a teacher image showing a pig standing on four legs. 前記通知部は、前記ペンが複数設けられている場合には、検知されたペンに関するペン情報を併せて通知する請求項1から4のいずれか1項に記載の豚飼育支援装置。 The pig breeding support device according to any one of claims 1 to 4, wherein the notification unit also notifies pen information regarding the detected pen when a plurality of the pens are provided. 豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、
前記画像データの画像から前記豚の臀部を抽出し、抽出された臀部画像に基づいて前記豚の臀部幅を検知する検知ステップと、
設定された期間の間に前記検知ステップによって検知された前記臀部幅の統計値を算出する算出部と、
前記統計値に対して閾値以上の偏差を示す前記臀部幅が前記検知ステップで検知された場合に通知を発出する通知ステップと
を有する豚飼育支援方法。
an acquisition step of acquiring image data of an image taken by a camera installed toward a pen in which pigs are reared in groups;
a detection step of extracting the buttock of the pig from the image of the image data and detecting the width of the buttock of the pig based on the extracted buttock image;
a calculation unit that calculates a statistical value of the buttock width detected by the detection step during a set period;
A notification step of issuing a notification when the detection step detects the rump width that shows a deviation of more than a threshold value from the statistical value.
豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、
前記画像データの画像から前記豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する検知ステップと、
設定された期間の間に前記検知ステップによって検知された前記広狭比の統計値を算出する算出部と、
前記統計値に対して閾値以上の偏差を示す前記広狭比が前記検知ステップで検知された場合に通知を発出する通知ステップと
を有する豚飼育支援方法。
an acquisition step of acquiring image data of an image taken by a camera installed toward a pen in which pigs are reared in groups;
a detection step of extracting the abdomen of the pig from the image of the image data and detecting a wide-narrow ratio that is a ratio of the widest abdominal width to the narrowest abdominal width based on the extracted abdominal image;
a calculation unit that calculates a statistical value of the wide/narrow ratio detected by the detection step during a set period;
A notification step of issuing a notification when the wide/narrow ratio exhibiting a deviation of more than a threshold value from the statistical value is detected in the detection step.
豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、
前記画像データの画像から前記豚の臀部を抽出し、抽出された臀部画像に基づいて前記豚の臀部幅を検知する検知ステップと、
設定された期間の間に前記検知ステップによって検知された前記臀部幅の統計値を算出する算出部と、
前記統計値に対して閾値以上の偏差を示す前記臀部幅が前記検知ステップで検知された場合に通知を発出する通知ステップと
をコンピュータに実行させる豚飼育支援プログラム。
an acquisition step of acquiring image data of an image taken by a camera installed toward a pen in which pigs are reared in groups;
a detection step of extracting the buttock of the pig from the image of the image data and detecting the width of the buttock of the pig based on the extracted buttock image;
a calculation unit that calculates a statistical value of the buttock width detected by the detection step during a set period;
A pig breeding support program that causes a computer to execute a notification step of issuing a notification when the rump width exhibiting a deviation of a threshold value or more from the statistical value is detected in the detection step.
豚が集団飼育されているペンに向けて設置されたカメラによって撮像された画像の画像データを取得する取得ステップと、
前記画像データの画像から前記豚の腹部を抽出し、抽出された腹部画像に基づいて最広となる腹部幅と最狭となる腹部幅の比率である広狭比を検知する検知ステップと、
設定された期間の間に前記検知ステップによって検知された前記広狭比の統計値を算出する算出部と、
前記統計値に対して閾値以上の偏差を示す前記広狭比が前記検知ステップで検知された場合に通知を発出する通知ステップと
をコンピュータに実行させる豚飼育支援プログラム。
an acquisition step of acquiring image data of an image taken by a camera installed toward a pen in which pigs are reared in groups;
a detection step of extracting the abdomen of the pig from the image of the image data and detecting a wide-narrow ratio that is a ratio of the widest abdominal width to the narrowest abdominal width based on the extracted abdominal image;
a calculation unit that calculates a statistical value of the wide/narrow ratio detected by the detection step during a set period;
A pig breeding support program that causes a computer to execute a notification step of issuing a notification when the wide/narrow ratio showing a deviation of a threshold value or more from the statistical value is detected in the detection step.
JP2021005488A 2021-01-18 2021-01-18 Pig breeding support device, pig breeding support method, and pig breeding support program Active JP7445612B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021005488A JP7445612B2 (en) 2021-01-18 2021-01-18 Pig breeding support device, pig breeding support method, and pig breeding support program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021005488A JP7445612B2 (en) 2021-01-18 2021-01-18 Pig breeding support device, pig breeding support method, and pig breeding support program

Publications (2)

Publication Number Publication Date
JP2022110224A JP2022110224A (en) 2022-07-29
JP7445612B2 true JP7445612B2 (en) 2024-03-07

Family

ID=82570364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021005488A Active JP7445612B2 (en) 2021-01-18 2021-01-18 Pig breeding support device, pig breeding support method, and pig breeding support program

Country Status (1)

Country Link
JP (1) JP7445612B2 (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002262713A (en) 2001-03-12 2002-09-17 National Agricultural Research Organization Method for judging growth of livestock and apparatus for measuring chine height
JP2016059300A (en) 2014-09-17 2016-04-25 国立大学法人広島大学 Cow body diagnostic system and cow body diagnostic method
JP2017153420A (en) 2016-03-02 2017-09-07 シャープ株式会社 Animal toilet, health condition determination device, and user terminal
WO2017187719A1 (en) 2016-04-28 2017-11-02 国立大学法人大阪大学 Health condition estimation device
JP2018201350A (en) 2017-05-31 2018-12-27 パナソニックIpマネジメント株式会社 Animal management system and plant management system
JP2019024482A (en) 2017-07-31 2019-02-21 株式会社コンピューター総合研究所 Information processing system, information processing device, and program
JP2019045304A (en) 2017-09-01 2019-03-22 Nttテクノクロス株式会社 Body weight outputting device, body weight output method and program
JP2019071896A (en) 2017-08-29 2019-05-16 株式会社ハチたま Pet excretion notification system
JP2019187277A (en) 2018-04-24 2019-10-31 国立大学法人 宮崎大学 Evaluation device, evaluation method and evaluation program of body condition score of cow
JP2019205375A (en) 2018-05-29 2019-12-05 Necソリューションイノベータ株式会社 Farm animal shipping determination display device, shipping determination display method, program and recording medium
US20200214265A1 (en) 2017-07-05 2020-07-09 Nedap N.V. Method and system for monitoring the growth of calves and piglets
JP2021132596A (en) 2020-02-27 2021-09-13 株式会社Eco‐Pork Livestock information management system, livestock information management server, livestock information management method and livestock information management program

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002262713A (en) 2001-03-12 2002-09-17 National Agricultural Research Organization Method for judging growth of livestock and apparatus for measuring chine height
JP2016059300A (en) 2014-09-17 2016-04-25 国立大学法人広島大学 Cow body diagnostic system and cow body diagnostic method
JP2017153420A (en) 2016-03-02 2017-09-07 シャープ株式会社 Animal toilet, health condition determination device, and user terminal
WO2017187719A1 (en) 2016-04-28 2017-11-02 国立大学法人大阪大学 Health condition estimation device
JP2018201350A (en) 2017-05-31 2018-12-27 パナソニックIpマネジメント株式会社 Animal management system and plant management system
US20200214265A1 (en) 2017-07-05 2020-07-09 Nedap N.V. Method and system for monitoring the growth of calves and piglets
JP2019024482A (en) 2017-07-31 2019-02-21 株式会社コンピューター総合研究所 Information processing system, information processing device, and program
JP2019071896A (en) 2017-08-29 2019-05-16 株式会社ハチたま Pet excretion notification system
JP2019045304A (en) 2017-09-01 2019-03-22 Nttテクノクロス株式会社 Body weight outputting device, body weight output method and program
JP2019187277A (en) 2018-04-24 2019-10-31 国立大学法人 宮崎大学 Evaluation device, evaluation method and evaluation program of body condition score of cow
JP2019205375A (en) 2018-05-29 2019-12-05 Necソリューションイノベータ株式会社 Farm animal shipping determination display device, shipping determination display method, program and recording medium
JP2021132596A (en) 2020-02-27 2021-09-13 株式会社Eco‐Pork Livestock information management system, livestock information management server, livestock information management method and livestock information management program

Also Published As

Publication number Publication date
JP2022110224A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
Nasirahmadi et al. Implementation of machine vision for detecting behaviour of cattle and pigs
TWI686761B (en) Livestock information management system, livestock house, livestock information management program and livestock information management method
Pezzuolo et al. On-barn pig weight estimation based on body measurements by a Kinect v1 depth camera
JP6824199B2 (en) Systems and methods for identifying individual animals based on back images
KR102582527B1 (en) Livestock information management system, livestock information management server, livestock information management method, and livestock information management program stored in a storage medium
CN114051377B (en) Animal weight determination based on 3D imaging
JP7301139B2 (en) GROWTH EVALUATION DEVICE, GROWTH EVALUATION METHOD, AND GROWTH EVALUATION PROGRAM
Papadakis et al. Sub-second analysis of fish behavior using a novel computer-vision system
JP2021190114A (en) Livestock information management system, livestock information management method and livestock information management program
Franchi et al. Estimating body weight in conventional growing pigs using a depth camera
Gomez et al. Effects of milking stall dimensions on behavior of dairy cows during milking in different milking parlor types
Mittek et al. Health monitoring of group-housed pigs using depth-enabled multi-object tracking
JP7445612B2 (en) Pig breeding support device, pig breeding support method, and pig breeding support program
ES2739620T3 (en) Procedure and device to indicate a dairy cow is likely to choose from a cabin
CN211048177U (en) Intelligent breeding system
US20230057738A1 (en) Detecting estrus in animals for insemination
JP7410200B2 (en) Specific device, specific method, and program
WO2022153829A1 (en) Pig rearing assistance apparatus, pig rearing assistance method, and pig rearing assistance program
CN116963595A (en) Pig raising support device, pig raising support method, and pig raising support program
JP2022110219A (en) Hog breeding supporting apparatus, hog breeding supporting method, and hog breeding supporting program
Lassen et al. CFIT–Cattle Feed InTake–a 3D camera based system to measure individual feed intake and predict body weight in commercial farms
CN108288057B (en) Portable poultry life information detection device
JP7410607B1 (en) Feeding management system and feeding management method
Nasirahmadi Development of automated computer vision systems for investigation of livestock behaviours
WO2022181132A1 (en) Body weight estimation system and body weight estimation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240131

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240215

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240226

R150 Certificate of patent or registration of utility model

Ref document number: 7445612

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150