Inspiration

The line between RPA and Artificial Intelligence is getting closer. We provide a document classifier developed with Deep Neural Networks which can be deployed in a server and used from a RPA project through an API.

Currently, our model is able to categorize 5 types of documents: invoices, passports, driving licences, Spanish ID cards, and Spanish ID cards 3.0.

For example, this project may be used to classify email attachments and forward them to different business areas depending on its category.

What it does

Given a PDF or image file, UiPath makes an API call to the inference server in order to classify the input file in one of the following categories: invoices, passports, driving licences, Spanish ID cards, and Spanish ID cards 3.0.

How we built it

We built this in UiPath using the HTTP Request Activity which makes an API call to the inference server.

The inference server is built with flask and gunicorn. It exposes an API endpoint that executes the document classification model trained with Keras and returns its result in JSON format.

More details about how to deploy an inference server can be found in Configuring an inference server.

What's next for Document Classification

We would like to increase the number of document categories that can be recognized and improve the model's accuracy.

Built With

  • artificial-intelligence
  • deep-learning
  • flask
  • keras
  • python
  • tensorflow
  • uipath
Share this project:
×

Updates