Hi! Both Tesaract OCR and OpenALPR have Python bindings:
You can use them from a probe function in your Python app. The sample code on those sites load images from file which would be inefficient. If those bindings can directly work with numpy or cv2.image, then it would be much better. Still, it’s possible to save images to file from probe function and then reload them.
Please refer to the image data access app for retrieving the images and processing/saving them with OpenCV: