Take a look at the following scripts and repositories:

Tensorflow-Lite-Object-Detection-with-the-Tensorflow-Object-Detection-API/tflite_object_detection_with_video.py at master · TannerGilbert/Tensorflow-Lite-Object-Detection-with-the-Tensorflow-Object-Detection-API · GitHub 6
examples/detect_picamera.py at master · tensorflow/examples · GitHub 4
GitHub - EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi: A tutorial show 3

I hope this helps you out if you have any further questions feel free to ask.