Analysis of Image Similarity Using CNN and ANNOY

Analysis of Image Similarity Using CNN and ANNOY

Jun-Ki Hong
Copyright: © 2022 |Pages: 11
DOI: 10.4018/IJSI.289593
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

This article proposes an algorithm to more efficiently search for clothing product images that are similar to a new input clothing product image. Convolutional Neural Network (CNN) and Artificial Neural Network Oh Yeah (ANNOY) technologies were applied to a database of 60,000 clothing images, and the similarity and the processing rates of the two technologies were compared. The conventional CNN technology searches similar images by exploring all the pixels of an image, while the ANNOY technology uses a binary tree node, which is the similarity distance measured between images. The ANNOY technology can drastically reduce image search time, although the image similarity accuracy is slightly decreased. The reduction in image search time saves costs, and the rapid search processing rate enables the technology to be applied to various kinds of online services, including product search, product comparison and product recommendation.
Article Preview
Top

1. Introduction

With recent developments in deep learning technique, an increasing number of studies are being conducted on images and image recognition (Al-Halah, Z., Stiefelhagen R., Grauman K. 2017; Mihm, B. 2010; Lee, H., Seol J., Sang-goo Lee. 2017). Among these, efforts are focused on methods of searching clothing product images, that can identify fashion trends and clothing features. Such a system should be capable of analyzing the fashion trends of many clothing products quickly. In the present study, a clothing product image search system is proposed and its performance evaluated. The system collects clothing product images from about 300 clothing-related shopping malls on a real-time basis, rapidly classifies the clothing images relative to a new input image, and analyzes the trend in clothing products.

Figure 1.

Similar image results of clothing

IJSI.289593.f01

Figure 1 shows an example of a similar image search for the ‘S’ Shopping Mall. The images in Figure 1 were searched for specific clothing product patterns, poses and tags. A feature-based analytical technique is employed. The deep learning model provides a simple comparison of characteristics, stable service while handling numerous products, rapid updating of new products, and can process a large number of search inquiries.

Establishing a deep learning system for precise searches based on a huge number of images can be high cost, which small companies can hardly afford. Many recent studies on image searches have been conducted using Convolutional Neural Network (CNN). However, similar image analysis with CNN is performed by exploring all the pixels of an image, and thus requires countlessly repeated learning procedures, and a long time to measure similarity (Lee, S., Choi M.-H, Lee H.-J., et al., 2019; Seo, M., Lee K.-Y., 2019). In addition, if the frequency of the repeated learning procedures is decreased to increase computation speed, the level of similarity is reduced.

To overcome these problems related to CNN, this article proposes a model for similar image searches based on the Artificial Neural Network Oh Yeah (ANNOY) using a binary tree, with a little trade-off in image similarity (Bernhardsson E., 2020). The image similarity and the image search measurement time using the CNN and the ANNOY were compared. For the performance comparison, a clothing product dataset was constructed to collect images from about 300 clothing-related shopping malls. The similarity among the fashion products were compare and analyzed using the two techniques. Python was used to collect and update the images of fashion products from about 300 shopping malls on a real-time basis. The image dataset was constructed using 60,000 collected images: 40,000 images (67%) were used for transfer learning, and the other 20,000 images (33%) were used as the input images for the similar image search. The images’ similarity and measurement times for the two techniques were analyzed and compared.

Complete Article List

Search this Journal:
Reset
Volume 12: 1 Issue (2024)
Volume 11: 1 Issue (2023)
Volume 10: 4 Issues (2022): 2 Released, 2 Forthcoming
Volume 9: 4 Issues (2021)
Volume 8: 4 Issues (2020)
Volume 7: 4 Issues (2019)
Volume 6: 4 Issues (2018)
Volume 5: 4 Issues (2017)
Volume 4: 4 Issues (2016)
Volume 3: 4 Issues (2015)
Volume 2: 4 Issues (2014)
Volume 1: 4 Issues (2013)
View Complete Journal Contents Listing