You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2024-06-13T08:28:43] INFO (parsr-api/7 on 44824d69fde7): Running OCR in image 1 of 24
[2024-06-13T08:28:43] INFO (parsr-api/7 on 44824d69fde7): executing command: python3 /opt/app-root/src/dist/assets/ImageCorrection.py /tmp/7ddabb535fd6bd613e14cb5b3ef2da/img-0021.png
[2024-06-13T08:28:45] INFO (parsr-api/7 on 44824d69fde7): Image optimisation succeed
[2024-06-13T08:28:45] INFO (parsr-api/7 on 44824d69fde7): Error OCR scanning file Error: Error: Request failed with status code 401
The text was updated successfully, but these errors were encountered:
I think that "ms-cognitive-services" no longer works. Because the service is changed.
"Cognitive Services and AppliedAI Services are now Azure AI services."
You can take a look here: https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/quickstarts/get-started-sdks-rest-api?view=doc-intel-4.0.0&viewFallbackFrom=form-recog-3.0.0&preserve-view=true&pivots=programming-language-javascript
where you can get a code sample.
"ocr": "ms-cognitive-services",
"credentials": {
"OCP_APIM_SUBSCRIPTION_KEY": "...",
"OCP_APIM_ENDPOINT": "https://germanywestcentral.api.cognitive.microsoft.com/"
},
[2024-06-13T08:28:43] INFO (parsr-api/7 on 44824d69fde7): Running OCR in image 1 of 24
[2024-06-13T08:28:43] INFO (parsr-api/7 on 44824d69fde7): executing command: python3 /opt/app-root/src/dist/assets/ImageCorrection.py /tmp/7ddabb535fd6bd613e14cb5b3ef2da/img-0021.png
[2024-06-13T08:28:45] INFO (parsr-api/7 on 44824d69fde7): Image optimisation succeed
[2024-06-13T08:28:45] INFO (parsr-api/7 on 44824d69fde7): Error OCR scanning file Error: Error: Request failed with status code 401
The text was updated successfully, but these errors were encountered: