Skip to content

Manojkl/object-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Tracking

Object tracking is the process of localizing the detected semantic object and track the object in real time. Objetcs are typically human, animal, cars , etc

Object detection survey

Dependencies:

  • Python (3.7.4)
  • opencv_python (4.2.0.34)
  • imutils (0.5.3)
  • scipy (1.4.1)
  • numpy (1.19.0)

Usage

  • Clone the repository to the local machine using git clone.
  • Make sure the requirment packages are installed
pip install -r requirements.txt 
  • Change the directionry location to ..\code\
  • The caffe model is pre-trained to detect human face.
  • Run the below code to detect and track the face in real time in the terminal.
python track_object_real_time.py --prototxt deploy.prototxt --model res10_300x300_ssd_iter_140000.caffemodel
  • Run the below code to detect and track the face from video file in the terminal.
python track_object_from_video_file.py --prototxt deploy.prototxt --model res10_300x300_ssd_iter_140000.caffemodel --video ../object-tracking/code/test.mp4

About

Track the object in the video in real time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published