How to inference with a YOLOv5 tflite model?

Hi there, I really need help with this. I have a YOLOv5 model which is similar to that in tensorflow - Process output data from YOLOv5 TFlite - Stack Overflow. I am a noob when it comes to TensorFlow, and really need help figuring out how to make a python program that can run my object detection model. I am going to run this on a Raspberry Pi 4 with Bookworm. Sorry if this is a simple question but I really need help. Thank you!

I have tried using my dataset with other types of model architectures but they all are too slow or too inaccurate.