Image Search Engine Using DeepLearning
Image Search Engine Using DeepLearning
1
P Ganesh, 2C Radhika, 3P Kiranmai Yadav
1
Assistant Professor, Department of Information Technology, Bhoj Reddy Engineering College for Women,
Hyderabad, India
2,3
Student, Department of Information Technology, Bhoj Reddy Engineering College for Women, Hyderabad,
India
esenting an Image search engine build using deep learning. Automation is everybody’s dream whether it is to ease their efforts
or to make machines learn how to do something. In this paper we are presenting a way to search for similar images in
local disk when an input image is applied. We used CNN for feature extraction and Flask for implementing the
program functionality in the local webpage. The model is used to extract the features as NumPy arrays and store them
locally and be able to search for similar images when and input is applied.
Volume 13, Issue 09, Sept 2023 ISSN 2457-0362 Page 107
related tools all have extensions.. imagenet.
We apply Normalization and then
II. METHEDOLOGY: return numpy arrays.
This model converts the image info to
numpy arrays that are stored locally.
Server.py:
This file contains code for web
implimentation of our model.
We are using flask web framework for
interfacing between the model and the
user.
We make use of feature extractor class
for features of user input image.
This file is responsible to host the web
page locally and display output on the
webpage
IV. RESULT:
A. Dataset:
We divided the project into 3 parts:
The data set consists of 8000 images
1. Offline.Py (Save features into numpy with various types of flowers.
arrays)
B. Results:
2. Feature extractor.Py (Contains
VGG16 for preprocessing) The model returns first 30 closest images
3. Server.Py (contains Flask for web based in the score from distance between
interactions) the images.
Offline.py:
This Python file consists of code that is
used to get the images from local
directory
It is used to initialise Features folder
which contains all the feature as
Numpy arrays.
This File is able to extract features by
calling the feature extractor class.
Feature Extractor.py:
This file consists of code required for
preprocesssing the images.
Here we are using VGG16 which is a
pretrained CNN model for feature
extraction by eleminating the
classification layer from the model
This model imports weights from REFERENCES:
Volume 13, Issue 09, Sept 2023 ISSN 2457-0362 Page 108
[1] Y. Liu, D. Zhang, G. Lu, and W.-Y. Ma, “A
[10] N. Khosla and V. Venkataraman,
survey of content-based image retrieval with “Building image-based shoe search using
high-level semantics,” Pattern recognition, vol. convolutional neural networks,” CS231n
40, no. 1, pp. 262–282, 2007. Course Project Reports, 2015.
Volume 13, Issue 09, Sept 2023 ISSN 2457-0362 Page 110