Automation of Indonesian Identity Card (e-KTP) Data Extraction Using Cloud Functions and Cloud Vision API
-
Go to Google Cloud Platform Console.
-
Create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Open Cloud Shell.
-
Enable Cloud Build, Cloud Functions, and Cloud Vision APIs.
gcloud services enable \ cloudbuild.googleapis.com \ cloudfunctions.googleapis.com \ vision.googleapis.com
-
Clone this repository.
git clone https://github.com/arryaaas/Identify.git
-
Move directory.
cd ~/Identify
-
Set default region for Cloud Functions.
gcloud config set functions/region asia-southeast2
-
Deploying Functions.
gcloud functions deploy ocr-service \ --runtime python39 \ --trigger-http \ --entry-point parse_multipart \ --allow-unauthenticated
https://asia-southeast2-glossy-attic-357602.cloudfunctions.net/ocr-service
Distributed under the MIT License. See LICENSE
for more information.
Mochammad Arya Salsabila - [email protected]