Run Image Analysis on All Supported Images

CFS includes a Lua script, scripts/ImageAnalysis.Lua, to run analysis on all images that Image Server can process (including PDF files). The script reads settings for the task from the [ImageServerSettings] section of the CFS configuration file.

To run Image Analysis using the script:

For example:

[ImportTasks]
Pre0=Lua:scripts/ImageAnalysis.lua

[ImageServerSettings]
ImageServerHost=server:18000

If you specify more than one Image Server, CFS distributes requests between the servers. Specify multiple Image Servers using a comma-separated list, as shown in the following example:

[ImportTasks]
Pre0=Lua:scripts/ImageAnalysis.lua

[ImageServerSettings]
ImageServerHost=server1:18000,server2:18000

You can also set additional parameters to configure the analysis. ImageAnalysisTaskSections specifies which analysis tasks to run (use the names of the tasks that you defined in your Image Server configuration file). ImageAnalysisTransform specifies an XSL transformation to use to transform the metadata that is added to the document. If you do not set these parameters, the script runs every analysis task that has been configured in your Image Server configuration file, and adds the full action response from Image Server to the document metadata.


_HP_HTML5_bannerTitle.htm