Skip to content

In this project, I have integrated ML with Django web application. It will take an image as an input and will return detailed information about given image using VGG 16 model and wikipedia API

Notifications You must be signed in to change notification settings

akd6203/AI-optical-search-using-VGG16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-optical-search-using-VGG16

In this project, I have integrated ML with Django web application. It will take an image as an input and will return detailed information about given image using VGG 16 model and wikipedia API

Introduction

Optical Search image is an application  that takes an image file as an input and  returns results related to the image.  In this we used Python language for backend and for designing purpose we used HTML, CSS, JQuery, JavaScripts and Bootstrap.

In this VGG16 model is used for detection and classification. VGG16 is a convolution neural Network model for Large-scale Image Recognition. The model achieves 92.7%  top-5  test accuracy in ImageNet, which is a dataset of over 14 million  images belonging to 1000 classes. The CNN Model predict the class label / category of the image.

After prediction it checks for Wikipedia whether there is any Wikipedia related to image or not. When there is Wikipedia related to image it shows the result that available on Wikipedia. When there is no Wikipedia details related to image this respond to user couldn’t find Wikipedia details. 

By using Optical search we can learn more about an image in few second. It helps in reducing the amount of time taken to find similar images and information related image.

Tools & Technologies Used

Software used :

  • Visual Studio Code
  • Jupyter Notebook

Backend : 

  • Python
  • Django
  • Tensorflow
  • Keras – Deep Learning
  • VGG16 – (DL model)
  • Imagenet – Dataset
  • No. of classes - 1000
  • Wikipedia API (To get detailed information about predicted model)

Frontend :

  • HML
  • CSS
  • JS
  • JQuery
  • Bootstrap

Database : SQLite

Project Lifecycle

SNAPSHOTS

C:\Users\acer\Downloads\1623214227632.png

Front End of the project

This is the front end of the project. Here user can search an image.

C:\Users\acer\Downloads\1623214227627.png

When user select an Image

This looks like this when user search any image from the files.

C:\Users\acer\Downloads\65464564.png

Image During The Scanning Process

After selecting image firstly it will scan the image then goes to database

C:\Users\acer\Downloads\65456646454564456456.png

Image After The Scanning

After scanning the search result of image store in database and Wikipedia gives the information about the image i.e the name of the searched object and images related to the particular object.

C:\Users\acer\Downloads\WhatsApp Image 2021-06-08 at 7.05.42 PM.jpeg

The related images of the searched flower.

C:\Users\acer\Downloads\kjhajhsdhkajsdjkhasjkhd.png

All information about the searched image is like as 

C:\Users\acer\Downloads\+++++++.png

Previous Search Results

All the previous search results are store in database which is also shown in this website

Database Snapshots:

C:\Users\acer\Downloads\image12245456 (1).png

C:\Users\acer\Downloads\image.png

DOWNLOAD CODE :

  1. Download the code from github
  2. Download all above mentioned software dependencies
  3. Open downloaded folder inside terminal.
  4. Run following commands:
conda create --name envName django
conda activate envName
pip install tensorflow
pip install wikipedia
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

Note: There is no VGG16 (mymodel.h5) file inside repository. You are expected to download weights by your own.

VISIT MY YOUTUBE CHANNEL FOR MORE DETAILS: https://youtu.be/D2t-P3zEeSk

About

In this project, I have integrated ML with Django web application. It will take an image as an input and will return detailed information about given image using VGG 16 model and wikipedia API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published