This project is an implementation of block matching algorithms used in motion estimation. This application allows users to visualise the inter-frame movement/changes by drawing motion vectors within each macro block of a given video.
usage.mp4
Example frame above. See bear_out.mp4
as full example of output.
This project is using java version 11.0.10
.
This project is using Gradle 5.0
.
-
This project requires
OpenCV 4.5.3
for Java. Instructions for setup with Gradle and IDEA can be found here. -
This project requires
JavaFX 12.0.2
. Instructions for setup with Gradle and IDEA can be found here.
In IntelliJ IDEA File -> Project Structure -> Artifacts -> Add JAR from modules with dependencies
and follow the images below.
Ensure opencv_java453.dll
is added manually.
Then proceed to Build -> Build Artifacts
. Output should be located at out/artifacts/motion_displayer_main_jar
.
Utilising Launch4J follow this video on how to generate EXE. Use jdk-11.0.10
instead of JRE as suggested in video.
There is an existing config file launcher4j_config
.
The executable can only be run on Windows 10 64 bit. You can download the executable here otherwise clone the repository including git lfs files and run Motion Displayer.exe
. Do not delete any files.