Skip to content

Computes and displays motion vectors of video based on user criteria.

Notifications You must be signed in to change notification settings

Rhodri-Morgan/motion-displayer

Repository files navigation

Motion Displayer Application

About

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

bear_out.jpg

Example frame above. See bear_out.mp4 as full example of output.

Java and Dependencies

Java Version

This project is using java version 11.0.10.

Gradle Version

This project is using Gradle 5.0.

Dependencies

  • 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.

Building Jar and Exe

Jar

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.

Jar Instructions 1

Jar Instructions 2

Then proceed to Build -> Build Artifacts. Output should be located at out/artifacts/motion_displayer_main_jar.

Exe

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.

Running Executable

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.

About

Computes and displays motion vectors of video based on user criteria.

Topics

Resources

Stars

Watchers

Forks