Cargando…

Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi

RoboCupJunior is a project-oriented competition for primary and secondary school students that promotes robotics, computer science and programing. Through real life scenarios, students are encouraged to engage in robotics in order to help people. One of the popular categories is Rescue Line, in whic...

Descripción completa

Detalles Bibliográficos
Autores principales: Keča, Dominik, Kunović, Ivan, Matić, Jakov, Sovic Krzic, Ana
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10147031/
https://www.ncbi.nlm.nih.gov/pubmed/37112411
http://dx.doi.org/10.3390/s23084071
_version_ 1785034718924767232
author Keča, Dominik
Kunović, Ivan
Matić, Jakov
Sovic Krzic, Ana
author_facet Keča, Dominik
Kunović, Ivan
Matić, Jakov
Sovic Krzic, Ana
author_sort Keča, Dominik
collection PubMed
description RoboCupJunior is a project-oriented competition for primary and secondary school students that promotes robotics, computer science and programing. Through real life scenarios, students are encouraged to engage in robotics in order to help people. One of the popular categories is Rescue Line, in which an autonomous robot has to find and rescue victims. The victim is in the shape of a silver ball that reflects light and is electrically conductive. The robot should find the victim and place it in the evacuation zone. Teams mostly detect victims (balls) using random walk or distant sensors. In this preliminary study, we explored the possibility of using a camera, Hough transform (HT) and deep learning methods for finding and locating balls with the educational mobile robot Fischertechnik with Raspberry Pi (RPi). We trained, tested and validated the performance of different algorithms (convolutional neural networks for object detection and U-NET architecture for sematic segmentation) on a handmade dataset made of images of balls in different light conditions and surroundings. RESNET50 was the most accurate, and MOBILENET_V3_LARGE_320 was the fastest object detection method, while EFFICIENTNET-B0 proved to be the most accurate, and MOBILENET_V2 was the fastest semantic segmentation method on the RPi. HT was by far the fastest method, but produced significantly worse results. These methods were then implemented on a robot and tested in a simplified environment (one silver ball with white surroundings and different light conditions) where HT had the best ratio of speed and accuracy (4.71 s, DICE 0.7989, IoU 0.6651). The results show that microcomputers without GPUs are still too weak for complicated deep learning algorithms in real-time situations, although these algorithms show much higher accuracy in complicated environment situations.
format Online
Article
Text
id pubmed-10147031
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-101470312023-04-29 Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi Keča, Dominik Kunović, Ivan Matić, Jakov Sovic Krzic, Ana Sensors (Basel) Article RoboCupJunior is a project-oriented competition for primary and secondary school students that promotes robotics, computer science and programing. Through real life scenarios, students are encouraged to engage in robotics in order to help people. One of the popular categories is Rescue Line, in which an autonomous robot has to find and rescue victims. The victim is in the shape of a silver ball that reflects light and is electrically conductive. The robot should find the victim and place it in the evacuation zone. Teams mostly detect victims (balls) using random walk or distant sensors. In this preliminary study, we explored the possibility of using a camera, Hough transform (HT) and deep learning methods for finding and locating balls with the educational mobile robot Fischertechnik with Raspberry Pi (RPi). We trained, tested and validated the performance of different algorithms (convolutional neural networks for object detection and U-NET architecture for sematic segmentation) on a handmade dataset made of images of balls in different light conditions and surroundings. RESNET50 was the most accurate, and MOBILENET_V3_LARGE_320 was the fastest object detection method, while EFFICIENTNET-B0 proved to be the most accurate, and MOBILENET_V2 was the fastest semantic segmentation method on the RPi. HT was by far the fastest method, but produced significantly worse results. These methods were then implemented on a robot and tested in a simplified environment (one silver ball with white surroundings and different light conditions) where HT had the best ratio of speed and accuracy (4.71 s, DICE 0.7989, IoU 0.6651). The results show that microcomputers without GPUs are still too weak for complicated deep learning algorithms in real-time situations, although these algorithms show much higher accuracy in complicated environment situations. MDPI 2023-04-18 /pmc/articles/PMC10147031/ /pubmed/37112411 http://dx.doi.org/10.3390/s23084071 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Keča, Dominik
Kunović, Ivan
Matić, Jakov
Sovic Krzic, Ana
Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi
title Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi
title_full Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi
title_fullStr Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi
title_full_unstemmed Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi
title_short Ball Detection Using Deep Learning Implemented on an Educational Robot Based on Raspberry Pi
title_sort ball detection using deep learning implemented on an educational robot based on raspberry pi
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10147031/
https://www.ncbi.nlm.nih.gov/pubmed/37112411
http://dx.doi.org/10.3390/s23084071
work_keys_str_mv AT kecadominik balldetectionusingdeeplearningimplementedonaneducationalrobotbasedonraspberrypi
AT kunovicivan balldetectionusingdeeplearningimplementedonaneducationalrobotbasedonraspberrypi
AT maticjakov balldetectionusingdeeplearningimplementedonaneducationalrobotbasedonraspberrypi
AT sovickrzicana balldetectionusingdeeplearningimplementedonaneducationalrobotbasedonraspberrypi