SmartVision - UCSB · SmartVision Jacob Anderson, William Chen, Christopher Kim, Jonathan Simozar, Brian Wan 1 n . About our mentor n 2! IT & engineering consulting! Based in Santa

Post on 21-May-2020

14 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

UI|UX DESIGN n

SmartVision

Jacob Anderson, William Chen, Christopher Kim, Jonathan Simozar,

Brian Wan

1

n

About our mentor

2n

Ø  IT & engineering consulting

Ø Based in Santa Barbara

n

Working alongside

Ø Utilize Lepton

Ø Thermal imaging company

3

n

Everyday Problems

4

Ø House fires

Ø Frozen pipes

Ø People falling

Ø Unwanted Guests

Solution: SmartVision

n

Hardware

Raspberry Pi Lepton

5

n

Technology Stack

6

Ø  Raspberry Pi

Ø  OpenCV

Ø  MJPG-streamer

Ø  SQLite

Ø  Django

Ø  Bootstrap

Ø  Textbelt

Ø  Mailgun

n

Architecture

Image

SPI I2C

People Detector

Fall Detector

Temperature Detector

Event Log Settings

Settings/Log Manager

Text/Email API

Alert Message

Web Server Configure Settings

7

n

Demo

8

n

Web Application for SmartVision Ø Powered by Django MVC Framework

Ø Models abstract the database using Object Relational Mapping

(ORM)

Ø Views handle requests from controller and reply with numerous

data types including HTML, JSON, and plain text

Ø Controllers map URLs to views using regular expressions

9

n

Web Application for SmartVision Ø Written in HTML, CSS, and JavaScript

Ø Bootstrap: positioning, organizing, and content creation

Ø jQuery UI: increase user interactivity

Ø iFrame: stream live feed from Lepton

Ø AJAX: relay settings and retrieve events

10

n

Settings/Log Manager

Ø SQLite wrapper with built-in C functions

Ø Configuration Thread reads updates from the web app

Ø Event Threads can write entries into the log table

Ø Textbelt and Mailgun APIs used to send alerts

11

n

Fall Detection Ø Background Subtraction: generates a binary image containing

pixels belonging to moving objects in the scene

12

n

Temperature Detection Ø Communicates with Lepton to enable Radiometry Mode

Ø Calculate temperatures to values using radiometric formulas

Ø Thresholds to determine if temperature is outside valid range

13

n

People Counting Ø Scans the left edge for people.

Ø Track movement of temperatures to see if people are

entering or exiting the frame

14

n

Next Steps

Ø Integrate with IFTTT service

Ø Smarter home, Safer environment

15

n

Thank You

16

top related