Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 23

1

A PROJECT REPORT

ON

TITLE OF PROJECT REPORT

Submitted by

Aanya Sharma(1/19/FET/BCS/048 ),
Neha Batra(1/19/FET/BCS/022),
Nishi Kashyap(1/19/FET/BCS/028)

Under the Guidance of

NAME OF THE GUIDE


DESIGNATION OF GUIDE

in partial fulfillment for the award of the degree of

BACHELOR OF TECHNOLOGY

IN
COMPUTER SCIENCE AND ENGINEERING

Faculty of Engineering & Technology

Manav Rachna International Institute of Research and


Studies, Faridabad
2

November, 2022
2

ACKNOWLEDGEMENT

The successful realization of project is an outgrowth of a consolidated effort of people from


desperate fronts. We are thankful to Dr. Poonam Nandal (Professor/Associate Professor/Assistant
Professor) for his/her variable advice and support extended to us without which we could not be
able to complete our project for a success.

We are thankful to Dr. Manisha Vashist, Project Coordinator, Associate Professor, CSE
department for her guidance and support.

We express our deep gratitude to Dr. Charu Varmani, Head of Department (CSE) for her endless
support and affection towards us. Her constant encouragement has helped to widen the horizon
of our knowledge and inculcate the spirit of dedication to the purpose.

We would like to express our sincere gratitude to Prof. (Dr.) Harish C. Rai, Dean, FET for providing
us the facilities in the Institute for completion of our work.

Words cannot express our gratitude for all those people who helped us directly or indirectly in our
Endeavour. We take this opportunity to express our sincere thanks to all staff members of CSE
department for the valuable suggestion and also to our family and friends for their support.

Student name Sign.

Student Roll no.


5

Declaration

We hereby declare that this project report entitled “IMAGE QUALITY REVIEW:Machine
learning approach for image quality and aesthetics review ” by AANYA
SHARMA(1/19/FET/BCS/048), NEHA BATRA(1/9/FET/BCS/022), NISHI
KASHYAP(1/19/FET/BCS/028) being submitted in partial fulfillment of the requirements for the
degree of Bachelor of Technology in Computer Science & Engineering under Faculty of
Engineering & Technology of Manav Rachna International Institute of Research and Studies,
Faridabad, during the academic year _2022_, is a bonafide record of our original work carried out
under the guidance of Dr.Poonam Nandal,Associate Professor, FET.
We further declare that we have not submitted the matter presented in this Project for the award of
any other Degree/Diploma of this University or any other University/Institute.

1. Aanya Sharma(1/19/FET/BCS/048),
2. Neha Batra(1/19/FET/BCS/022),
3. Nishi Kashyap(1/19/FET/BCS/028)
6

Manav Rachna International Institute of Research and Studies,


Faridabad
Faculty of Engineering & Technology

Department of Computer Science and Engineering

Month, Year

Certificate

This is to certify that this project report entitled “IMAGE QUALITY REVIEW:Machine learning
approach for image quality and aesthetics review” by AANYA SHARMA(1/19/FET/BCS/048),
NEHA BATRA(1/9/FET/BCS/022), NISHI KASHYAP(1/19/FET/BCS/028), submitted in
partial fulfillment of the requirements for the degree of Bachelor of Technology in CSE under
Faculty of Engineering & Technology of Manav Rachna International Institute of Research and
Studies, Faridabad, during the academic year _2022_, is a bonafide record of work carried out
under my guidance and supervision. I hereby declare that the work has been carried out under my
supervision and has not been submitted elsewhere for any other purpose.
7

(Signature of Project Guide) (Signature of HoD)


Name of Project Guide Dr. Supriya Panda/ Dr. Brijesh Kumar
DESIGNATION Head of Department
Department of Computer Science and Engineering Department. of Computer Science and Engineering

FET, MRIIRS , Faridabad FET, MRIIRS , Faridabad

TABLE OF CONTENTS

Declaration ii

Certificate iii

Acknowledgement iv

Abstract v

List of Tables vi

List of Figures vii

Chapter 1. Introduction 1

I.1 Introduction
I.2 Existing System
I.3 Problems in Existing Definition
I.4 Problem Definition
I.5 Motivation
8

I.6 Project Overview/Specifications


I.7 Hardware Specification
I.8 Software Specification
I.9 Overview of the report

Chapter 2. System Analysis & Design

3.1. Requirement Specification


3.2. Flowcharts / DFDs / ERDs
3.3. Design and Test Steps / Criteria
3.4. Algorithms and Pseudo Code
3.4.1
3.4.2

Chapter 3. Implementation and Results

Chapter 4. Conclusion and Future Enhancements

6.1 Summary of work done


6.2 Proposal/scope of future enhancement

References/Bibliography

Appendices

● Project Code
● Progress Report by Guide
● Plagiarism Report (not more than 5% from single source)
9

LIST OF TABLES
<Font Style Times New Roman, size -16 Bold>

Table Page No

Table 1.1 <Title of Table 1.1>

Table 1.2 <Title of Table 1.2>

Table 2.1 <Title of Table 2.1>


10

LIST OF FIGURES

Figure Page No.

Figure 1.1 <Title of Figure 1.1>

Figure 2.1 <Title of Figure 2.1>

………….

…………
11

ABSTRACT
12

CHAPTER-1

INTRODUCTION

1.1 PROBLEM DEFINITION

A computer vision issue called "image aesthetics assessment" involves classifying images into various
aesthetic conditions. A long standing issue in the quality assessment of an image has been whether or not
to check its aesthetics aspects. The idea behind using aesthetics to image scoring is to balance out some of
the important problem factors that are rarely discussed when judging an image's quality.

The project “Image quality review:-Machine learning approach for image quality and aesthetics review”
aims at providing an efficient way to analyse the image quality and reviews about its aesthetics.

1.2 Motivation

Goal and Objectives:


• The main aim of the proposed work is to provide a model that evaluates all the aspects for calculating the
quality score of an image while providing review about its aesthetics aspects.
• Will allow users to upload pictures with highest quality to improve the reachability of their image and
user interface .

1.3 Existing System

● The traditional method of review quality only gave answers about th


● It is not accurate and easy method of analysing images overall quality and aesthetics
● It requires a lot of time.

.
13

2. Detailed working on project

This project provides a better approach in ranking an image's quality score. Image aesthetics assessment is
a computer vision problem dealing with grading images into different aesthetic situations. Quality
assessment deals with measuring degradation similar to sharpness,brightness, colorfulness, resolution,
noise,contrast.

The categorization is generally done by taking an input image and calculating some measure of the degree
which the image adheres to the fundamental principle of photography such as noise, blur,
sharpness,recurring,motion-blur,vivid-colour,colour-harmony,light etc.

The above aspects are used to give a score to the quality of the image. The proposed system also gives the
overall aesthetic report of the image.

3. Platform to be used

The project needed several requirements to be gathered before proceeding to design the
architecture . One among them includes gathering information about the activities/services that
would be required for the proper functioning of such a model. To identify this I searched the existing
frameworks/libraries that provide services of various algorithms and gathered information about
what kind of tools will be required to build such a model.

● Hardware specification :

Description Minimum

Operating System Windows 10 or above Ubuntu 20.10 and


above

RAM 1 GB

User Interface Keyboard, Mouse

● Software specification:

1. Application/Tools/IDE

● Numpy
14

● Jason
● Sublime text/ VS code
● Google chrome
● openCV
● Gunicorn

2. API

● Falcon

Expected Outcome:

The proposed model takes an image as an input and provides an appropriate score of
aesthetic quality of the input image.

5 Application Areas:

The proposed project is a CNN based deep learning model, it can find its uses in various
areas such as image quality checks for uploading on Real estate websites, Stock image
providers, Remote healthcare and data crowdsourcing projects. Real-world applications
could benefit from the ability to automatically generate a fine-grained ranking of photo
aesthetics.
15

Chapter 2
System Analysis & Design

2.1 Requirement Specification

The project needed several requirements to be gathered before proceeding to design the
architecture.One among them includes gathering information about the activities/services that would
be required for the proper functioning of such a model. To identify this I searched the existing
frameworks/libraries that provide services of various algorithms and gathered information about
what kind of tools will be required to build such a model.
1. PYTHON
Python is a very popular programming language used for machine learning. The project is written
in this language because it is easy to write and understand with a vast set of libraries and
framework that were essential in this project.
1. OPEN Cv
OpenCV is a python library of programming capabilities which is used for performing computer
vision tasks. By the help of this it becomes easy to handle computer vision problems like handling
images for image processing, face recognition , object detection etc. With the use of vector space
and other mathematical procedures we can recognize picture design and the different elements
present in it.In this project we have used opencv to create the model that can recognize patterns in
the image and give out the required result that is its quality and aesthetic review.
1. Caffee
Caffee is a deep learning framework[] used for image processing and computer vision. It sees
through the unseen labels of an image so as to give the most accurate results. In our mosel
we use it to predict the labels of our image so it can give out the perfect score.
1. Gunicorn
The Gunicorn server is comprehensively viable with different web systems, just carried out, light
on server asset use, and genuinely quick[].
1. Flacon API
The Falcon API used to connect our model to the internet. In our project we have two different
api’s one for quality and the other for aesthetic.
16

2.2 Flowcharts
17
18

3.5. Design and Test Steps

The model is designed with the help of open source deep learning frameworks and libraries.
Use of the deep learning algorithms is that features are executed automatically. This is the
main difference between using a traditional machine learning algorithm and a deep learning
technique. Use of frameworks like Opencv which are primarily used for processing of image
data helps it be fast and highly effective. The model is simple and can be easily implemented.
All we need to do is take an url of an image as our input and paste it in the api that will take
the request and give out a response according to the type of the request. If the request is for
quality it will give out the result of the image’s quality and its score. Similarly if it's for
aesthetics then the aesthetic assessment results are given out.

The quality assessment for input images done with the help for certain parameters like
sharpness,noise,brightness etc. Each of the parameters have a score according to the clarity in
the image. The full_score of the image is calculated by taking the mean score of all the quality
parameters score and rounding itn off. The aesthetic reviews are given by checking the score
of the parameter and giving out a text response equivalent to the score.

3.6. Algorithms and Pseudo Code

1. System with Windows 10 or above or Ubuntu 20.4 or above is required.


2. Image url with extensions .jpg .jpeg .png has to be taken.
3. The image url is passed to the api, with the respective endpoint (aesthetic or quality)
4. The api will give the desired result according to the request given to it.
5. For aesthetic response change the input “quality” to “aesthetic” to get response for
aesthetic review.

Pseudo Code
Quality aspects

Specialised quality assessment deals with measuring low- position parameters like noise[1],
blur[1], sharpness, brightness, resolution,contrast,colourfulness. Each of these parameters
gives out a score for the given input image. These scores are used for calculating the mean
which is then rounded off to some places by which the full_score of the image will be
calculated.
1. Input image will first be resized . This will not affect our image much but will help for
calculating it much faster.

Sharpness

Noise
Contrast
19

Asthetics:

Chapter 3
Implementation and Results
20
21

Chapter 4.
Conclusion and Future Enhancements

We have observed that the full scoring of an image cannot be done just by viewing its quality
aspects. An image has a lot of parameters and emotions with it and aesthetic review should be
also taken into account when giving it a score. The aesthetics can not be limited to a few
parameters. As the technology is growing we will be able to find many more athletic aspects
of an image.
22

REFERENCES

Article in a periodical

[1] I. Thompson, “Women and feminism in technical communication,” Journal of Business and


Technical Communication, vol. 13, no. 2, pp.154–178, 1999.

Article in an online journal

[2] M. B. Sarkar, B. Butler, and C. Steinfield. (1995). Intermediaries and cybermediaries: A


continuing role for mediating players in the electronic marketplace. Journal of Computer-
Mediated Communication.  [Online]. Available: http://jcmc.indiana.edu/vol1/issue3/sarkar.html

Book

[3] M. S. MacNealy, Strategies for Empirical Research in Writing. Boston, MA: Allyn and
Bacon, 1999.

Chapter in a book

[5] S. Kleinmann, “The reciprocal relationship of workplace culture and review,” in Writing in
the Workplace: New Research Perspectives, R. Spilka, Ed. Carbondale, IL: Southern Illinois
University Press, 1993, pp. 56–70.

Conference presentation

[6] K. Riley, “Language theory: Application versus practice,” presented at the Conf. of the
Modern Language Association, Boston, MA, December 27–30, 1990.

Paper published in a Proceedings

[7] K. St.Amant, “Virtual office communication protocols: A system for managing international
virtual teams,” in Proceedings of IEEE International Professional Communication
Conference, 2005, pp. 703–717.

Website
23

● https://www.mygreatlearning.com/blog/opencv-tutorial-in-python/#:~:text=OpenCV
%20is%20a%20Python%20library,learning%20more%20about%20the%20library.
● https://pypi.org/project/gunicorn/

[]https://www.devopsschool.com/blog/what-is-caffe-and-how-it-works-an-overview-and-its-use-
cases-2/

You might also like