Example Configuration

The following example configuration ingests an image file, analyzes the image to see whether it is a match for any of the image hashes in a database named ImageHashes, and then outputs the results to the ACI response.

[Session]
Engine0=Ingest
Engine1=ImageHash
Engine2=OutputACI

[Ingest]
Type=Image

[ImageHash]
Type=ImageHash
Database=ImageHashes
MatchThreshold=50

[OutputACI]
Type=Response
Input=ImageHash.Result

If you add this configuration to the configurations directory as ImageHash.cfg you could run a process action as follows (where the source parameter specifies the image to analyze):

http://localhost:14000/action=process&configname=ImageHash
                                     &source=./image_to_analyze.png