Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

OcrKey

The key from the Computer Vision resource created above. (The “KEY 1” entry in the image above)

OcrServerUri

The URI from the Computer Vision resource created above. It is called (The “Endpoint” entry in the “Keys and endpoints” section of the Computer Vision resource.image above)

OcrExtractFromPdf

If true, the text contents of PDF files are extracted when the PDF files are uploaded to the DAM.

OcrExtractFromImage

If true, the text contents of images are extracted when the images are uploaded to the DAM.

OcrLetAzureRequestFiles

If false, we explicitly upload files to the Computer Vision client. Otherwise, Azure will request the files from the DAM Center. Setting this to true is expected to be more efficient, but it requires that the DAM Center can be accessed by Azure.

Thus, ensure that the DAM Center is not behind a strict firewall if this is set to true.

OcrTaskDelayLength

We regularly check the status of ongoing content extractions in the Computer Vision client. This gives the time interval between each check.

The larger the time interval is, the less requests are made to Azure. However, it then also takes more time for the extracted contents of files to be available in the “Asset Content” metafield.

You most likely don’t have to change this.

...