Coder Social home page Coder Social logo

dvs-voltmeter's Introduction

DVS-Voltmeter

Code repo for the paper 'DVS-Voltmeter: Stochastic Process-based Event Simulator for Dynamic Vision Sensors'.

Prerequisites

easydict == 1.9
pytorch >= 1.8
numpy >= 1.20.1
opencv-python == 4.5.1.48
tqdm == 4.49.0

The code may be compatible with lower versions, while the aforementioned ones have been tested.

Dataset

The sample input video frames to try DVS-Voltmeter with are in samples on google drive. Download samples and put them in data_samples/interp folder.

To simulate events from other videos, put high frame-rate videos (can be obtained by video interpolation) in data_samples/interp folder and modify the data index tree as following:

├── [data_samples]
│   ├── interp
│   │   ├── videoname1
│   │   │   ├── info.txt
│   │   │   ├── framename11.png
│   │   │   ├── framename12.png
│   │   ├── videoname2
│   │   │   ├── info.txt
│   │   │   ├── framename21.png
│   │   │   ├── framename22.png

The video info file info.txt records the path and timestamp ($\mu s$) of each frame.

Usage

  1. Configure the src/config.py file. For detailed configuration, please refer to the config file.
  2. Run python main.py

Biblography

If you find our work useful, please use the following citation.

@inproceedings{lin2022dvsvoltmeter,
  title={DVS-Voltmeter: Stochastic Process-based Event Simulator for Dynamic Vision Sensors},
  author={Lin, Songnan and Ma, Ye and Guo, Zhenhua and Wen, Bihan},
  booktitle={ECCV},
  year={2022}
}

License

MIT License

dvs-voltmeter's People

Contributors

lynn0306 avatar olivemy avatar

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.