Adil Khan 10 months ago
AdiKhanOfficial #FYP Ideas

Motion detection and tracking with Python and OpenCV

In this project we are  going to show you how to find motion detection and tracking using Opencv loops.           This  is a simple project in which we can see some people are walking around now what we want to do here is

Project Title

Motion detection and tracking with Python and OpenCV

Project Area of Specialization

Augmented and Virtual Reality

Project Summary

In this project we are  going to show you how to find motion detection and tracking using Opencv loops.

          This  is a simple project in which we can see some people are walking around now what we want to do here is  to show these rectangles around these moving people or persons so this is tracking and when some movement occurs it show this kind of status that status is movement because somebody is moving inside the video so if nobody is moving the status will be blank and if somebody is moving then this status will be movement so this is what we are going to achieve at the end of this  we are going to try to track each and every person and also we're going to track this person with this rectangle and also we will show the status as movement when somebody moves inside the video.

Project Objectives

The main objective of this project is to we make use of Motion Detection technology in our daily life. This feature is used in CCTV Cameras to detect any kind of motion in the video frame.And

  • To identify the targeted object in moving sequence
  • To analyze the motion of the object in a video using OpenCV

Project Implementation Method

  • Capturing Real-time video from a camera or Reading recorded video.
  • Read two frames from the video source.
  • Find Out the Difference between the next frame and the previous frame.
  • Apply Image manipulations like BlurringThresholdingfinding out contours, etc.
  • Finding Area of Contours to detect Motion.
  • Drawing Rectangle on the Motion Detected Areas.
  • Showing the video in the window.

Capturing Video

Capture Video, in which you have to detect movement using OpenCV in Python.

Download the same video from the above link – Official OpenCV GitHub page.

cap = cv.VideoCapture(“./img/vtest.avi”)

Read two frames

ret, frame1 = cap.read()

ret, frame2 = cap.read()

In Order to Detect motion in a frame we also need to have the previous frame with us, so we can say there is any kind of movement in the next frame or not.

Finding the Difference between frames

diff = cv.absdiff(frame1, frame2)

absdiff() function is used to find the absolute difference between the frame1 and frame2. As the Difference can’t be negative in this case, so absolute difference is taken.

The difference between the two frames is stored in diff variable and the next process will be held on the difference frame.

Benefits of the Project

The main objective of this project is to we make use of Motion Detection technology in our daily life. This feature is used in CCTV Cameras to detect any kind of motion in the video frame.And

  • To identify the targeted object in moving sequence
  • To analyze the motion of the object in a video using OpenCV

Technical Details of Final Deliverable

  1. Python3
  2. OpenCV(libraries)
  3. Pandas(libraries)

Final Deliverable of the Project

Software System

Core Industry

IT

Other Industries

Core Technology

Augmented & Virtual Reality

Other Technologies

Sustainable Development Goals

Life on Land

Required Resources

Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
DAHUA security camera Miscellaneous 5200010000
Total in (Rs) 10000
If you need this project, please contact me on contact@adikhanofficial.com
0
128
HomeShop

To solve the problem of buying things by going in the market we will provide a solution so...

1675638330.png
Adil Khan
10 months ago
Smart Cashier Drawer

Cash is the Lifeblood of business. Without proper cash handling its very difficult to achi...

1675638330.png
Adil Khan
10 months ago
Design Fabrication and Analysis of Air Engine Test Bed

"Necessity is the mother of inventions", We know that the use of the fossil fuel within fe...

1675638330.png
Adil Khan
10 months ago
Virtual Chemistry Lab

Virtual Chemistry Lab is a web application which is used to perform lab virtually without...

1675638330.png
Adil Khan
10 months ago
Prototype of wearable exoskeletal unit using pneumatiic actuator muscl...

  In modern era the knowledge of robotics is applied in biomedical field to provide...

1675638330.png
Adil Khan
10 months ago