All

What are you looking for?

All
Projects
Results
Organizations

Quick search

  • Projects supported by TA ČR
  • Excellent projects
  • Projects with the highest public support
  • Current projects

Smart search

  • That is how I find a specific +word
  • That is how I leave the -word out of the results
  • “That is how I can find the whole phrase”

Implementation of Machine Vision Methods for Cattle Detection and Activity Monitoring

The result's identifiers

  • Result code in IS VaVaI

    <a href="https://www.isvavai.cz/riv?ss=detail&h=RIV%2F60076658%3A12410%2F25%3A43909786" target="_blank" >RIV/60076658:12410/25:43909786 - isvavai.cz</a>

  • Alternative codes found

    RIV/60076658:12220/25:43909786

  • Result on the web

    <a href="https://www.mdpi.com/2227-7080/13/3/116" target="_blank" >https://www.mdpi.com/2227-7080/13/3/116</a>

  • DOI - Digital Object Identifier

    <a href="http://dx.doi.org/10.3390/technologies13030116" target="_blank" >10.3390/technologies13030116</a>

Alternative languages

  • Result language

    angličtina

  • Original language name

    Implementation of Machine Vision Methods for Cattle Detection and Activity Monitoring

  • Original language description

    The goal of this research was to implement machine vision algorithms in a cattle stable to detect cattle in stalls and determine their activities. It also focused on finding the optimal hyperparameter settings for training the model, as balancing prediction accuracy, training time, and computational demands is crucial for real-world implementation. The investigation of suitable parameters was carried out on the YOLOv5 convolutional neural network (CNN). The types of the YOLOv5 network (v5x, v5l, v5m, v5s, and v5n), the effect of the learning rate (0.1, 0.01, and 0.001), the batch size (4, 8, 16, and 32), and the effect of the optimizer used (SGD and Adam) were compared in a step-by-step process. The main focus was on mAP 0.5 and mAP 0.5:0.95 metrics and total training time, and we came to the following conclusions: In terms of optimization between time and accuracy, the YOLOv5m performed the best, with a mAP 0.5:0.95 of 0.8969 (compared to 0.9070 for YOLOv5x). The training time for YOLOv5m was 7:48:19, while YOLOv5x took 16:53:27. When comparing learning rates, the variations in accuracy and training time were minimal. The highest accuracy (0.9028) occurred with a learning rate of 0.001, and the lowest (0.8897) with a learning rate of 0.1. For training time, the fastest was 7:47:17, with a difference of 1:02:00 between the fastest and slowest times. When comparing the effect of batch size, model accuracy showed only minimal differences (in tenths of a percentage), but there were significant time savings. When using a batch size of 8, the training time was 12:50:48, while increasing the batch size to 32 reduced the training time to 6:07:13, thus speeding up the training process by 6:43:35. The last parameter compared was the optimizer. SGD and Adam optimizers were compared. The choice of optimizer had a minimal impact on the training time, with differences only in seconds. However, the accuracy of the trained model was 6 per cent higher (0.8969) when using the SGD optimizer.

  • Czech name

  • Czech description

Classification

  • Type

    J<sub>imp</sub> - Article in a specialist periodical, which is included in the Web of Science database

  • CEP classification

  • OECD FORD branch

    40201 - Animal and dairy science; (Animal biotechnology to be 4.4)

Result continuities

  • Project

    <a href="/en/project/FW03010447" target="_blank" >FW03010447: Development of an intelligent system for increasing the performance of dairy cattle using artificial intelligence methods</a><br>

  • Continuities

    P - Projekt vyzkumu a vyvoje financovany z verejnych zdroju (s odkazem do CEP)

Others

  • Publication year

    2025

  • Confidentiality

    S - Úplné a pravdivé údaje o projektu nepodléhají ochraně podle zvláštních právních předpisů

Data specific for result type

  • Name of the periodical

    Technologies

  • ISSN

  • e-ISSN

    2227-7080

  • Volume of the periodical

    13

  • Issue of the periodical within the volume

    3

  • Country of publishing house

    CH - SWITZERLAND

  • Number of pages

    22

  • Pages from-to

    1-22

  • UT code for WoS article

    001453375800001

  • EID of the result in the Scopus database

    2-s2.0-105001258798