Giter Club home page Giter Club logo

evlowlight's Introduction

Coherent Event Guided Low-Light Video Enhancement

Paper | Project Page

Jinxiu Liang1, Yixin Yang1, Boyu Li1, Peiqi Duan1, Yong Xu2, Boxin Shi1

1Peking University
2South China University of Technology


โญIf EvLowLight is helpful for you, please help star this repo. Thanks!๐Ÿค—

Table Of Contents

TODO

  • Release inference code and pretrained models.
  • Update links to paper and project page.
  • Provide a runtime environment Docker image.
  • Release train code and training set.

Installation

  1. Clone this repo using git:

    git clone https://github.com/sherrycattt/EvLowLight.git
  2. Create environment:

    Option 1: Using pip

    cd EvLowLight
    conda create -n evlowlight python=3.8
    conda activate evlowlight
    pip install -r requirements.txt

    Option 2: Using docker

    docker run --runtime=nvidia --gpus all --ipc=host --network=host  --rm -it \
      --ulimit memlock=-1 --ulimit stack=67108864 \
      -v `pwd`/EvLowLight:/workspace \
      -v `pwd`/timelens:/datasets/timelens \
      sherrycat/evlowlight

    Note the installation is only compatible with Linux users.

Inference

We provide an example for inference, check options/**_option.yml for more arguments.

python inference.py -opt options/timelens_option.yml

Data Preparation

We provide example test data converted from the TimeLens for demo, which can be downloaded from Link (extracted code: Y9CN). Please place the dataset in the ../datasets folder. The dataset structure should be organized as follows:

โ”œโ”€โ”€ timelens
โ”‚   โ””โ”€โ”€ events
โ”‚       โ”œโ”€โ”€ paprika_1000_gain_control_02
โ”‚       โ”‚   โ”œโ”€โ”€ events.txt
โ”‚       โ”‚   โ””โ”€โ”€ timestamp.txt
โ”‚       โ”œโ”€โ”€ pen_03
โ”‚       โ”‚   โ”œโ”€โ”€ events.txt
โ”‚       โ”‚   โ””โ”€โ”€ timestamp.txt
โ”‚       ...
โ”‚   โ””โ”€โ”€ low
โ”‚       โ”œโ”€โ”€ paprika_1000_gain_control_02
โ”‚       โ”‚   โ”œโ”€โ”€ 000000.png
โ”‚       โ”‚   โ””โ”€โ”€ 000001.png
โ”‚       โ”‚   ...
โ”‚       โ”œโ”€โ”€ pen_03
โ”‚       โ”‚   โ”œโ”€โ”€ 000000.png
โ”‚       โ”‚   โ””โ”€โ”€ 000001.png
โ”‚       โ”‚   ...
โ”‚       ...
โ”‚  ...

Each subfolder in the low folder contains image files with template filename %06d.png, and the file in the events subfolder contains events corresponding to the image subfolder with template filename events.txt defined as ev_file_ext in the option configuration file. Moreover, events also contains timestamp.txt where image timestamps are stored. The image stamps in timestamp.txt should match with the image files .

Citation

Please cite us if our work is useful for your research.

@inproceedings{liang2023evlowlight,
  title = {Coherent Event Guided Low-Light Video Enhancement},
  booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
  author = {Liang, Jinxiu and Yang, Yixin and Li, Boyu and Duan, Peiqi and Xu, Yong and Shi, Boxin},
  year = {2023},
  pages = {10615--10625},
}

License

This project is released under the Apache 2.0 license.

Acknowledgement

This project is based on BasicSR. Thanks for their awesome work.

Contact

If you have any questions, please feel free to contact with me at [email protected].

evlowlight's People

Contributors

sherrycattt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar Jeff Carpenter avatar Dogun-Kim avatar HaoLUO-29 avatar Jingwen Wang avatar Dachun Kai avatar Taewoo kim avatar Shi Guo avatar Haotian Liu avatar  avatar Kanghao Chen avatar

Watchers

 avatar Taewoo kim avatar Dachun Kai avatar

Forkers

scott-mao wxc522

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.