For wildcard week I wanted to explore object deteciton libraries with tinyML in raspberry pi. There was a lot of documentation online that seemed easy to follow but was outdated.
So I first began with a Raspberry Pi 5 + Pi Camera 2. And one big step was to move the display from an external monitor to a mini portable monitor: XPT 2046 by waveshare. I primarily used the following link to follow steps and move the display:
link to mini display screen tutorial
After turning it on I focused on installing the tflite files as well as the yolo libraries using the terminal and github repos that are in the tutorials above.
I used the Thonny IDE that is mentioned in the documentation to run the python code. It involved some setup within in setting the virtual environment and finding the right python version.
Then, inputting the code was easy- it was mostly setup and had the full functional code. Just needed to change a few parameters which included the YOLO model- the default one was xs so I upped it into the medium data model.
This initial program run was the following and in the already small screeen it felt very small and hard to see.
Here it is after adjusting the code to let it run full screen.