Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ui
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

pyqt5_opencv

Cross-platform object tracking tool using pyqt5 and opencv3

Dependencies:

  • Python3
  • PyQt5
  • OpenCV3

Usage:

  • Run "python qtcv.py"
  • Open your web camera or load a video file
  • (Optional) Calibrate: click-and-drag to select a reference line for real-world measurement, this will tell you the displacement of your tracking point in centimeter
    • Note: the assumption is that the distance between each point of your video surface and the lens is identical
  • Click-and-drag to select the object you want to track
  • Click Start to tracking, you may click Pause at any time as well. -- You may also use Start and Pause to position the frame in which you trakcing object is

Data:

  • In the right-top corner, the real-time pixel coordinate of your tracking point and its measured displacement appear in the first line and the second line respectively
  • When the tracking finished, tracking data named after (current time).csv will be saved in the ./data folder

About

Object tracking using pyqt5 and opencv3

Resources

License

Releases

No releases published

Packages

No packages published

Languages