Skip to content

ztysdu/Swift-Eye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Swift-Eye: Towards Anti-blink Pupil Tracking for Precise and Robust High-Frequency Near-Eye Movement Analysis with Event Cameras

fast_forward_video.mp4

This is the implementation code for Swift-Eye, which was built upon MMRotate: A Rotated Object Detection Benchmark using PyTorch.

Setup

After cloning our repositories, you can configure the environment by following these steps:

conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -c nvidia

pip install -U openmim

mim install mmcv-full

mim install mmdet<3.0.0

cd mmrotate

pip install -v -e .

To ensure the installation was successful, you can verify it by checking the output of pip list, where you should see something like:

mmrotate 0.3.4 path/to/mmrotate

Data

A test dataset is available for download here. After downloading, please unzip the folder and place it in the Swift_Eye/mmrotate/train_swift_eye directory. If you require additional data, consider checking EV-Eye and utilizing the code from timelens.

train_backbone_and_neck

train_with_temporal_fusion_component

train_without_temporal_fusion_component

train Occlusion-ratio estimator

test_data

Model Weights

You can access the model weights from this link. After downloading, kindly place the weighst in the Swift_Eye/mmrotate/train_swift_eye/swift_eye directory.

Execution

To generate results and the corresponding videos, execute /Swift-Eye/Swift-Eye/test_interpolated.py.

Comparison of Eye Movement Trajectories at 5000 FPS and 25 FPS

eye_movement.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published