Can you please elaborate on requirements? Do you need to validate the string value for license plate for correct format string ? What is the correct format ? Or you want to use some REST service to check the number for existence ?
What about getting the string value at all - do you need camera and OCR ?