300 likes | 606 Views
Smart Switch. Jon Bright Dan Quintas Matt Spencer Steven Shropshire. An automated input peripheral multiplexor for computing systems. ECE 4007 Section L03 Project Advisor - David Anderson March 30, 2010. Project Overview – What and Why.
E N D
Smart Switch Jon Bright Dan Quintas Matt Spencer Steven Shropshire An automated input peripheral multiplexor for computing systems ECE 4007 Section L03 Project Advisor - David Anderson March 30, 2010
Project Overview – What and Why • What – Automatically switches keyboard, mouse between computers • Why – Eliminates redundancy; alleviates clutter; improves ergonomics/productivity
Project Overview – How, Who, and Cost • How – Processes digital video stream to determine user’s orientation • Who – Consumers with multiple computers; industries with complex workspaces • Cost – Smart Switch prototype: $81,885
Design Goals • Switch two computers • Platform independent • Demonstrate on two people • Operable for range of lighting conditions • Allows head movement • Real time; Maximum delay of 600ms
Smart Switch Physical Components Camera Video Feed Video Processing Board Instruction signal Input: keyboard, mouse Output: computers KVM Switch
Smart Switch Nonphysical Component • Digital image processing algorithm • Video processing board • Processes video in real time • Determine computer head faces • Output active computer
System Overview User faces the monitor Camera generates video feed Algorithm determines active computer Active computer Input from keyboard and mouse KVM Switch routes keyboard, mouse Inactive computer
Current Status – Components Obtained • Video Processing Board – Texas Instrument’s TMS 320DM6437 on the “Da Vinci” development platform • Camera – Swann Infra-Red C510R CCD • KVM Switch – BelkinOmniView E Series 2 port • Algorithm – Fast Face Detection (FFD) Algorithm
Swann Infra-Red Camera • Readily available from Dr. Anderson • Can replace with simpler webcam • Infrared illumination • NTSC video format • 30 fps frame rate
Belkin KVM Switch • Readily available from Dr. Anderson • Route keyboard, mouse to appropriate computer • Controlled by “Da Vinci” board/FFD • Digital Hi/Lo signal controls relay switch • Relay soldered into KVM circuitry
Da Vinci Video Processing Board • Readily available from Dr. Anderson • 600MHz • 30 fps video decoder • Programs downloaded with computer-board interface • Serial output to interface with KVM
Fast Face Detection Algorithm Needs • Detect face • Determine direction • Work in real time
Feature Detection • Proposed by Paul Viola and Michael Jones • Compare adjacent rectangles to learn patterns • FFD uses a graphical representation • Algorithm hard coded
Accomplishments • Possible values – left, right, center, error • Seems to be real time compatible • With speed come higher error percentages
Algorithm Error Handling Wait for Frame Center Get Frame, Run FFD Algorithm Set Flag Error Do nothing Right/Left Flag? No Yes Count++ Switch Count > N? Yes Switch
Controlling error with N • N based on duration of algorithm • Estimated error rate: 1/10 frames • Probability incorrect switch occurs • N = 3, probability incorrect switch: 1/1000
Problems • Troubleshoot faulty board • Debug algorithm with Swann video input • Debug algorithm after Da Vinci installation • Learn to control serial port with Da Vinci • Improve robustness
Summary of Tasks to be Completed • Test/debug the C version of the algorithm • Write code to control serial output of board • Install relay switch onto the KVM switch • Test overall system • Design/build enclosure