Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 2.02 KB

README.md

File metadata and controls

57 lines (30 loc) · 2.02 KB

Lier Detection using DeepLearning Technology

A lie detector based on Pytorch for a 2022 R&E school project.

loss

Introduction

lie detector

I sometime play the lie game with my brother and sister. This equipment looks like real lie detector. But the fundamental law is simple. I'd like to improve this lie detector using Deep learning Technology.

Presumption

I set up presumption that a lie relates with our face and our heart rate. Because when I lie, my heart beats fast and my facial expression is changed.

I tracked face expression with Mediapipe FaceMesh model and heart rate with Arduino Sensor.

Collecting Data

I made the UI for data collecting using Flask webpage. This webpage is quite simple but essential for training. Using this UI, I get the image and heart rate numeric figure during lying and not lying.

Model Training

MODEL V1

I made simple Linear Net with Pytorch. I will experiment many type of models to improve the performance.

model_v1

MODEL V1-2

The performance of this model didn't improve because of some reasons.

The factors are like this.

  • We don't reflect facial expression position data.
  • We don't preprocess landmark position.

Solution I think.

  • BatchNormalization
  • Dropout Network

I changed some features of the network. And train again it.

model_v1-2

v1 Model Result

loss

MODEL V2

I made Neural Network with Convolutional Network becauase linear net doesn't reflect the facial expresssion emotion. But this network doesn't working well too...

model_v2