Here is the python code for the three files I use. One analyzes, one does the image pulls from the cam, and the other adjusts the focus at sunrise/sunset. Hopefully this helps some, I am not a professional programmer so you can probably make it a lot better.
----ANALYZER----
from openalpr...