OpenViSTAI · Agents · Blockchain · Crypto
Menu
Image & Video AI

Perceptual Reflection Removal

Perceptual Reflection Removal is a Python and TensorFlow research repository for separating reflections from a single image using perceptual losses, with code and data guidance for training and testing.

Independent OpenViST project profile, based on linked sources.

Perceptual Reflection Removal — Reproducing or extending a research workflow for reflection removal
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need research code and a documented workflow for experimenting with reflection separation from single images, rather than a ready-to-use photo-editing interface.

Who it is for

  • Computer-vision researchers studying single-image reflection removal
  • Developers who want to examine or adapt Python research code for reflection separation
  • Users preparing image datasets or testing the provided pretrained model

Documented uses

  • Test reflection separation on a folder of images with the provided pretrained model
  • Train the model from synthetic and real image data
  • Continue training from an existing checkpoint
  • Organize synthetic and real datasets for the repository's data loader
Before you choose

Requirements & limits

The GitHub repository is public and lists an Apache-2.0 license.

  • The repository specifies TensorFlow 2.10 or earlier and tf-slim 1.1.0; other tf-slim versions are described as potentially suitable but untested.
  • Setup requires a separately downloaded pretrained VGG-19 model placed in VGG_Model.
  • The README says the code was tested on Ubuntu 16.04 LTS.
  • The testing workflow uses a pretrained model archive and requires setting the test-image path in main.py.
  • Real training data is documented as blended images plus transmission-layer ground truth, without ground-truth reflection layers.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Test images with the provided pretrained model

Prepare the documented pretrained-model testing workflow and locate its output folder.

Before you start

  • A clone or download of the repository
  • TensorFlow 2.10 or earlier and tf-slim 1.1.0
  • The pretrained model archive
  • A folder of test images

Steps

  1. Download the pretrained model archive and extract it; the README says this creates a pre-trained folder.

  2. Set test_path in main.py to the test-image folder, or keep the supplied test-image path.

  3. Run the command below.

    Documented command
    python main.py --task pre-trained --is_training 0

Expected outcome

The README says test results are written to `./test_results/`.

Guide limitations

  • The instructions specify editing test_path at line 419 of main.py.
  • The README reports testing on Ubuntu 16.04 LTS and specifies TensorFlow 2.10 or earlier with tf-slim 1.1.0.
Source-based practical guide

Prepare the documented training data layout

Organize synthetic or real image data in the folder structure expected by the repository's data loader.

Before you start

  • For synthetic data, separate image folders for reflection and transmission layers
  • For real data, blended images and transmission-layer ground truth

Steps

  1. For synthetic data, create a root folder with reflection_layer and transmission_layer subfolders; synthetic blends are generated on the fly.

  2. For real data, create a root folder with blended and transmission_layer subfolders.

  3. Use the resulting root paths as the synthetic and real data directories in the training instructions.

Expected outcome

The data directories are arranged for the README's training workflow, which accepts synthetic and real data paths.

Guide limitations

  • The real-data layout has no ground-truth reflection-layer folder.
  • The README describes the folder layout and training commands but does not establish that a particular dataset will train successfully.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 November 2026
Original website title
ceciliavision/perceptual-reflection-removal · Official homepage title · retained in its source language