The project – nameplate scanning and traffic notice
It is very common for cameras to capture speeding vehicles. As a consequence, the owners get traffic notices to pay a fine. We will automate a trimmed-down version of this process using GCP serverless products:
- The captured number plates will be uploaded to a Google Cloud storage bucket.
- An Eventarc rule will be triggered due to this upload event and will subsequently invoke a Cloud Run container.
- The Cloud Run container will process the image and extract the number plate, which will be sent to a Pub/Sub topic.
- The Pub/Sub message will trigger a cloud function that will pick up the owner’s details from a Cloud Spanner database, generate a PDF report, and upload it to another cloud bucket for further processing.
The architecture will look as follows:
Figure 5.3 – GCP project – nameplate scanning
We have provided the implementation for this in this...