Skip to content

zchrissirhcz/KantuCompare

Repository files navigation

KantuCompare

GitHub linux-x64 windows-x64 mac-x64

A GUI for image difference visualization.

Features

  • Support various image formats: encoded and Fourcc images ([prefix_]WIDTHxHEIGHT.ext):
    • .jpg, .png, .bmp, .jpeg
    • test_1280x720.NV21, test_1280x720.NV12, hello_7680x4320.nv21, yes_640x480.i420
    • lena_1280x720.rgb24, lena_1280x720.bgr24, lena_1280x720.gray
  • Automatically compare and display difference image, just like Beyond Compare

Usage

Click "Load" buttons to load images. Once both two input images loaded, the diff image is computed and displayed.

  • Change Tolerance slider to get different compare result.
  • Change Zoom slider or use mouse wheel to scale images.

See images directory for testing images.

Installation

Download Prebuilt

There are prebuilt executable packages in the Releases page, support Windows-x64, Linux-x64, MacOSX-x64.

Build from source

# clone repo
https://github.com/zchrissirhcz/KantuCompare
cd KantuCompare

# clone, build and install dependencies by provided script
pip install -r requirements.txt
python sledpkg_run.py
# alternatively, go to cmake/deps.cmake and modify it

# build the project itself
cd build
./vs2022-x64.cmd # for Windows
./linux-x64.sh   # for Linux/MacOSX

# start the app
cd linux-x64
./KantuCompareApp

Remarks

The initial trial was based on Qt.

References