Skip to content

Computer vision motion detector written in matlab, then later adapted to python

Notifications You must be signed in to change notification settings

ammoore00/Motion-Detector

Repository files navigation

Motion-Detector

This software was designed for my intro to engineering class in 2017.

The project assignment was to design a system to increase pedestrian safety, and we decided to design a traffic signal which would indicate the presence of pedestrians to protect pedestrians from cars turning in an intersection.

The software works by keeping a rolling temporal average of the background, and comparing the current frame to that average. This allows for changes over a long time scale, such as lighting or weather, to be ignored while detecting faster changes such as moving objects. The following images demonstrate the detection system of the program for a person walking and an RC car driving in front of the camera:

If something was detected, a signal would be sent over ethernet to a connected raspberry pi, whcih would then show an image, representing the traffic signal activating.

This project was later rewritten in python, which can be viewed under the python branch.

About

Computer vision motion detector written in matlab, then later adapted to python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published