FaceOn Elizabeth Carney and Josephine Nyoike CSC 270, Spring 2019 - - PowerPoint PPT Presentation

faceon
SMART_READER_LITE
LIVE PREVIEW

FaceOn Elizabeth Carney and Josephine Nyoike CSC 270, Spring 2019 - - PowerPoint PPT Presentation

FaceOn Elizabeth Carney and Josephine Nyoike CSC 270, Spring 2019 Project Goals Why we picked it: - We were both really intrigued by Computer Vision and wanted to learn more about it. What it does: - Recognizes faces in real time using a


slide-1
SLIDE 1

FaceOn

Elizabeth Carney and Josephine Nyoike CSC 270, Spring 2019

slide-2
SLIDE 2

Project Goals

What it does:

  • Recognizes faces in real time using a PiCam.
  • Sends data to the Arduino for processing.
  • If the face is recognized, we hope to open a box.

Why we picked it:

  • We were both really intrigued by

Computer Vision and wanted to learn more about it.

slide-3
SLIDE 3

The Pi/Arduino Setup

slide-4
SLIDE 4

Sensor

  • Detects how many photons

hit the sensor

  • Has a rolling shutter, meaning it

reads out all of the pixels from the sensor row-by-row

  • Constantly streams pixels to the

Raspberry Pi through the ribbon cable

  • Can post-process videos and images

with filters, transformations, etc.

slide-5
SLIDE 5

The Code

facial_recognition.py ArduinoReceiver.ino

Serial Link

Raspberry Pi Arduino

if (no faces detected): new_data = 0 else: if (face not recognized): new_data = 0 else (if face recognized): new_data = 1 if (new_data != old_data): ser.write(new_data) if (data == 1):

  • nLED( )
  • penBox( )

else if (data == 0):

  • ffLED( )

closeBox( )

slide-6
SLIDE 6

Software

Facial Detection

slide-7
SLIDE 7

Software

Facial Recognition

slide-8
SLIDE 8

Challenges

  • No display when Arduino is connected to the Pi
  • Serial communication
  • Problem: Overloading the communication channel
  • Solution: Reduce the amount of data sent
slide-9
SLIDE 9

Demo!