Diploma OCR

 

Reading this article you'll be able to build an OCR API that extracts data from diploma using our deep learning engine.

 

 

Prerequisites

  1. You’ll need to sign up to get a free account. 
  2. 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:

 

  • Date
  • 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

 

Diploma OCR

 

 

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 ‘Create a new API’ 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:

 

 

 

Setup your diploma OCR API”
 

 

 

Once you’re ready, click on the “next” button. We are going to specify the data types for each of the fields we want our API to extract.

 

diploma OCR

 

To go further, you can download this json config to set up your data model or do it manually.

 

 

Date: in European format

 

 Date field for medical prescription OCR

 

 

University name: String which contains both numeric and alpha characters

 

University name for diploma OCR

 

 

Graduate name: A name never contains numeric characters

 

Graduate Name field for diploma OCR

 

 

Major: String which only contains alpha characters

 

Major field for diploma OCR

 

 

Diploma number: Amount

 

Diploma number for diploma OCR

 

 

Once you’re done setting up your data model, press the Start training your model button at the bottom of the screen.

 

 

Train diploma OCR

 

 

Train your diploma OCR

 

Deep learning diploma OCR training

 

 

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 on our chat!