1 / 17

Motion Detection

Motion Detection. By: Tejash Patel Nishad Soni ECE445-Project # 11. Introduction. Motion Detector is a device that Catches any movements in the view of camera Provides an indication of the movement Figures out the DIRECTION of the motion Can be useful as a security device

benoit
Download Presentation

Motion Detection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Motion Detection By: Tejash Patel Nishad Soni ECE445-Project # 11

  2. Introduction • Motion Detector is a device that • Catches any movements in the view of camera • Provides an indication of the movement • Figures out the DIRECTION of the motion • Can be useful as a security device • Reliable and Cost-effective

  3. Objective • Main goal is to implement a device that will detect any motion in front of the camera. If motion is encountered, then the Alarm/Red Light should be turned on. • This project can be mainly divided into two parts: Hardware & Software Software  Recognizes Movements Hardware Triggers Alarm/Red Light

  4. Edge Detection MatLab Simulations Canny Prewitt Sobel

  5. Edge Detection Zero Cross More Simulations Roberts Sobel

  6. Sobel Filter • 3x3 Filter • Concept of Directional Derivative (Gradient) • Calculates the difference of intensity • each pixel and its neighbors • If any one of the absolute differences (X-N) • is greater then 127, the resulting pixel (‘X’) • should be white • - Easy to implement and works well

  7. Block Diagrams • Software • Downsampling by a factor of 4 • Sobel Filtering Storing two consecutive Sobel Outputs • Difference Frame  Difference of Sobel Outputs • Summing & Thresholding  Black or White Frames

  8. Block Diagrams • Hardware • IR Sensor  Distinguishes Black or White Background • AC to DC  Smoothens Output from IR sensor • Pulse Detector  Detection of positive edges • Amplifier  Interface between Analog & Digital Logic

  9. Designs • IR Sensor that we used in ECE110 • AC to DC Converter • * Full-Wave Rectifier • * Low Pass Filtering • * Voltage Regulator IR Sensor AC to DC Converter

  10. Designs Output = R’Qn+R’Qn-1 • Pulse Detector: Implemented using • Combinatory & Sequential Logic • The Alarm (output) should be on if • Reset is off • AND • Input from IR sensor is HIGH OR • Previous Output is HIGH

  11. Overall Hardware

  12. Additional Feature • Software • - Dithering & Noise Removal to Sobel outputs • Determining the direction of motion by calculating • Horizontal & Vertical Centroids • Highlighting Centroid to display Direction of motion • on the monitor

  13. Testing • Each component separately Sensor  Black/White Background AC to DC  Using a Sinusoid from Function Generator Pulse Detector  Using pulses from Function Generator • Thresholding Varying the distance of moving object Changing Light Intensity of the room Changing the focus of camera - System Integration and Final Testing

  14. Challenges and Successes • Learning DSP Architecture • Syntax and System Flow • Memory Management • Configuring Input/Output Ports • Getting Pulse Detector to work • Designing Interface between Analog & Digital Logic • Success in quickly finding an alternative for Input/Output Ports • Mastering DSP (C6711) Processor • Integrating Hardware and Software components

  15. A great Success • Overall Project was a great success • Project worked properly as stated in the Design Review • Extra features added to the project also worked outstandingly

  16. Future Development • Cameras with high resolution can give us better results • New Features can also be added • Capturing a snapshot of a frame when motion encountered • Instant recording by VCR if motion detected • Recognizing shapes of moving objects • Using this project in parallel for cost-effectiveness

  17. Questions/Comments??

More Related