Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.03 KB

File metadata and controls

67 lines (47 loc) · 1.03 KB

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