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.

// ======================= Ingest =======================
[Ingest]
IngestEngine=SingleImages

[SingleImages]
Type=Image

// ======================= Analysis =====================
[Analysis]
AnalysisEngine0=ImageHash

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

// ======================= Output =======================
[Output]
OutputEngine0=ACI

[ACI]
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

_FT_HTML5_bannerTitle.htm