• Tidak ada hasil yang ditemukan

Face Detection and Facial Expression Classification using Cascade Detectors and Convolutional Neural Networks

N/A
N/A
Protected

Academic year: 2025

Membagikan "Face Detection and Facial Expression Classification using Cascade Detectors and Convolutional Neural Networks"

Copied!
3
0
0

Teks penuh

(1)

Fundamentals of Computer Vision (Undergrad) - B. Nasihatkon Spring 1398 (2019)

K. N. Toosi University of Technology

Face Detection and Facial Expression Classification  using Cascade Detectors and Convolutional Neural  Networks 

  Overview 

Your task is to write a program that detects faces in an image and classifies them according  to their expressions. 

Goals 

1. Preprocess and prepare training data for cascade detection,  2. Train and run a cascade detector in OpenCV.  

3. Train a Convolutional neural network to classify facial expressions.  

 

(2)

Phase 1: Cascade detection 

In this phase, you need to: 

1. Train a cascade detector to detect faces in images,  

2. Run the cascade on real images and extract the false positives, 

3. Add false positives to the negative data samples and retrain the cascade. (repeat this  if needed) 

There are lots of tutorials on the internet about cascade detectors and their training in  OpenCV. You may start here: 

https://docs.opencv.org/master/dc/d88/tutorial_traincascade.html  

https://www.learnopencv.com/training-better-haar-lbp-cascade-eye-detector-opencv/  

 

A variety of datasets can be found on the internet for face detection. For example, look here: 

● http://vision.ucsd.edu/content/yale-face-database  

● http://vision.ucsd.edu/content/extended-yale-face-database-b-b  

You can use the cropped faces for positive examples (the cropped faces are either available  in the datasets, or you need to extract them using bounding boxes and resize them for  training).  

Phase 2: Facial Expression Classification 

Train a convolutional neural network to get a cropped image of a face and classifies it in at  least 3 of the following categories: 

● neutral 

● happy 

● sad 

● surprised 

● disgusted 

● angry 

Some of the datasets are listed here: 

https://en.wikipedia.org/wiki/Facial_expression_databases  

   

(3)

Phase 3: Combination 

Combine phases 1 and 2: Detect faces in an image using a cascade detector. Then feed the  detected face into the neural network for expression classification.  

Teamwork and How to present 

● You may work in teams of at most 2 people. But, each student will present the project  to the TAs individually. Each student must be able to fully explain all parts of the code.  

● Your program is tested on a video taken by a webcam. But, it does not need to  perform at the frame rate (in real time).  

● You have till the coming Saturday to send your team members to the TAs.  

Your programs will be checked for similarity. Similar codes will not be marked.  

You cannot use pre-trained cascades or networks.  

Extra Credit 

Extra credit is given for 

● No false positives.  

● Real-time execution on videos (at least 20 frames per second for an 800x600 video), 

● Covering different poses (frontal to profile views), 

● Also classifying according to gender (male, female) and age (adult, child).  

Referensi

Dokumen terkait

Real-Time Landing Spot Detection and Pose Estimation on Thermal Images Using Convolutional Neural Networks Xudong Chen1, Feng Lin1,2, Mohamed Redhwan Abdul Hamid1, Swee Huat Teo1, Swee

262 INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi Classification of Dragon Fruit Stem Diseases Using Convolutional Neural Network Received: 20 May 2023

POTATO LEAF DISEASES DETECTION USING CONVOLUTIONAL NEURAL NETWORKS BY DIL TABASSUM SUBHA ID: 171-15-8928 FARID-UZ-ZAMAN ID: 171-15-9357 AND ANIK BISWAS ID: 171-15-9344

This significant features vector can be used to identify an unknown face by using the backpropagation neural network that utilized euclidean distance for classification and

A COMPARITIVE STUDY OF CONVOLUTIONAL NEURAL NETWORK MODELS FOR DETECTION, CLASSIFICATION AND COUNTING OF VEHICLES IN TRAFFIC Azizi Abdullah and Jaison Raj Oothariasamy Faculty of

18 COMPARISON BETWEEN FACE AND GAIT HUMAN RECOGNITION USING ENHANCED CONVOLUTIONAL NEURAL NETWORK Fatima Esmail Sadeq*1, Ziyad Tariq Mustafa Al-Ta'i2 Department of Computer

Keywords: Recommender System; Twitter; Content Based Filtering; Word Embedding; RoBERTa; TFIDF; Classification; Convolutional Neural Network This work is licensed

INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi 27 Augmented Rice Plant Disease Detection with Convolutional Neural Networks Received: 19 September 2023