nor nabilah bt [email protected]/suhailan/fyp/report/038292.pdf · ii confirmation this...

50
SKIN TYPE DETECTION NOR NABILAH BT NAJIR@NAJIB BACHELOR OF COMPUTER SCIENCE (INTERNET COMPUTING) UNIVERSITI SULTAN ZAINAL ABIDIN 2017

Upload: others

Post on 02-Aug-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

SKIN TYPE DETECTION

NOR NABILAH BT NAJIR@NAJIB

BACHELOR OF COMPUTER SCIENCE

(INTERNET COMPUTING)

UNIVERSITI SULTAN ZAINAL ABIDIN

2017

Page 2: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

SKIN TYPE DETECTION

NOR NABILAH BINTI NAJIR@NAJIB

Bachelor of Computer Science (Internet Computing)

Faculty of Informatics and Computing

Universiti Sultan Zainal Abidin, Terengganu, Malaysia

MAY 2017

Page 3: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

i

DECLARATION

I hereby declare that this report is based on my original work except for quotations

and citations, which have been duly acknowledged. I also declare that it has not been

previously or concurrently submitted for any other degree at Universiti Sultan Zainal

Abidin or other institutions.

Signature: ________________________

Name : Nor Nabilah bt Najir@Najib

Date : 14th May 2017

Page 4: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

ii

CONFIRMATION

This project report entitled Skin Type Detection was prepared and submitted by Nor

Nabilah bt Najir@Najib, matric number BTCL14038292 has been found satisfactory in

terms of scope, quality and presentation as a partial fulfilment of the requirements for

Bachelor of Computer Science (Internet Computing) in University of Sultan Zainal

Abidin (UniSZA).

________________________________

Name : PROF. MADYA DR. MOKHAIRI BIN MAKHTAR

Date : 14th May 2017

Page 5: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

iii

DEDICATION

In the name of Allah, the Most Gracious and the Most Merciful for giving me the

opportunity to complete this final year project report entitled ‘Skin Type Detection’.

This project was prepared for Faculty Informatics and Computering, UniSZA to

complete the undergraduate program in Bachelor of Computer Science (Internet

Computing).

I would like to express my gratitude to Prof. Madya Dr. Mokhairi Bin Makhtar as my

supervisor who guided and give valuable information during the development of this

project.

I also want to express gratitude to my parents, family and friends and to the lecturers

for their help and encouragement during this whole semester and not to be forgotten

about those had been involved indirectly during the project development.

Page 6: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

iv

ABSTRACT

Everyone's skin is normal to them but we generally group people in few skin type

categories in order to tend for distinct skin types. The significant first step need to be

taken in take care of the skin are to figuring out the types of the skin that we belong to.

As a way to help the process of finding out, the Skin Type Check Website is proposing

to build. Users usually don’t know their skin types and the just buy the product

randomly and the hot seller item that may give them any breakout if don’t applicable

with their skin. Moreover, if the user knows about their skin types, but they don’t know

which product are suitable with their skin types. Nowadays, mostly people buying

online, so they don’t have to go clinic or drugstore to ask for their skin types before

purchase. The objective of this system are to develop website that can tell user their

grouping of the skin types with the characteristic given. Besides, to implement the

website that user friendly where all range of age can use. And users can get the

recommendation that suitable with their skin types. Lastly, I hope this project can help

user to take of their skin when they know the type because skin not only for appearance

but also for perform essential task for body so we need to take care of them.

Page 7: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

v

ABSTRAK

Kulit setiap orang adalah normal kepada mereka tetapi biasanya terdapat kumpulan

dalam beberapa kategori jenis kulit untuk jenis kulit yang berbeza. Langkah pertama

yang penting yang perlu diambil dalam menjaga kulit ini adalah untuk mencari jenis

kulit yang kita milik. Sebagai satu cara untuk membantu proses mencari,laman web

Pengesanan Jenis Kulit akan dibangunkan. Pengguna biasanya tidak tahu jenis kulit

mereka dan hanya membeli produk secara rawak dan item penjual panas yang boleh

memberikan mereka sebarang penembusan jika tidak berkenaan dengan kulit

mereka. Selain itu, jika pengguna tahu mengenai jenis kulit mereka, tetapi mereka

tidak tahu yang mana produk yang sesuai dengan jenis kulit mereka. Pada masa kini,

kebanyakannya orang membeli dalam talian, jadi mereka tidak perlu pergi klinik

atau kedai ubat untuk meminta jenis kulit mereka sebelum pembelian. Objektif

sistem ini adalah untuk membangunkan laman web yang boleh memberitahu

pengguna perkumpulan mereka satu jenis kulit dengan ciri-ciri yang diberikan.

Selain itu, untuk melaksanakan laman web yang mesra pengguna di mana semua

peringkat umur boleh menggunakan. Dan pengguna boleh mendapatkan cadangan

yang sesuai dengan jenis kulit mereka. Akhir kata, saya berharap projek ini boleh

membantu pengguna untuk mengambil kulit mereka apabila mereka tahu jenis

kerana kulit bukan sahaja untuk penampilan tetapi juga untuk melaksanakan tugas

penting untuk badan jadi kita perlu menjaga mereka.

Page 8: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

vi

CONTENTS

PAGE

DECLARATION i

CONFIRMATION ii

DEDICATION iii

ABSTRACT iv

ABSTRAK v

CONTENTS vi

LIST OF TABLES vii

LIST OF FIGURES xvi

LIST OF ABBREVIATIONS xv

CHAPTER I INTRODUCTION

1.1 Introduction 1

1.2 Problem statement 2

1.3 Objectives 2

1.4 Scopes

2-3

CHAPTER II LITERATURE REVIEW

2.1 Introduction 4

2.2 Validation of a Questionnaire to Diagnose the

Baumann Skin Type in All Ethnicities and in

Various Geographic Locations

5

2.3 A Validated Questionnaire for Quantifying Skin

Oiliness

6

2.4 Questionnaire to Learn What’s Your Skin Type? 7-11

CHAPTER III

METHODOLOGY

3.1 Project Life Cycle 12-15

3.2 Requirement Analysis 15

3.2.1 Hardware 15

3.2.2 Software 16

Page 9: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

vii

3.3 System Design 17

3.3.1 Framework Design 17

3.3.2 Architecture Design 18-23

3.3.3 Process Model 24-27

3.3.4 Data Model 28-30

3.3.5 Algorithms 31

CHAPTER IV CONCLUSION 32

REFERENCE 33

Page 10: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

viii

LIST OF TABLES

TABLE TITLE PAGE

3.1 First table in chapter 3 15

3.2 Second table in chapter 3 16

3.3 Third table in chapter 3 29

3.4 Fourth table in chapter 3 30

Page 11: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

ix

LIST OF FIGURES

FIGURE TITLE PAGE

3.1 First figure in chapter 3 14

3.2 Second figure in chapter 3 17

3.3 Third figure in chapter 3 18

3.4 Fourth figure in chapter 3 18

3.5 Fifth figure in chapter 3 19

3.6 Sixth figure in chapter 3 19

3.7 Seventh figure in chapter 3 20

3.8 Eighth figure in chapter 3 20

3.9 Ninth figure in chapter 3 21

3.10 Tenth figure in chapter 3 21

3.11 Eleventh figure in chapter 3 22

3.12 Twelfth figure in chapter 3 22

3.13 Thirteenth figure in chapter 3 23

3.14 Fourteenth figure in chapter 3 24

3.15 Fifteenth figure in chapter 3 25

3.16 Sixteenth figure in chapter 3 26

3.17 Seventeenth figure in chapter 3 27

3.18 Eighteenth figure in chapter 3 28

Page 12: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

x

LIST OF ABBREVIATIONS / TERMS / SYMBOLS

CD Context Diagram

DFD Data Flow Diagram

ERD Entity Relationship Diagram

HCI Human computer interface

Page 13: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

xi

LIST OF APPENDICES

APPENDIX TITLE PAGE

A Appendix 1 34

B Appendix 2 35

C Appendix 3 36

D Appendix 4 37

Page 14: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

1

CHAPTER I

INTRODUCTION

1.1 Background

Making the right choice about skincare start with knowing your skin type. Different

skin type is genetically but chosen the true skincare for skin is the hardest. People

usually buy the product when they gone viral or famous online. But they don’t know

whether the product is really suitable for their skin type that can make they have the

problematic skin. So that’s why the Skin Type Determine Website will be build. The

main goal of this system is to help user to know their skin type before buying the

skincare. Moreover, lately there are many e commerce websites that sell product. To

help the user know which skin type are they, user will answer the questionnaire first

then after finish, it will determine which type of the skin is the user. Then user will get

the product recommendation that suitable for them or the ingredients that been used.

Page 15: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

2

1.2 Problem Statement

Some problems that lead the causes of this website to develop are:

• User don’t know their skin type

• User don’t get the recommendation product that suitable with the skin

• Other website does not put if the product for what skin type.

1.3 OBJECTIVES

There are several objectives to develop this system include:

To develop website that can tell user their skin type with the characteristic given

To implement website that user friendly besides give the info and

recommendation for users

To test the effectiveness of the questionnaire used

1.4 SCOPES

SCOPE OF USER

- This system includes the aspects of knowing the skin type by answering the

question and the suitable recommended. The aspects are like:

User(Admin)

Update the product recommendation and info

Update the characteristic/questions

Page 16: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

3

User(Client)

To answer the question to determine the skin type

Review the product recommendation and the info

SCOPE OF SYSTEM

- There are the scopes for this system:

Client need to register their detail

Client answer the detail of their skin type

Client can get the type of skin they have

Client can know the recommendation product and info

Page 17: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

4

CHAPTER II

LITERATURE REVIEW

2.1 Introduction

Literature review means searching, collecting, analysing and drawing conclusion

from all debates issues raised in relevant body of literature. While, project methodology

is the approach and techniques used to complete the project. This chapter is the report

analysing the fact finding and the approaches and techniques that is going to be use in

completing the Skin Type Detection project. The fact and finding are being analysed by

identifying the current situation and the available resources.

Page 18: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

5

2.2 Validation of a Questionnaire to Diagnose the Baumann Skin Type in All

Ethnicities and in Various Geographic Locations

The Baumann Skin Typing System diagnoses patients as having one of 16 skin

types based on their answers to a validated questionnaire known as the Baumann Skin

Type Indicator. The BSTI questionnaire has been tested over the last decade on

over200,000 people of various ages and ethnicities in different geographic locations

around the world. In this study, data were collected from 52,862 patients to compare

skin type prevalence between those who presented to doctor’s offices and those who

took the quiz without supervision online. The most common skin types varied only

slightly between patients that took the quiz online and those that completed the

questionnaire in their doctor’s office. This indicates that the prevalence of skin types

seen in the doctor’s office is similar to that in the general population and that supervision

is not necessary to get an accurate result on the BSTI. In addition, comparison of data

gathered in China, Korea, and the US did not show a significant difference in skin type

prevalence between Asian and Caucasian skin types. The Baumann Skin Typing System

assigns patients to one of skin types based on their answers to a validated questionnaire

known as the Baumann Skin Type Indicator. The questionnaire gives similar results

among all ethnicities. Using the Baumann Skin Type nomenclature improves

communication between physicians, scientists, researchers, aestheticians, and patients

about skin care regimen efficacy and adverse events. Because studies have

demonstrated that patients cannot properly self-diagnose their skin type, the Baumann

Skin Type should be diagnosed using a validated questionnaire for that purpose.

Page 19: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

6

2.3 A Validated Questionnaire for Quantifying Skin Oiliness

The Baumann Skin Typing System In order to be able to correctly determine skin

oiliness, we have developed a six-item skin oiliness scale (SOS) that correlates with

sebumeter measurements. The resulting correlation was 0.54, which was significantly

different from zero (p < 0.01). This result indicates a strong relationship between the

SOS scores and the associated sebumeter measurements. This is easy to administer

questionnaire to accurately determine skin oiliness and can be useful in screening and

recruiting patients for research trials, performing outcome research, and recommending

skin care products and procedures. Our study shows that this skin oiliness scale is an

accurate way to identify and quantify skin oiliness. The primary objective of this study

was to determine if the O (oily) section questions of the BSTI could successfully

discriminate between individuals with. In many instances, it is important to determine

a patient’s level of sebum secretion, and a sebumeter is not always available. The

findings of this study indicate that the six oily skin directed questions of the BSTI have

the ability to classify individuals based on levels of sebum secretion. This can be used

to recommend skin care products, to provide data in research trials and to divide patients

into distinct groups based on sebum production in situations where a sebumeter is not

accessible. high and low sebum secretion rates as determined by the sebumeter

measurements.

Page 20: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

7

2.4 Questionnaire to Learn What’s Your Skin Type?

This questionnaire is available in two parts: Part 1: Is Your Skin Oily or Dry?

and the second part, namely Part 2: Is Your Skin Sensitive or Resistant?. Part 1 of the

section has 9 questions while Part 2 has 12 questions. Each answer has its own scores

to make it easier to find the marks to determine skin type. The questions as in below :

Part 1: Is Your Skin Oily or Dry?

1. After washing your face, don’t apply any moisturizer, sunscreen, toner, powder,

or other products. Two or three hours later, look in a mirror under bright

lights. Your forehead and cheeks feel or appear: a. Very rough, flaky, or

ashy

b. Tight

c. Well hydrated with no reflection of light

d. Shiny with reflection of bright light

2. In photos, your face appears shiny:

a. Never, or you’ve never noticed shine

b. Sometimes

c. Frequently

d. Always

3. Two to three hours after applying makeup foundation (also known as base) but no

powder, your makeup appears:

a. Flaky or caked in wrinkles

b. Smooth

c. Shiny

d. Streaked and shiny

e. I do not wear facial foundation

4. When in a low-humidity (cold, dry) environment, if you don’t use moisturizers or

sunscreen, your facial skin: a. Feels very dry or cracks

b. Feels tight

c. Feels normal

d. Looks shiny, or I never feel that I need moisturizer

e. Don’t know

5. When you use soap that suds, bubbles, and foams vigorously, your facial skin:

a. Feels dry or cracks

Page 21: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

8

b. Feels slightly dry but does not crack

c. Feels normal

d. Feels oily

e. I do not use soap or other foaming cleansers. (If this is because they make

your skin dry, pick A.)

6. If not moisturized, your facial skin feels tight:

a. Always

b. Sometimes

c. Rarely

d. Never

7. You have clogged pores (blackheads or whiteheads):

a. Never

b. Rarely

c. Sometimes

d. Always

8. Your face is oily in the T-zone (forehead and nose):

a. Never

b. Sometimes

c. Frequently

d. Always

9. Two to three hours after applying moisturizer your cheeks are:

a. Very rough, flaky, or ashy

b. Smooth

c. Slightly shiny

d. Shiny and slick, or I do not use moisturizer

Scoring of Oily vs. Dry Section:

Give yourself 1 point for every “a” answer, 2 points for every “b”, 3 points for every

“c”, 4 points for every “d”, and 2.5 points for every “e” answer. Enter your total

Oily/Dry score here: __________

If you scored between 9-22, then you have Dry skin.

If your score is between 9-15 you have very dry skin.

If your score is between 16-22 you have slightly dry skin.

If you scored between 23-36, then you have Oily skin..

Page 22: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

9

If your score is between 23-29 you have slightly oily skin.

If your score is between 30-36 you have very oily skin.

Part 2: Is Your Skin Sensitive or Resistant?

1. You get red pimples on your face:

a. Never

b. Rarely

c. At least once a month

d. At least once a week

2. Skin care products (including cleansers, moisturizers, toners, sunscreens, perfume,

makeup...) cause your face to break out, get a rash, itch, or sting:

a. Never

b. Rarely

c. Often

d. Always

e. I don’t wear products on my face

3. Have you ever been diagnosed with acne or rosacea?

a. No

b. Friends and acquaintances tell me I have it.

c. Yes

d. Yes, a severe case

e. Unsure

4. If you wear jewelry that is not 14-carat gold, how often do you get a rash?

a. Never

b. Rarely

c. Often

d. Always

e. Unsure

5. Have you ever been diagnosed with atopic dermatitis, eczema, or contact

dermatitis (an allergic skin rash)? a. No

b. Friends tell me I have it.

c. Yes

d. Yes, a severe case

e. Unsure

6. Fragranced bubble bath, massage oil, or body lotions make your skin break out,

itch, or feel dry:

a. Never d. Always

Page 23: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

10

b. Rarely e. I never use these types of products. ( Note: Answer “d: if you

don’t use them because they cause

c. Often the above-

mentioned problems.)

7. Can you use the soap provided in hotels on your body or face without a problem?

a. Yes

b. Most of the time, I don’t have a problem.

c. No, my skin itches, turns red, or breaks out.

d. I would not use it. I’ve had too many problems in the past!

e. I carry my own, so I’m unsure.

8. How often does your face and/or neck get red after moderate exercise; and/or with

stress or a strong emotion, such as anger?

a. Never

b. Sometimes

c. Frequently

d. Always

9. How many visible red or blue broken blood vessels do you have (or did you have

prior to treatment) on your face & nose? a. None.

b. Few (one to three on entire face, including nose)

c. Some (four to six on entire face, include nose)

d. Many (over seven on entire face, including nose)

10. Your face looks red in photographs or sometimes when you look in the mirror:

a. Never, or I never noticed it

b. Sometimes

c. Frequently

d. Always

11. People ask you if you are sunburned, even when you are not:

a. Never

b. Sometimes

c. Frequently

d. Always

e. I always am sunburned. (You bad thing!)

12. You get redness, itching, or swelling from makeup, sunscreen or skincare

products:

a. Never

b. Sometimes

c. Frequently

Page 24: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

11

d. Always

e. I do not use these products (Note: Answer “d” if you don’t use them

because of redness, itching or swelling)

Scoring of Sensitive vs. Resistant (Tolerant) Section:

Give yourself 1 point for every “a” answer, 2 points for every “b”, 3 points for every

“c” , 4 points for every “d”, and 2.5 for every “e” answer.

If you’ve ever received a diagnosis of acne, rosacea, contact dermatitis, or eczema from

a dermatologist, then add 5 points to your score. If another type of physician has

diagnosed you with these conditions, add 2 points to your score.

Enter your total Sensitive/Resistant score here: ________

If you scored between 12-32, then you have Resistant Skin.

If your score is between 12-22 you have very resistant skin.

If your score is between 23-32 you have somewhat resistant skin.

If you scored between 33-53, then you have Sensitive Skin.

If your score is between 33-34 you have somewhat sensitive skin.

If your score is between 44-53 you have very sensitive skin.

Page 25: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

12

CHAPTER III

METHODOLOGY

3.1 Introduction

This chapter is about the methodology for Skin Type Detection. Methodology

is very important in develop any system or application because it is a step to show the

more organize ay we can develop or system or project. There are various types of

methodology development in developing an application system. Each of the chosen

approach has been refined to suit the project to be developed.

3.2 Methodology

Waterfall Methodology

Waterfall method is chosen because it organized and structured. Much like

construction and manufacturing workflows, waterfall methodology is a sequential

design process. This means that as each of the six stages (requirement analysis, design,

implementation, implementation, testing, and maintenance) are completed, then can

move on to the next step.

As this process is sequential, once a step has been completed, we can’t go back to a

previous step – not without scratching the whole project and starting from the

Page 26: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

13

beginning. There’s no room for change or error, so a project outcome and an extensive

plan must be set in the beginning and then followed carefully.

Figure 3.1: Waterfall Model

Requirement analysis

Requirement analysis is the first phase in Waterfall Model which specific

requirement are analyse to understand the problems. The requirement is analyse

by doing a research on existing system and documentation. It also discusses on

functionality and the main process of the system. Literature review is done with

research information gathered by comparing technique, algorithm and method

used. In addition, objectives are figured out with the scope of the system.

Page 27: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

14

System design

In design stage, the diagram of Context Diagram(CD), Data Flow

Diagram(DFD) and Entity Relationship Diagram(DFD) is built to more clarify

about the application. Next, database and interface is design based on the

process involve in the system.

Implementation

Implementation phase is beginning once the design is approved. This project is

developed using MySQL, DreamWeaver and XamppServer. XamppServer is

used as the localhost server. The system is developing by based on database and

interface designed in system design phase.

Testing

The application is tested after the implementation is completed. There are two

types of testing which is black-box testing and white-bow testing. Testing the

system is to find any error occur in the system to determine whether the

application meets specified requirement. The testing is repeated if there are any

errors.

Deployment

The application is deployed in the client environment or released into market and

reviewed whether the system meets all the goals in the project plan or not.

Page 28: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

15

Maintenance

Maintenance process is the final phase of the Waterfall Model, to measure the

effectiveness of the system and evaluate potential enhancements. The purposed

of this stage is to improve the program. The maintenance lets monitor the

implementation of a program based on feedback, and understand and why

something happen. Next, assess program efforts by determine how well it

meeting the objectives and provide lessons learned for future programming.

3.3 System Requirements

The important in a development of the system is the system requirements. They are

software and the hardware that will be used to build up the entire system. Thus, Skin

Type Detection will be used several hardware and software when developing this

project.

3.3.1 Hardware

Hardware Description

Laptop Acer Aspire V3 471 Use to build in the system

Pendrive As storage and backup of the file

Printer To print the hardcopy of the

documentation

Table 3.1 Hardware Table

Page 29: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

16

3.3.2 Software

Software Description

Dreamweaver 2006 To make the interface coding and

to run the system

Mozilla Firefox To search data and to show the

system

Microsoft Office 2016 For documentation

Workbench For the database

Xampp Server To run the Workbench

Table 3.2 Software Table

Page 30: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

17

3.3.1 Skin Type Detection Framework

User

Admin

Figure 3.2 Framework for Skin Type Detection

Login Register

Answer question

Skin Type Detection

Get product

recommendation

Skin Type Detection

Login

Page 31: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

18

3.3.2 Architecture Design

Figure 3.3 Home

Figure 3 shows the interface when user open the website of Skin Type Detection.

Figure 3.4 Login

When user click enter, user will be directed to the login interface as the Figure 4.

Page 32: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

19

Figure 3.5 Menu

After user login, user can click from the menu the Question menu to answer the question

as in Figure 6 below.

Figure 3.6 Question Interface

Page 33: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

20

Figure 3.7 Skin Type

In figure 7 shows the interface prototype how user can know their skin type.

Figure 3.8 Recommendation

Lastly for user, after they know their skin type, they can see the recommendation of

product that suitable for them.

Page 34: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

21

For admin, admin also first need to login like the prototype below in Figure 9.

Figure 3.9 Admin Login

Figure 3.10 Home Admin

In figure 10, it shows the homepage of admin that they will be directed after login.

Page 35: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

22

Figure 3.11 Product Interface

When admin choose the menu Product, Admin can see two button Add and Delete for

Admin to manage the product.

Figure 3.12 User Interface

The User menu will show the interface of the search for User by Admin.

Page 36: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

23

Figure 3.13 Logout

Lastly when Admin click Logout it will show the message You already logout as in

Figure 14.

Page 37: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

24

3.3.3 Process Model

Context Diagram

Figure 3.14 Context Diagram

Figure 3.15 show the Context Diagram for the Skin Type Detection that consist of two

entities and the main process involved in the system. Patient need to register detail first

before can start answer the question. When user already answer the question, then user

can know their skin type with the product recommendation. Admin can manage the the

product recommendation and can search for user.

Page 38: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

25

Data Flow Diagram Level 0

Figure 3.15 Data Flow Diagram Level 0

Data flow diagram (DFD) is a representation graphical of the flow data throughout the

system. Figure 3.16 show the six process inside this system. User need to register first

before can start using the system. Then user can answer the question about to know the

skin type. After user answer the question, the answer will be process to know which

skin type is the user. After knowing the skin type, user the get the product

recommendation. For Admin, admin can search for the user and manage the

recommendation.

Page 39: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

26

Data Flow Diagram Level 1 (Answer Question)

Figure 3.16 DFD Level 1 (Answer Question)

Figure 3.17 shows the DFD Level 1 of the Answer Question process. In this level, it

shows the detail process of in this process. User can re answer the question again when

they think their skin type might be differing. If the skin type different, it will update the

new skin type after re answer the question.

Page 40: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

27

Data Flow Diagram Level 1 (Answer Question)

Figure 3.17 DFD Level 0 (Manage)

In Figure 3.18 DFD Level 0 is the detail of process Manage. Admin manage the product

recommendation. Admin can add new product and delete the product added.

Page 41: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

28

3.3.4 Data Model

Entity – Relationship Diagram (ERD)

Figure 3.18 ERD

Figure 3.19 show the Entity Relationship Diagram (ERD) of this system. The entities

here are User, product/recommendation, Question, Skin type, Admin. There also two

composite entities that are get and answer. All the entities here, will become the

references for database table.

Page 42: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

29

Data Dictionary

Table 3.3 Data Dictionary

Attribute Type Size

User User_id varchar 10

User_name varchar 50

User_email varchar 30

User_pass varchar 20

User_age varchar 10

User_country varchar 30

Admin Admin_id varchar 10

Admin_name varchar 50

Admin_email varchar 30

Admin_pass varchar 20

Question Question_id varchar 10

Question_desc varchar 500

Skintype Skin_id varchar 10

Skin_type varchar 20

Product Product_id varchar 10

Product_name varchar 50

Product_desc varchar 500

Product_country varchar 30

Skin_type varchar 20

Page 43: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

30

Table 3.4 Data Dictionary

Attribute Type Size

Answer Answer_id varchar 10

Question_id varchar 10

User_id varchar 10

User_name varchar 50

dateAnswer date

get Product_id varchar 10

User_id varchar 10

dateAnswer date

Page 44: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

31

3.3.5 Algorithm Used

The algorithm that will be used in this system is the rule-based.

scored between 9-22, then have Dry skin.

score is between 9-15 have very dry skin.

score is between 16-22 have slightly dry skin.

scored between 23-36, then have Oily skin.

score is between 23-29 have slightly oily skin.

score is between 30-36 have very oily skin.

scored between 12-32, then have Resistant Skin.

score is between 12-22 have very resistant skin.

score is between 23-32 have somewhat resistant skin.

scored between 33-53, then have Sensitive Skin.

score is between 33-43 have somewhat sensitive skin.

score is between 44-53 have very sensitive skin.

Example IF score >=9 OR score <=22 THEN dry skin

IF score <=9 OR score <=15 THEN very dry skin

IF score >=16 OR score <=22 THEN slightly dry skin

Page 45: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

32

CHAPTER IV

CONCLUSION

Through the website Skin Type Detection, that will be developed, I hope I can build it

with the objectives is being fulfil. Besides, I hope this website can really help user in

finding their truly skin type and the product that really suitable with their type. Besides

it can help the user to take care of their skin when they know their skin type and know

how to take care of it before start using the wrong product and wrong way. Finally, I

hope I can build this website successfully with just low limitation of works.

Page 46: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

33

REFERENCES

• Sensitive Scale -10 . Britanny: Acta Derm Veneroel.

• Leslie S. Baumann, R. D. (2014). A Validated Questionnaire for Quantifying

Skin Oiliness . Journal of Cosmetics,Dermatological Science And Application,

7.

• Lotz, M. (2015, July). Segue Technology. Retrieved from Waterfall vs. Agile:

http://www.seguetech.com/waterfall-vs-agile-methodology/

• SDLC Waterfall. (n.d.). Retrieved from Tutorials Point:

https://www.tutorialspoint.com/sdlc/sdlc_waterfall_model.htm

Page 47: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

34

Page 48: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

35

Page 49: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

36

Page 50: NOR NABILAH BT NAJIR@NAJIBgreenskill.net/suhailan/fyp/report/038292.pdf · ii CONFIRMATION This project report entitled Skin Type Detection was prepared and submitted by Nor Nabilah

37