Skip to main content
The Journal of Reproduction and Development logoLink to The Journal of Reproduction and Development
. 2020 Dec 8;67(1):53–58. doi: 10.1262/jrd.2020-087

Predicting the start of calving in Japanese Black cattle using camera image analysis

Hisashi NABENISHI 1, Natsuko NEGISHI 1, Atusi YAMAZAKI 1
PMCID: PMC7902219  PMID: 33298634

Abstract

This study assessed the feasibility of using camera image analysis to detect behavioral changes as an indicator of the onset of calving in Japanese Black cattle. Thirty-five pregnant cattle individually housed in pens were used and were continuously monitored using a digital camera system. For the automatic determination of the x and y coordinates of a cow, trajectory analysis was conducted using thermal image and analysis software, and the distances moved were calculated using coordinate data. Further, the frequency of postural changes and the time spent tail raising per hour were measured for 14 cows using visible images. The measurement data were used to calculate hourly data for 12 h prior to amniorrhexis (first rupture of the allantoic sac). The hourly distances moved tended to increase at the time of amniorrhexis, with significantly longer distances measured 3–0 h before amniorrhexis than those at 12–8 h before amniorrhexis (P < 0.05). In all cows, amniorrhexis occurred within 11 h of hourly distances moved by more than 50% compared with distance moved the previous hour. The overall average elapsed time before amniorrhexis was 9 h 30 min (range: 5–11 h). Tail raising time and the frequency of postural changes significantly increased at 1–0 h and 2–0 h before amniorrhexis, respectively. This suggests that predicting the time of calving is possible by measuring the activity of Japanese Black cows during late pregnancy using camera image analysis as a non-invasive technique.

Keywords: Calving, Cattle, Image analysis, Prediction


Dystocia has a significant effect on the productivity of the beef industry and is associated with increased mortality of newborn calves and negative effects on dam reproductive performance [1, 2]. The reported incidence of dystocia ranges from 4.4% to 8.6% in beef cattle [3,4,5], and the incidence of stillbirths occurring with unassisted calving is 24% [6]. However, farmer presence during calving provides an opportunity for assistance during difficult calving situations. Therefore, supervision during the calving process, which allows appropriate intervention, is likely to reduce the effects of dystocia on calves and their dams [7, 8].

Kumazaki and Mori [9] reported a gestation length of 285 days for Japanese Black cattle. However, some variation in gestation length exists, and more recently, Sakatani etal. [4] reported a gestation length of 290 days. Therefore, although the expected calving date of a cow can be estimated, the data determined is imprecise, and farmers still need to check their cows regularly to identify when they start calving, which increases farmer workload.

In pregnant cows, behavior and activity patterns change as the time to calving approaches. These changes include an increased number of bouts of lying [10] and an increased duration of walking and tail raising [11]. Technical instruments, such as activity meters [12] and pedometers [13], can be used to detect cows in estrus by monitoring their activity, thereby assisting with the management of dairy and beef farms. The assessment of cow activity before calving using electronic data loggers may provide an effective alert system for calving time. However, the aforementioned commercially available devices above must be physically attached to the cow, and they can be invasive and alter the behavior of cows [14].

Using camera images and video tracking techniques for analyzing behavior is becoming more common. It is non-invasive and facilitates the collection of more frequent data over longer periods. This study aimed to assess the feasibility of camera image analysis as a non-invasive method to predict and monitor calving. The objective of this study was to determine the ability of camera image analysis to detect behavioral activity changes as an indicator of the onset of calving in Japanese Black cattle. The findings of this study contribute to the development of methods for improving the prediction of calving.

Materials and Methods

The animal experimentation protocol was approved by the President of Kitasato University based on the judgment of the Institutional Animal Care and Use Committee of Kitasato University.

The study was conducted at a commercial beef cattle farm where Japanese Black cattle were reared in roofed cowsheds. Thirty-five multiparous pregnant Japanese Black cattle (parity range: 2–11) were enrolled and individually housed in open cubicle houses, which were 4-m wide × 5-m long with wood chip flooring. The cows were fed enough roughage and concentrate feeds for their maintenance and pregnancy, as calculated following the Japanese Feeding Standard for Beef Cattle [15] based on each cow’s body weight. The feed was divided into two doses: one fed in the morning (0830 h) and the other in late afternoon (1630 h). The cows were also provided ad libitum access to water and rock salt.

Test cows were continuously monitored using a thermal camera (Thermal Camera Module; TAMRON, Saitama, Japan) (80 × 80 pixels, ± 2°C) and a visible infrared camera equipped with an infrared illuminator for nighttime monitoring (AXIS M1065-L Network Camera; Axis Communications AB, Lund, Sweden). The two cameras were housed together as a digital camera system. The camera was located on a pillar 2.5 m above the ground, and the target cow was monitored diagonally upward (Fig. 1). The images procured by the two cameras are shown in Fig. 2. The distance moved was analyzed using thermal images, and postural change frequencies and tail raising time were analyzed using visible infrared images. The obtained images were used to analyze changes in behavioral activity, as discussed below. All behaviors were captured as audio video interleave (AVI) files of eight frames per second using a digital camera system. The distance moved was calculated from the AVI files using a two-dimensional video analysis software (Move-tr/2D 7.0; Library, Tokyo, Japan). Cow images were separated from the background surface using binarization. For the automatic determination of the x and y coordinates of each cow, the centroid of the cow was calculated using the video analysis software. Subsequently, trajectory analysis was conducted using the software, and the distance moved was calculated automatically from the coordinate data according to the following model:

Fig. 1.

Fig. 1.

Camera installation in a maternity pen. The cameras (arrow) were located on a pillar 2.5 m above the ground, and the target cow was monitored from diagonally upward.

Fig. 2.

Fig. 2.

Thermal (a) and visible (b) images obtained using the digital camera system. The distance moved was analyzed using thermal images (a), and postural change frequency and tail raising time were analyzed using visible images (b).

Distance between two points = ((X1X2)2+(Y1Y2)2)

Further, the frequencies of postural changes (transitioning from standing to lying and vice versa) and the tail raising time per hour were calculated for 14 test cows by video visual observation using visible images. All measurement data were retrieved and analyzed to calculate hourly data for 12 h before the occurrence of amniorrhexis (first rupture of the allantoic sac).

Statistical analysis

The data on distances moved, postural change frequency, and tail raising time during the 12 h before amniorrhexis were summarized hourly for the analysis. These parameters were analyzed by analysis of variance followed by multiple comparisons using the Tukey-Karmer’s test. All statistical analyses were performed using the JMP 13.2.0 software (JMP Version 13.20; SAS Institute, Cary, NC, USA). Differences were considered significant at P < 0.05.

Results

None of the 35 test cows presented with dystocia, and assistance for newborn calves was performed as necessary. All newborn calves were single births.

During the 12 h before amniorrhexis, the hourly distances moved tended to increase while nearing to amniorrhexis, with the measurements at 3 h before amniorrhexis being significantly longer than those at 12–7 h before amniorrhexis (P < 0.05) (Fig. 3). In addition, the distance moved during the final hour before amniorrhexis was the longest distance moved throughout the experimental period.

Fig. 3.

Fig. 3.

Changes in the hourly distances moved during the 12 h before amniorrhexis (n = 35). Statistically significant differences are indicated by different letters (P < 0.05). The distance moved was calculated using two-dimensional video analysis software. For the automatic determination of the x and y coordinates for each cow, the centroid of the cow was calculated. Subsequently, trajectory analysis was conducted, and the distance moved was calculated automatically from coordinate data.

An example of the movement trajectories for one cow over the 12 h before amniorrhexis is shown in Fig. 4. The movement trajectories 12–11 h before amniorrhexis were stable (Fig. 4a); however, 7–6 h before amniorrhexis, cows turned several times in their pens (Fig. 4b), and in the last hour before amniorrhexis, the cows turned frequently (Fig. 4c). Various movements of the pregnant cows were successfully visualized using two-dimensional position coordinate analysis.

Fig. 4.

Fig. 4.

Examples of cow movements over the 12 h before amniorrhexis. Panels (a) to (c) indicate the trajectories. Panels (d) to (f) show the cumulative distances moved that correspond to (a) to (c), respectively.

Figures 4d–f shows the cumulative distances moved during the hour before amniorrhexis. The cows were standing and moving when the gradient of cumulative distance was large. However, if the slope was gentle, the cow was lying or standing still. In some cases, the cumulative distance slowly increased even when the cow was lying down. This could be attributed to the low motion of the centroid of the cow during lying. The average distance moved 12–11 h before amniorrhexis was only 40 m h–1 (d); at 7–6 h before amniorrhexis, the distance moved was 107 m h–1 (e), and in the final hour before amniorrhexis, the distance moved gradually increased to 320 m h–1 (f). It should be noted that the distance moved did not increase during the last 20 min before amniorrhexis (f).

The elapsed time from when an increase over 50% occurred in the hourly distances moved to amniorrhexis is shown in Table 1. In all cows, amniorrhexis occurred within 11 h of hourly distances more than 50% compared with that moved the previous hour. The overall average elapsed time before amniorrhexis was 9 h 30 min and ranged from 5–11 h.

Table 1. Time to amniorrhexis since the an increase of more than 50% compared to the previous hour in the hourly distances moved.

5–8 h 8–9 h 10–11 h
Distribution of cows (n) 6 7 22
Distribution of cows (%) 17.1 20.0 62.9

Figure 5 shows the frequency of postural changes per hour during the 12 h before amniorrhexis. This frequency at 2–1 h and 1–0 h before amniorrhexis significantly increased compared with that at 12–3 h before amniorrhexis (P < 0.05).

Fig. 5.

Fig. 5.

The frequency of postural changes (transitioning from standing to lying and vice versa) per hour during 12 h before amniorrhexis (n = 14). Statistically significant differences are represented with different letters (P < 0.05).

Figure 6 shows the tail raising time per hour during the 12 h before amniorrhexis. This time tended to increase from 4 h before amniorrhexis; tail raising 1–0 h before amniorrhexis was significantly higher than that at 12–2 h before amniorrhexis (P < 0.05).

Fig. 6.

Fig. 6.

The time spent raising tail per hour during the 12 h before amniorrhexis (n = 14). Statistically significant differences are indicated by different letters (P < 0.05).

Discussion

Related approaches using image analysis were tested for their utility in conducting behavioral analyses of various animals, such as pigs [16], rats [17], mice [18], and fish [19], in a research laboratory. However, in commercial livestock houses, image analysis for behavior classification becomes more complicated [14]. In this study, observations were made from a commercial beef cattle farm, where Japanese Black cattle were reared in roofed cowsheds, using a thermal camera to detect the movement of cows day and night. Furthermore, using camera image analysis, the movements of pregnant cattle were successfully visualized. The thermal camera simplifies the detection problem because animal silhouettes can be easily extracted from the background regardless of lighting conditions and background. In addition, simplified thermal images are faster to calculate than visible images and can detect animals under different views, making them suitable for automatic behavior detection. To the best of our knowledge, this is the first report to record the activity of Japanese Black cattle during late pregnancy using camera image analysis as a non-invasive technique.

The process of calving is divided into three stages [20] that are characterized by hormonal, behavioral, and physical changes [10]. The behavior and activity patterns of cows change as the time to calving approaches; the frequency of transitions from lying to standing [21] and restless behavior increase in the first stage of labor [22]. This restless behavior, which is characterized by olfactory ground checks; nest-building behavior; body licking; vocalization; defecating; tail raising; and restlessness, such as transitioning between lying down, standing up, and walking [11, 22], has been attributed to discomfort during the process of calving [23]. Another possible explanation for restless behavior could be the regular myometrial contractions, which make cows restless at the onset of the first stage of calving [24]. This restless behavior often occurs 12–6 h before calving [25]. In this study, the use of camera image analysis showed that the hourly distances moved tended to increase toward the occurrence of amniorrhexis, with the distances moved 3 h before amniorrhexis being significantly longer than those at 12–7 h before amniorrhexis. Furthermore, changes in behaviors before amniorrhexis were also confirmed. Therefore, the increasing distances moved were attributed to these behaviors before calving.

A monitoring system for the early detection of behavioral changes to indicate imminent calving would be very useful. Thus, using electronic data loggers to assess cow activity before calving may provide an effective alert system for calving time. In addition, pre-calving changes in activity could be monitored using pedometers and accelerometers that are set up for estrus detection [26]. The time from the appearance of the first signs of calving until the start of calving can range from 45 min to 14 h [27]. Titler et al. [10] suggested that an increase of at least 50% in the calculated hourly activity index before calving can be used to predict the time of calf birth. They reported that the average elapsed time from the moment of over 50% change in the hourly activity index to calving was 6 h 14 min, with a range of 2 h to 14 h 15 min. Additionally, the hourly activity index can be used to predict calving with a time interval greater than 4 h in almost 76% of the prepartum period. For all cows, we found that amniorrhexis occurred within 11 h of the hourly distance moved of more than 50% compared with that moved in the previous hour. The overall average elapsed time before amniorrhexis was 9 h 30 min, with a range of 5–11 h. These findings suggest that predicting the time of calving is possible by measuring the activity in Japanese Black cows during late pregnancy using camera image analysis as a non-invasive technique.

Miedema et al. [11] showed a significant increase in the frequency of tail raises during the final 6 h before calving. Moreover, the number of bouts of lying increased during the last 6 h before calving [28]. In addition, they suggested that counting tail raises or transitions between standing and lying could potentially be useful predictors of calving within the following 6 h. We found that the tail raising time and the frequency of postural changes significantly increased at 1–0 h and 2–0 h before amniorrhexis, respectively. Therefore, future research is needed to automatically identify tail raising behavior and posture change using image analysis as well as further research on the best combination of activity and behavioral changes that are related to calving to improve the prediction of calving using automated image analysis systems. In addition, it is necessary to consider the time from amniorrhexis to delivery.

In conclusion, our results show that camera image analysis can be used as a non-invasive technique to measure the activity of Japanese Black cattle during late pregnancy. Furthermore, we succeeded in detecting a characteristic increase in activity before amniorrhexis by using this method. Our findings suggest that predicting the time of amniorrhexis in Japanese Black cows is possible. In the future, automatic detection of behavioral changes that are directly related to calving as well as activity would be necessary.

Acknowledgments

The authors thank the Okayama farm and staff for collaborating to provide animals used in this study and their assistance during the project.

References

  • 1.Tenhagen BA, Helmbold A, Heuwieser W. Effect of various degrees of dystocia in dairy cattle on calf viability, milk production, fertility and culling. J Vet Med A Physiol Pathol Clin Med 2007; 54: 98–102. [DOI] [PubMed] [Google Scholar]
  • 2.Sasaki Y, Uematsu M, Kitahara G, Osawa T, Sueyoshi M. Effects of stillbirth and dystocia on subsequent reproductive performance in Japanese Black cattle. Vet J 2014; 200: 462–463. [DOI] [PubMed] [Google Scholar]
  • 3.De Amicis I, Veronesi MC, Robbe D, Gloria A, Carluccio A. Prevalence, causes, resolution and consequences of bovine dystocia in Italy. Theriogenology 2018; 107: 104–108. [DOI] [PubMed] [Google Scholar]
  • 4.Sakatani M, Sugano T, Higo A, Naotsuka K, Hojo T, Gessei S, Uehara H, Takenouchi N. Vaginal temperature measurement by a wireless sensor for predicting the onset of calving in Japanese Black cows. Theriogenology 2018; 111: 19–24. [DOI] [PubMed] [Google Scholar]
  • 5.Uematsu M, Sasaki Y, Kitahara G, Sameshima H, Osawa T. Risk factors for stillbirth and dystocia in Japanese Black cattle. Vet J 2013; 198: 212–216. [DOI] [PubMed] [Google Scholar]
  • 6.Lombard JE, Garry FB, Tomlinson SM, Garber LP. Impacts of dystocia on health and survival of dairy calves. J Dairy Sci 2007; 90: 1751–1760. [DOI] [PubMed] [Google Scholar]
  • 7.Barrier AC, Haskell MJ, Birch S, Bagnall A, Bell DJ, Dickinson J, Macrae AI, Dwyer CM. The impact of dystocia on dairy calf health, welfare, performance and survival. Vet J 2013; 195: 86–90. [DOI] [PubMed] [Google Scholar]
  • 8.Mee JF, Sánchez-Miguel C, Doherty M. Influence of modifiable risk factors on the incidence of stillbirth/perinatal mortality in dairy cattle. Vet J 2014; 199: 19–23. [DOI] [PubMed] [Google Scholar]
  • 9.Kumazaki K, Mori J. Statistic and genetic studies on the gestation length of Japanese breed of cattle. Bulletin of the Chugoku Agricultural Experiment Station, Series B 1959; 4: 67–74. (Livestock Division). [Google Scholar]
  • 10.Titler M, Maquivar MG, Bas S, Rajala-Schultz PJ, Gordon E, McCullough K, Federico P, Schuenemann GM. Prediction of parturition in Holstein dairy cattle using electronic data loggers. J Dairy Sci 2015; 98: 5304–5312. [DOI] [PubMed] [Google Scholar]
  • 11.Miedema HM, Cockram MS, Dwyer CM, Macrae AI. Changes in the behaviour of dairy cows during the 24 h before normal calving compared with behaviour during late pregnancy. Appl Anim Behav Sci 2011; 131: 8–14. [Google Scholar]
  • 12.Kamphuis C, DelaRue B, Burke CR, Jago J. Field evaluation of 2 collar-mounted activity meters for detecting cows in estrus on a large pasture-grazed dairy farm. J Dairy Sci 2012; 95: 3045–3056. [DOI] [PubMed] [Google Scholar]
  • 13.Chebel RC, Scanavez AA, Silva PRB, Moraes JGN, Mendonça LGD, Lopes G., Jr Evaluation of presynchronized resynchronization protocols for lactating dairy cows. J Dairy Sci 2013; 96: 1009–1020. [DOI] [PubMed] [Google Scholar]
  • 14.Cangar Ö, Leroy T, Guarino M, Vranken E, Fallon R, Lenehan J, Mee J, Berckmans D. Automatic real-time monitoring of locomotion and posture behaviour of pregnant cows prior to calving using online image analysis. Comput Electron Agric 2008; 64: 53–60. [Google Scholar]
  • 15.Ministry of Agriculture Forestry and Fisheries (MAFF). Japanese Feeding Standard for Beef Cattle. Tokyo: Japan Livestock Industry Association, 2008. (In Japanese). [Google Scholar]
  • 16.Shao J, Xin H, Harmon JD. Comparison of image feature extraction for classification of swine thermal comfort behavior. Comput Electron Agric 1998; 19: 223–232. [Google Scholar]
  • 17.Tomita H, Sugano E, Isago H, Hiroi T, Wang Z, Ohta E, Tamai M. Channelrhodopsin-2 gene transduced into retinal ganglion cells restores functional vision in genetically blind rats. Exp Eye Res 2010; 90: 429–436. [DOI] [PubMed] [Google Scholar]
  • 18.Kubo KY, Yamada Y, Iinuma M, Iwaku F, Tamura Y, Watanabe K, Nakamura H, Onozuka M. Occlusal disharmony induces spatial memory impairment and hippocampal neuron degeneration via stress in SAMP8 mice. Neurosci Lett 2007; 414: 188–191. [DOI] [PubMed] [Google Scholar]
  • 19.Agetsuma M, Aoki T, Aoki R, Okamoto H. (2012). Cued fear conditioning in zebrafish (Danio rerio). In: Zebrafish protocols for neurobehavioral research. Totowa: Humana Press; 2012: 257–264. [Google Scholar]
  • 20.Mainau E, Manteca X. Pain and discomfort caused by parturition in cows and sows. Appl Anim Behav Sci 2011; 135: 241–251. [Google Scholar]
  • 21.Schuenemann GM, Nieto I, Bas S, Galvão KN, Workman J. Assessment of calving progress and reference times for obstetric intervention during dystocia in Holstein dairy cows. J Dairy Sci 2011; 94: 5494–5501. [DOI] [PubMed] [Google Scholar]
  • 22.Wehrend A, Hofmann E, Failing K, Bostedt H. Behaviour during the first stage of labour in cattle: Influence of parity and dystocia. Appl Anim Behav Sci 2006; 100: 164–170. [Google Scholar]
  • 23.Huzzey JM, von Keyserlingk MAG, Weary DM. Changes in feeding, drinking, and standing behavior of dairy cows during the transition period. J Dairy Sci 2005; 88: 2454–2461. [DOI] [PubMed] [Google Scholar]
  • 24.Proudfoot KL, Jensen MB, Heegaard PM, von Keyserlingk MAG. Effect of moving dairy cows at different stages of labor on behavior during parturition. J Dairy Sci 2013; 96: 1638–1646. [DOI] [PubMed] [Google Scholar]
  • 25.Lange K, Fischer-Tenhagen C, Heuwieser W. Predicting stage 2 of calving in Holstein-Friesian heifers. J Dairy Sci 2017; 100: 4847–4856. [DOI] [PubMed] [Google Scholar]
  • 26.Saint-Dizier M, Chastant-Maillard S. Towards an automated detection of oestrus in dairy cattle. Reprod Domest Anim 2012; 47: 1056–1061. [DOI] [PubMed] [Google Scholar]
  • 27.Lidfors LM, Moran D, Jung J, Jensen P, Castren H. Behaviour at calving and choice of calving place in cattle kept in different environments. Appl Anim Behav Sci 1994; 42: 11–28. [Google Scholar]
  • 28.Jensen MB. Behaviour around the time of calving in dairy cows. Appl Anim Behav Sci 2012; 139: 195–202. [Google Scholar]

Articles from The Journal of Reproduction and Development are provided here courtesy of The Society for Reproduction and Development

RESOURCES