Please use this identifier to cite or link to this item:
http://riu.ufam.edu.br/handle/prefix/10015| metadata.dc.type: | Trabalho de Conclusão de Curso |
| Title: | Rastreamento e detecção de jogadores de futebol em tempo real usando YOLO v8 |
| Other Titles: | Real-time tracking and detection of soccer players using YOLO v8 |
| metadata.dc.creator: | Lima, Juliano Salvattore Maia de |
| metadata.dc.contributor.advisor1: | Silva Júnior, Waldir Sabino da |
| metadata.dc.contributor.referee1: | Carvalho, Celso Barbosa |
| metadata.dc.contributor.referee2: | Mattos, Edma Valléria Cunha Urtiga de |
| metadata.dc.description.resumo: | Este estudo testou o desempenho do modelo YOLOv8 para detectar e rastrear jogadores de futebol em tempo real usando vídeos de partidas. O ponto de partida da pesquisa foi o desafio de rodar algoritmos de visão computacional em ambientes muito dinâmicos, que sofrem com jogadores se escondendo atrás dos outros (oclusões), correria intensa, mudanças no tamanho dos atletas na tela, variação de luz e a exigência de processamento instantâneo. Para resolver isso, montei uma estrutura de código que faz o pré-processamento das imagens, carrega os dados nos modelos e roda a detecção integrada aos rastreadores ByteTrack e BoT-SORT. Os testes usaram trechos do banco de dados SoccerNet, divididos em arquivos menores para não travar o computador de execução. Na prática, o sistema rodou a classe genérica de pessoas do YOLOv8, gerou as caixas de marcação (bounding boxes) nos quadros do vídeo e desenhou os caminhos percorridos pelos atletas no campo ao longo do tempo. O sistema funcionou bem e conseguiu achar e acompanhar visualmente quase todos os jogadores nas cenas testadas. Os rastreadores processaram o vídeo de teste por completo, gerando milhares de marcações e permitindo desenhar o mapa de movimentação dos atletas. Nos recortes analisados de perto, a eficiência média chegou a 79,03%, o que comprova que o YOLOv8 tem viabilidade técnica para monitorar esportes ao vivo. Essa combinação com o ByteTrack e o BoT-SORT se mostrou ideal para acompanhar o deslocamento e abrir portas para análises táticas e posicionais dos times em campo. Por outro lado, o projeto também esbarrou em alguns limites importantes. Como o modelo usado já veio pré-treinado de fábrica para identificar qualquer pessoa, o sistema cometeu alguns erros pontuais, oscilou o rendimento entre um frame e outro e acabou confundindo o árbitro com um jogador. Outro aprendizado foi notar que avaliar o sucesso do sistema contando apenas o total de detecções e a nota de confiança do modelo é muito superficial para medir a qualidade real do rastreamento. O YOLOv8 é uma ferramenta excelente e com muito potencial para o futebol, mas os próximos passos exigem o uso de métricas específicas de rastreamento de vídeo, como MOTA, IDF1 e HOTA, além de treinar a inteligência artificial com imagens focadas exclusivamente em ambiente de jogo e uniformes. |
| Abstract: | This study tested the performance of the YOLOv8 model to detect and track football players in real time using match videos. The starting point of the research was the challenge of running computer vision algorithms in highly dynamic environments, marked by player occlusions, intense movement, changes in player scale on the screen, lighting variations, and the need for instant processing. To address this, I built a code structure capable of preprocessing the images, loading the data into the models, and running detection integrated with the ByteTrack and BoT-SORT trackers. The tests used clips from the SoccerNet dataset, divided into smaller files to avoid overloading the computer used for execution. In practice, the system ran the generic YOLOv8 “person” class, generated bounding boxes on the video frames, and traced the paths covered by the athletes on the field over time. The system performed well and was able to find and visually track almost all players in the tested scenes. The trackers processed the entire test video, generating thousands of detections and making it possible to draw the movement map of the athletes. In the excerpts analyzed more closely, the average efficiency reached 79,03%, which confirms that YOLOv8 has technical feasibility for live sports monitoring. This combination with ByteTrack and BoT-SORT proved effective for following player movement and opens possibilities for tactical and positional analysis of teams on the field. On the other hand, the project also ran into some important limitations. Since the model was pre-trained to identify any person, the system made some occasional mistakes, showed fluctuations in performance from one frame to another, and ended up confusing the referee with a player. Another key finding was that evaluating the system only by counting the total number of detections and the model’s confidence score is too superficial to measure the real quality of tracking. YOLOv8 is an excellent tool with strong potential for football applications, but the next steps require the use of specific video-tracking metrics, such as MOTA, IDF1, and HOTA, as well as training the artificial intelligence with images focused exclusively on match environments and player uniforms. |
| Keywords: | YOLOv8 Visão computacional Futebol Detecção de objetos Computer vision Football Object detection |
| metadata.dc.subject.cnpq: | ENGENHARIAS |
| metadata.dc.language: | por |
| metadata.dc.publisher.country: | Brasil |
| metadata.dc.publisher.department: | FT - Faculdade de Tecnologia |
| metadata.dc.publisher.course: | Engenharia Elétrica – Eletrônica - Bacharelado - Manaus |
| Citation: | LIMA, Juliano Salvattore Maia de. Rastreamento e detecção de jogadores de futebol em tempo real usando YOLO v8. 2026. 58 f. Trabalho de Conclusão de Curso (Bacharelado em Engenharia Elétrica Eletrônica) - Universidade Federal do Amazonas, Manaus, 2026 |
| metadata.dc.rights: | Acesso Aberto |
| metadata.dc.rights.uri: | https://creativecommons.org/licenses/by-nc-nd/4.0/ |
| URI: | http://riu.ufam.edu.br/handle/prefix/10015 |
| Appears in Collections: | Trabalho de Conclusão de Curso - Graduação - Engenharias |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| TCC_JulianoLima.pdf | 2,46 MB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.