- Overview
- Document Understanding Process
- Quickstart Tutorials
- Framework Components
- ML Packages
- Pipelines
- Data Manager
- OCR Services
- Document Understanding deployed in Automation Suite
- Document Understanding deployed in AI Center standalone
- Deploy UiPathDocumentOCR
- ML Packages Offline Installation
- Use Document Manager
- Licensing
- References
- UiPath.Abbyy.Activities
- UiPath.AbbyyEmbedded.Activities
- UiPath.DocumentUnderstanding.ML.Activities
- UiPath.DocumentUnderstanding.OCR.LocalServer.Activities
- UiPath.IntelligentOCR.Activities
- UiPath.OCR.Activities
- UiPath.OCR.Contracts
- UiPath.DocumentProcessing.Contracts
- UiPath.OmniPage.Activities
- UiPath.PDF.Activities
Deploy UiPathDocumentOCR
Create a UiPathDocumentOCR ML package in AI Center.
For online installation, the UiPathDocumentOCR model is already included in the Out of the box packages section. Go to ML Packages > Out of the box packages > UiPath Document Understanding > UiPathDocumentOCR, and click Submit.
For offline installation, go to the ML Packages tab from the left sidebar of AI Center and create a new package. Name the package and upload the package that you have downloaded from this page. Choose JSON input type, and the corresponding Python language. Create package.
Go to ML Skills and create a new ML Skill for the UiPathDocumentOCR package you created.
Please use Advanced Infra Settings to update the deployment to update the replica (the number of replica should ideally be equal to the number of nodes) and maximize the CPU (at least 4) and RAM requests if you are not using GPU machines, or the UiPathDocumentOCR processing will be slow and may fail.
To train the model, you need at least six examples in your dataset.
The OCR engine needs GPU for optimal performance, and it is recommended for production workloads. However, if GPU is not available, it can still run on CPU, but it requires higher resources than the default. Advanced infra settings should be adjusted as such:
- Replicas: increase if there is concurrent usage of UiPathDocumentOCR. If you are using UiPathDocumentOCR to do imports on a single Data Labeling session at a time and the UiPathDocumentOCR is not used in other UiPath workflows then 1 replica suffices. Otherwise, the number of replicas needs to be increased. There is no "magic" number here, you need some trial and error. Do not use more than 2 replicas on a single node installation. Ideally, replica count should equal the number of nodes in the cluster (1 replica/node). If more parallelism is needed, increasing the CPU helps
-
CPU: it should be at least 4 (for each replica). Make sure you have appropriate resources. There is no "magic" number, but more CPU means faster processing time. You need to test under your specific scenarios what is enough.
It can take up to 30 minutes for the ML Skill to be ready. You may need to refresh the AI Center page to see the status change.
Congrats! You have successfully deployed UiPathDocumentOCR on AI Center.
You can directly select the ML Skill as your private skill in the Studio workflow. Or, if you have installed the online version of AI Center standalone and you want to use the public ML Skill, please follow the below instruction to get the public ML Skill endpoint (optional).
Once the ML Skill is available, double-click the ML Skill and go to Modify current deployment.
Switch the toggle on to make the ML Skill public. You may need to wait for a few minutes and refresh the page.
Double-click the ML Skill and copy the URL, which is the endpoint of the UiPathDocumentOCR for later use.