mirror of
https://github.com/MarkusPfeifer2005/BallLocalisation.git
synced 2026-11-04 04:35:53 +01:00
This was a project used to do some measurements for the AYPT 2023.
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| main.py | ||
| README.md | ||
Single Object Tracker
Usage:
- Start the application.
- Select a mp4 file.
- Select two points by double-clicking twice on the image and confirming with [enter].
- Enter a reference value (in cm) of the selected distance.
- Enter a point as the center for the pendulum, be double-clicking on the image.
- Select an object you want to track by holding the left mouse button pressed and create a bounding box.
The application then creates a csv file in the directory of the video. Be aware that the video is displayed upside down. Since this has no effect on the intended usage, it remains unchanged. The csv file has the following structure:
- Column 1: Index of the frame beginning at 0.
- Column 2: X-elongation of the center pixel of the tracked object.
- Column 3: Y-elongation of the center pixel of the tracked object.