← Open Source
alex04072000

FuSta

Hybrid Neural Fusion for Full-frame Video Stabilization.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
599
Stars
86
Forks
+0
This week
1
Contributors
Created 2021-02-10 · Updated 2026-10-03 · #16311 today
Top developers

alex04072000/FuSta is ranked 16,311 with 599 stars.

Same-category comparison

alex04072000/FuSta is ranked 16,311 among these 8 peers; luispedro/milk is ranked 16,317.

Same-category comparison
NameRankMetrics
JiahuiYu/wdsr_ntire201816,296
Language:
Python
Stars:
600
Forks:
119
Description:
Code of our winning entry to NTIRE super-resolution challenge, CVPR 2018.
RaphaelMeudec/deblur-gan16,297
Language:
Python
Stars:
600
Forks:
247
Description:
Keras implementation of "DeblurGAN: Blind Motion Deblurring Using Conditional Adversarial Networks".
jostmey/rwa16,301
Language:
Python
Stars:
600
Forks:
60
Description:
Machine Learning on Sequential Data Using a Recurrent Weighted Average.
lucidrains/point-transformer-pytorch16,303
Language:
Python
Stars:
600
Forks:
57
Description:
Implementation of the Point Transformer layer, in Pytorch.
luispedro/milk16,317
Language:
Python
Stars:
599
Forks:
142
Description:
MILK: Machine Learning Toolkit.
ma-xu/pointMLP-pytorch16,318
Language:
Python
Stars:
599
Forks:
78
Description:
[ICLR 2022 poster] Official PyTorch implementation of "Rethinking Network Design and Local Geometry in Point Cloud: A Simple Residual MLP Framework".
mblondel/soft-dtw16,319
Language:
Python
Stars:
599
Forks:
98
Description:
Python implementation of soft-DTW.
zsdonghao/text-to-image16,324
Language:
Python
Stars:
599
Forks:
161
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
KeywordsComputer vision
Stars599
Forks86
Contributors1
Created date2021-02-10
Updated date2026-10-03
Stars in 1 day0
Stars in 7 days0
Rank16,311
Previous rank16,100
Rank change-211
7-day stars rank15,461
Previous 7-day stars rank15,473
7-day stars rank change12
Total stars rank16,803
Previous total stars rank16,778
Total stars rank change-25
CountryTaiwan
README summary

[ICCV 2021] FuSta: Hybrid Neural Fusion for Full-frame Video Stabilization Project Page | Video | Paper | Google Colab Existing video stabilization methods often generate visible distortion or require aggressive cropping of frame boundaries, resulting in smaller field of views. In this work, we present a frame synthesis algorithm to achieve full-frame video stabilization. We first estimate dense warp fields from neighboring frames and then synthesize the stabilized frame by fusing the warped contents. Our core technical novelty lies in the

learning-based hybrid-space fusion that alleviates artifacts caused by optical flow inaccuracy and fast-moving objects. We validate the effectiveness of our method on the NUS, selfie, and DeepStab video datasets. Extensive experiment results demonstrate the merits of our approach over prior video stabilization methods. Setup Setup environment for [Yu and Ramamoorthi 2020]. Download pre-trained checkpoints of [Yu and Ramamoorthi 2020]. Running code Calculate smoothed flow using [Yu and Ramamoorthi 2020]. Evaluation metrics Please refer to for the

calculation of metrics C/D/S and for metric A. The implementation of is modified from DIFRINT with the help of Stefan Klut. Also, note that the calculation of metrics C/D/S might fail and result in Nan or numbers larger than 1. 0 evaluating some compared stabilization methods. This is due to the lack of feature points or the failure of homography estimation. We only average the scores of the video sequences that all compared methods successfully pass

the metric calculations. Citation Acknowledgements Parts of the code were based on from AdaCoF-pytorch. Some functions are borrowed from softmax-splatting, RAFT, and [Yu and Ramamoorthi 2020]

Frequently asked questions

How many stars and forks are recorded?

alex04072000/FuSta has 599 stars and 86 forks.

What is the repository rank?

alex04072000/FuSta is ranked 16,311.

What language and category are recorded?

alex04072000/FuSta has 599 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

alex04072000/FuSta is compared with luispedro/milk, ranked 16,317 with 599 stars.

README

[ICCV 2021] FuSta: Hybrid Neural Fusion for Full-frame Video Stabilization

Project Page | Video | Paper | Google Colab

Existing video stabilization methods often generate visible distortion or require aggressive cropping of frame boundaries, resulting in smaller field of views. In this work, we present a frame synthesis algorithm to achieve full-frame video stabilization. We first estimate dense warp fields from neighboring frames and then synthesize the stabilized frame by fusing the warped contents. Our core technical novelty lies in the learning-based hybrid-space fusion that alleviates artifacts caused by optical flow inaccuracy and fast-moving objects. We validate the effectiveness of our method on the NUS, selfie, and DeepStab video datasets. Extensive experiment results demonstrate the merits of our approach over prior video stabilization methods.

Setup

Setup environment for [Yu and Ramamoorthi 2020].

cd CVPR2020CODE_yulunliu_modified
conda create --name FuSta_CVPR2020 python=3.6
conda activate FuSta_CVPR2020
pip install -r requirements_CVPR2020.txt
./install.sh

Download pre-trained checkpoints of [Yu and Ramamoorthi 2020].

wget https://www.cmlab.csie.ntu.edu.tw/~yulunliu/FuSta/CVPR2020_ckpts.zip
unzip CVPR2020_ckpts.zip
cd ..

Setup environment for FuSta.

conda deactivate
conda create --name FuSta python=3.6
conda activate FuSta
conda install pytorch=1.6.0 torchvision=0.7.0 cudatoolkit=10.1 -c pytorch
conda install matplotlib
conda install tensorboard
conda install scipy
conda install opencv
conda install -c conda-forge cupy cudatoolkit=10.1
pip install PyMaxflow

Running code

Calculate smoothed flow using [Yu and Ramamoorthi 2020].

conda activate FuSta_CVPR2020
cd CVPR2020CODE_yulunliu_modified
python main.py [input_frames_path] [output_frames_path] [output_warping_field_path]

e.g.

python main.py ../../NUS/Crowd/0/ NUS_results/Crowd/0/ CVPR2020_warping_field/

Run FuSta video stabilization.

conda deactivate
conda activate FuSta
cd ..
python run_FuSta.py --load [model_checkpoint_path] --input_frames_path [input_frames_path] --warping_field_path [warping_field_path] --output_path [output_frames_path] --temporal_width [temporal_width] --temporal_step [temporal_step]

e.g.

python run_FuSta.py --load NeRViS_model/checkpoint/model_epoch050.pth --input_frames_path ../NUS/Crowd/0/ --warping_field_path CVPR2020CODE_yulunliu_modified/CVPR2020_warping_field/ --output_path output/ --temporal_width 41 --temporal_step 4

Evaluation metrics

Please refer to metrics.py for the calculation of metrics C/D/S and metrics_A.py for metric A. The implementation of metrics.py is modified from DIFRINT with the help of Stefan Klut. Also, note that the calculation of metrics C/D/S might fail and result in Nan or numbers larger than 1.0 evaluating some compared stabilization methods. This is due to the lack of feature points or the failure of homography estimation. We only average the scores of the video sequences that all compared methods successfully pass the metric calculations.

Citation

@inproceedings{Liu-FuSta-2021,
    title     = {Hybrid Neural Fusion for Full-frame Video Stabilization}, 
    author    = {Liu, Yu-Lun and Lai, Wei-Sheng and Yang, Ming-Hsuan and Chuang, Yung-Yu and Huang, Jia-Bin}, 
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision}, 
    year      = {2021}
}

Acknowledgements

Parts of the code were based on from AdaCoF-pytorch. Some functions are borrowed from softmax-splatting, RAFT, and [Yu and Ramamoorthi 2020]

Nearby in the ranking
Similar items