The paper is organized as follows. Section II describes related papers focusing on patch matching problem and image retrieval. Section III describes the proposed method of finding similar images, discusses CNN architecture, objective function and details of evaluation datasets. Section IV presents the experimental pipeline and results on constructed database. In the end of this paper we summarize our results and point some directions of future work.