# Train Media Server to Identify Duplicate Images

You must train Media Server by providing reference images as a basis for comparison.

The following diagram shows how Media Server stores the information you provide during training.

The "Media Server database" represents the Media Server datastore file or a database on an external database server. For information about setting up this database, see Set up a Training Database.

You can organize image hashes into databases. These databases are for organizational purposes. When you run the analysis task, you can restrict comparison to all of the hashes in a specific database, or to specific hashes in a specific database.

A database can contain any number of image hashes. For each image hash you must provide one training image.

_FT_HTML5_bannerTitle.htm