INTRODUCTION
A program that detects Lagori using a webcam and OpenCV color detection algorithm and delivers the data in term of pixel location to the robot's mainboard via UART communication. Written for UTM Robocon Team Abu ROBOCON 2022 competition.
What have I learnt?
I learnt to use OpenCV and most of its library for color detection. I also learnt how to create user interface for tuning and how to do serial communication between x86 and STM32F4. I had also familiarized myself with Linux (Ubuntu) environment which I use for programming during my time in Robocon.
Item Used:
1. Intel Device
2. Webcam
3. STM32F4 board
4. Some Cables
GitHub: https://github.com/HykalAzr/LaghoriDetectionWebCAM.git
Language: C++
Code Section
Include Files and Declaration:
Tuning Interface:
Serial Communication (UART):
Main Program: