Open topic with navigation

# 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:

- create a `Lua` pre task in the CFS configuration file, and run the script `scripts/ImageAnalysis.Lua`
- set the host name and ACI port of your Image Server in a section named `[ImageServerSettings]`

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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm