Skip to content

Tool used to find the difference between two images in terms of RGB values of the pixels

Notifications You must be signed in to change notification settings

sev-/ImageDiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageDiff

Web tool to compare and highlight differences between two images (built with Flask and Pillow).

Installation

  1. Clone the repository

    git clone https://github.com/sev-/ImageDiff.git
    cd ImageDiff
  2. Create a virtual environment

    Linux / macOS

    python3 -m venv venv
    source venv/bin/activate

    Windows

    python -m venv venv
    venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt

Setting things up

SCREENSHOT_DIR

The directory which stores the screenshots of the scenes

SCREENSHOTS_DIR/
  <target>/
    <build_number>/
      <movie_name>/
        998.png
        1000.png
        1100.png

CACHE_DIR(Must be writable)

The application builds comparison timelines and stores computed results in a cache.

Paths can be configured in config.py

Running the server

Start the application:

python app.py

Open in your browser:

http://127.0.0.1:5001

About

Tool used to find the difference between two images in terms of RGB values of the pixels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 56.8%
  • HTML 39.6%
  • CSS 3.6%