Depending on where you live, recording passing license plates could be very unlawful, and leave you open to significant penalties, so best to check before you set something like this up.
Great point to add. In the US, as long as you are capturing from private property there should not be an issue (but IANAL)