I would like to open the gate based on a recognized license plate.
So I want to recognize the license plate in an image, determine the size of the license plate and determine the text (OCR).
The size of the marking allows me to determine whether a car is moving towards the gate.
What is the general approach?
I tried to follow the tutorial [Coding Robin](http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-
However, opencv_traincascade is disabled in OpenCV 4.x.
I can’t find anything ready-made for German license plates.
Best regards Dirk