Skip to content

NeuromorphicX/convert_to_events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Event Conversion Scripts

This project contains .sh files and helper scripts for converting videos from the INPUT_DIR to the specified output directory.Place this in installed V2E directory for conversion.

Usage

  1. Place your video files in the INPUT_DIR.
  2. Run the appropriate .sh script to start the conversion process.
  3. The script converts the input videos into .h5 files, which are heavy [make sure you have enough space] [adjust the pos_thres, neg_thres to reduce the size].
  4. By default, I have converted .h5 file into .npz to reduce the size, can comment the line python convert_h5_to_npz.py "${OUTPUT_DIR}/${fname}.h5" if only .h5 is needed [ .aedat is not available for 960x540 resolution. ]
  5. Converted videos will be saved in the OUTPUT_DIR.

Example

chmod +x preprocess_v2e_po_train.sh
./preprocess_v2e_po_train.sh 

Requirements

  • V2E installed
  • Required video conversion tools (e.g., ffmpeg)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published