Reading this article you'll be able to build an OCR API that extracts data from diploma using our deep learning engine.
- You’ll need to sign up to get a free beta account.
- You’ll need at least 20 different diploma images or pdfs to train your OCR model
Define your diploma prescription use case
First, we’re going to define what fields we want to extract from your diploma.
Here is the list of fields we are going to extract using our OCR API:
- University name: String which contains both numeric and alpha characters
- Graduate name: String which Only contains alpha characters
- Major: String which only contains alpha characters
- Diploma number: Amount
That’s it for our use case. Feel free to add any other relevant data to fit your requirements.
Deploy your API
Once you have defined what fields you want to extract, head over to the platform and press the ‘build a new endpoint’ button.
You land now on the setup page. You can use any image you want for setting up the API, my setup looks like this:
Once you’re ready, click on the “next step” button. We are going to specify the data types for each of the fields we want our API to extract.
To go further, you can download this json config to set up your data model or do it manually.
Date: in European format
University name: String which contains both numeric and alpha characters
Graduate name: A name never contains numeric characters
Major: String which only contains alpha characters
Diploma number: Amount
Once you’re done setting up your data model, press the Data model ready? start training button at the top of the screen.
Train your diploma OCR
Now is the time to train your diploma deep learning model in the Training section of our API. You will soon be able to use your custom OCR API for diplomas! When you will reach at least 20 documents to train your model you will receive a confirmation email allowing your model to make predictions.
To get more information about the training phase, please refer to the getting started tutorial. If you have any questions regarding your use case, feel free to reach out!