1 of 10

Distance Monitor

Ryan Shue and Yaman Habip

2 of 10

Raspberry pi

Standard client python script run on Raspberry Pi

Python socket allows connection with server ip (laptop computer)

Client script writes image file, server script reads it into bytesio format

3 of 10

Server (laptop computer)

Reads image from Raspberry Pi

Saves image into JPEG format for Image Processing

Calls Image Processing functions

4 of 10

YOLO Object Detection

  • Use a convolutional neural net library with pre-trained weights to identify images as one of 100 given categories
  • Then filter out just the people detected

5 of 10

Distance Measurement

  • Then, using the plot library, we mapped pixels to feet based on the expected length in feet of n-pixel items in the frame and distance from the camera based again on relative size
  • If people were more than six feet apart, they are highlighted in green
  • Otherwise, blue highlights are used

6 of 10

Screenshots

7 of 10

UI

Flask for backend

HTML/CSS frontend

8 of 10

Demo

9 of 10

Thank you! Questions?

10 of 10

Github