https://github.com/kiritofeng/jpendulum
Tracking Pendulums
https://github.com/kiritofeng/jpendulum
ffmpeg-java java maven opencv-java pendulum
Last synced: 4 months ago
JSON representation
Tracking Pendulums
- Host: GitHub
- URL: https://github.com/kiritofeng/jpendulum
- Owner: kiritofeng
- Created: 2018-10-19T00:36:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-10T00:32:14.000Z (over 7 years ago)
- Last Synced: 2025-03-12T08:30:03.366Z (11 months ago)
- Topics: ffmpeg-java, java, maven, opencv-java, pendulum
- Language: Java
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jpendulum
Tracks a pendulum, given a video as input, and returns a `.csv` with angular displacement of the pendulum.
## Development
Requires: Git, Maven
1. Clone the repository. `git clone https://github.com/kiritofeng/jpendulum`
2. Switch to directory. `cd jpendulum`
3. Build with Maven. `mvn clean compile assembly:single`
## Usage
After obtaining the compiled `jar`, run `java -jar jpendulum.jar `.
- `video` is the video file to analyse.
- `output file` is the file to output the result to
- `colour` is the colour to track
- `tolerance` is how much tolerance to give
- `enable gui` is an optional argument that defaults to false. By setting it to true, you can see a playback of the video, where the tracked regions are highlighted.