question

Rajan-0893 avatar image
0 Votes"
Rajan-0893 asked NathanZimmerman-3611 commented

Issue in Sample Labeling Tool

Issue in Sample Labeling Tool

I have completed all the steps in the doucment https://docs.microsoft.com/en-us/azure/cognitive-services/form-recognizer/quickstarts/label-tool?WT.mc_id=Portal-Microsoft_Azure_ProjectOxford&tabs=v2-0. But the sample PDF are not showing in the Sample Labeling Tool Editor. No errors are showing, I am getting the blank screen. Already shared the screenshots to Azfretrl@microsoft.com

I have installed the sampling labeling tool in Azure VM. Placed 5 invoices (pdf) in a folder in the VM. But it is not showing the same in the tool. I think the its a docker related folder issue, may be the share path is not recognized.







azure-form-recognizer
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for reaching out. Have you tried to create and specify the shared access signature (SAS) URL for your Azure Blob Storage container? Also, ensure that your documents are of the same format. If you have forms in multiple formats, organize them into subfolders based on common format. When you train, you'll need to direct the API to a subfolder.


0 Votes 0 ·

Thanks for the response. SAS is created and specified in the Labeling tool. All the PDF documents are with same format.

0 Votes 0 ·

Hmm, I'm not able to reproduce this issue. Can you please share screenshots here? Also, in your original post, you stated that your files were uploaded in the VM, can you please confirm that you uploaded the files to your blob container and that you enabled CORS?

31784-image.png


0 Votes 0 ·
image.png (67.6 KiB)

I have the same situation except my files are in a blob so in the project definition for the labeling tool the file location is the path of the blob. The SAS URL has been verified, the form recognizer end point and key have bee verified, the Docker Desktop is running, and CORS is configured. The connection and the project have been saved. My screenshot looks like the one posted by Rajan-0893. Is there a solution?

0 Votes 0 ·

1 Answer

Rajan-0893 avatar image
0 Votes"
Rajan-0893 answered NathanZimmerman-3611 commented

Okay. I would explain you all the steps that I did.

  1. I have followed all the steps mentioned in your doc

https://docs.microsoft.com/en-us/azure/cognitive-services/form-recognizer/quickstarts/label-tool?WT.mc_id=Portal-Microsoft_Azure_ProjectOxford&tabs=v2-0

  1. The docker is installed in the local machine (again its a vm created in azure under my account)

  2. The required credentials are initialized in the sample labeling tool

  3. The sample pdf file (for training) is placed in the C: drive folder in the VM (not in the Azure blob)

  4. The issue is the sample labeling tool is not showing the pdf for labeling

33033-image.png



image.png (190.0 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have the same situation except my files are in a blob so in the project definition for the labeling tool the file location is the path of the blob. The SAS URL has been verified, the form recognizer end point and key have bee verified, the Docker Desktop is running, and CORS is configured. The connection and the project have been saved. Have you found an answer?

0 Votes 0 ·

I have found that the files appear in the layout analyzer and the prebuilt analyzer individually but not the tags editor. The files I am using are the Contoso invoices provided by Quick Start so I am confident the format is uniform.

0 Votes 0 ·