Media Server 24.4
IDOL Media Server Help

# Add an Image Hash to a Database

To add a new image hash and train Media Server to identify duplicate images, follow these steps.

To add an image hash to a database

- Add the image hash using the action TrainImageHash. For example:

  `curl http://localhost:14000/action=TrainImageHash -F database=ImageHashes -F imagedata=@image1.png`

  Alternatively, provide the path of the training image:

  `curl http://localhost:14000/action=TrainImageHash -F database=ImageHashes -F imagepath=./training/image1.png`

  Media Server adds the image hash to the database and returns the identifier.

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.4

Topic Title: Add an Image Hash to a Database