Code Repo of 'Rethinking Planar Homography Estimation Using Perspective Fields'
Tensorflow/Keras implementation for reproducing Perspective Network (PFNet) results in the paper Rethinking Planar Homography Estimation Using Perspective Fields by Rui Zeng, Simon Denman, Sridha Sridharan, Clinton Fookes.
- Please refer to Common Objects in Context to download the dataset used in the paper.
- Download our trained weights from provisionally trained weights and put it in the root directory
python 3.6
- Tensorflow >= 1.5.0
- Keras >= 2.2.0
- Opencv >= 3.0.0
In addition, please add the project folder to PYTHONPATH and pip install
the packages if ImportError: No module named xxx
error message occur.
- Train a PFNet model on the COCO dataset from scratch:
python train.py --dataset=/home/COCO
- Evaluate the
*.h5
model checkpointpython evaluate.py --dataset=/home/COCO --model=./pfnet.h5
If you find PFNet useful in your research, please consider citing:
@inproceedings{zeng18rethinking,
author = {Rui Zeng and Simon Denman and Sridha Sridharan and Clinton Fookes},
title = {Rethinking Planar Homography Estimation Using Perspective Fields},
booktitle = {Asian Conference on Computer Vision (ACCV)},
year = {2018},
}