Code Monkey home page Code Monkey logo

lbhomo's Introduction

[AAAI 2023] Semi-supervised Deep Large-baseline Homography Estimation with Progressive Equivalence Constraint. [Paper].

Hai Jiang1,2, Haipeng Li Jiang2,3, Yuhang Lu4, Songchen Han1, Shuaicheng Liu2,3

1.Sichuan University, 2.University of Electronic Science and Technology of Chin,

3.Megvii Technology, 4.Univesity of South Carolina

Presentation video:

[Youtube] and [Bilibili]

Pipeline

Dependencies

pip install -r requirements.txt

- This repo includes GOCor as git submodule. You need to pull submodules with

git submodule update --init --recursive
git submodule update --recursive --remote

Download the raw dataset

Please refer to Content-Aware Unsupervised Deep Homography Estimation..

- Dataset download links: [GoogleDriver], [BaiduYun] (key:gvor)

- Unzip the data to directory "./dataset"

- Run "video2img.py"

Be sure to scale the image to (640, 360) since the point coordinate system is based on the (640, 360).
e.g. img = cv2.imresize(img, (640, 360))

- Using the images in "train.txt" and "test.txt" for training and evaluation, the manually labeled evaluation files can be download from: [GoogleDriver], [BaiduYun](key:i721).

Pre-trained model

The models provided below are the retrained version(with minor differences in quantitative results)
model RE LT LL LF SF Avg Model
Pre-trained 1.66 5.49 4.11 7.57 6.95 5.16 Baidu [Google]

How to train?

You need to modify dataset/data_loader.py slightly for your environment, and then

python train.py --model_dir experiments/base_model/ 

How to test?

python evaluate.py --model_dir experiments/base_model/ --restore_file xxx.pth

Citation

If you use this code or ideas from the paper for your research, please cite our paper:

@InProceedings{jiang_2023_aaai,
    author  = {Jiang, Hai and Li, Haipeng and Lu, Yuhang and Han, Songchen and Liu, Shuaicheng},
    title = {Semi-supervised Deep Large-baseline Homography Estimation with Progressive Equivalence Constraint}},
    booktitle = {Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelligence (AAAI)}
    year = {2023}
}

lbhomo's People

Contributors

jianghaiscu 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.