All Projects → rpautrat → Lisrd

rpautrat / Lisrd

Licence: mit
Local Invariance Selection at Runtime for Descriptors (LISRD)

Projects that are alternatives of or similar to Lisrd

Derricksherrill.com
Collection of Python Scripts for my YouTube channel
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Tsa Notebooks
Jupyter notebooks on time series econometrics topics.
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Miniradiotelescope
Arduino and python code for a mini-radio telescope.
Stars: ✭ 165 (-0.6%)
Mutual labels:  jupyter-notebook
Mixture model trading public
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Kagglezerotoall
Kaggle problem solving
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Geospatial data with python
Introduction to Geospatial Data with Python
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Marcap
market cap datasets (1995~2021 daily, 10 million+ rows)
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Tensorflow Tutorial
Practical tutorials and labs for TensorFlow used by Nvidia, FFN, CNN, RNN, Kaggle, AE
Stars: ✭ 1,954 (+1077.11%)
Mutual labels:  jupyter-notebook
Fasnet
CNN archictecture for face anti-spoofing
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Hunter
A threat hunting / data analysis environment based on Python, Pandas, PySpark and Jupyter Notebook.
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Capsnet Traffic Sign Classifier
A Tensorflow implementation of CapsNet(Capsules Net) apply on german traffic sign dataset
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
F1sherkk Myroadtoai
Repository for storing and tracking my self-study progress.
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Azure Cosmosdb Spark
Apache Spark Connector for Azure Cosmos DB
Stars: ✭ 165 (-0.6%)
Mutual labels:  jupyter-notebook
Fgsegnet
FgSegNet: Foreground Segmentation Network, Foreground Segmentation Using Convolutional Neural Networks for Multiscale Feature Encoding
Stars: ✭ 165 (-0.6%)
Mutual labels:  jupyter-notebook
Neuralimagesynthesis
Code to reproduce the results from the paper "Controlling Perceptual Factors in Neural Style Transfer" (https://arxiv.org/abs/1611.07865).
Stars: ✭ 165 (-0.6%)
Mutual labels:  jupyter-notebook
Cifar 10.1
Release of CIFAR-10.1, a new test set for CIFAR-10.
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Pytorch Practice
Some example scripts on pytorch
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Hacking Civico
Curso de Datos Abiertos y Hacking Cívico, habilitando las capacidades de la ciudadanía y los servidores públicos en el uso de datos abiertos.
Stars: ✭ 167 (+0.6%)
Mutual labels:  jupyter-notebook
Signals And Systems Lecture
Continuous- and Discrete-Time Signals and Systems - Theory and Computational Examples
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook
Recommendersystems pydata 2016
Stars: ✭ 166 (+0%)
Mutual labels:  jupyter-notebook

LISRD - Local Invariance Selection at Runtime for Descriptors

This repository contains the implementation of the paper: Online Invariance Selection for Local Feature Descriptors, R. Pautrat, V. Larsson, M. Oswald and M. Pollefeys (Oral at ECCV 2020).

LISRD offers the possibility to leverage descriptors with different invariances (e.g. invariant or variant to rotation and/or illumination) and to perform an online selection of the most adapted invariance when matching two images.

The following shows for example matches predicted with LISRD-SIFT that selects descriptors between SIFT (rotation invariant) and Upright SIFT (rotation variant): demo_lisrd_sift

Usage

Installation

Clone the repository with its submodule:

git clone --recurse-submodules https://github.com/rpautrat/LISRD.git

We recommend using this code in a Python environment (e.g. venv or conda). The following script installs the necessary requirements and install the repository as a Python package locally:

make install

Training your own model

All the training parameters should be present in a configuration file located in the folder lisrd/configs. The generic script to train your own model from the root folder is the following:

python -m lisrd.experiment train <path to your config file> <path to your experiment>

For example, training LISRD with the 4 types of invariance used in the paper would be:

python -m lisrd.experiment train lisrd/configs/lisrd.yaml ~/Documents/experiments/My_experiment

Use the config file lisrd/configs/lisrd_sift.yaml to instead train LISRD-SIFT that chooses between SIFT and Upright SIFT descriptors.

Pretrained models

We provide two pretrained models:

How to use it

We provide a notebook showing how to use the trained models of LISRD. Additionally, lisrd/export_features.yaml is a script to export the LISRD descriptors with either SIFT or SuperPoint keypoints on a given set of images. It can be used as follows:

python -m lisrd.export_features <path to a txt file listing all your images> <name of the model (lisrd or lisrd_sift)> --checkpoint <path to checkpoint> --keypoints <type of keypoints (sift or superpoint)> --num_kp <number of keypoints (default: 2000)>

Results on the RDNIM dataset

The Rotated Day-Night Image Matching (RDNIM) dataset originates from the DNIM dataset and has been augmented with homographic warps with 50% of the images including rotations. The images used for evaluation in the paper are available here.

Comparison to the state of the art on the RDNIM dataset, using SuperPoint keypoints for all methods and a correctness threshold of 3 pixels:

Day reference Night reference
Homography estimation Precision Recall Homography estimation Precision Recall
Root SIFT 0.134 0.184 0.125 0.186 0.239 0.182
HardNet 0.249 0.225 0.224 0.325 0.359 0.365
SOSNet 0.226 0.218 0.226 0.252 0.288 0.296
SuperPoint 0.178 0.191 0.214 0.235 0.259 0.296
D2-Net 0.124 0.196 0.145 0.195 0.265 0.218
R2D2 0.190 0.173 0.180 0.229 0.237 0.237
GIFT 0.225 0.155 0.149 0.294 0.240 0.229
LISRD (ours) 0.318 0.406 0.439 0.391 0.488 0.520

mma_rdnim

Bibtex

If you use this code in your project, please consider citing the following paper:

@InProceedings{Pautrat_2020_ECCV,
    author = {Pautrat, Rémi and Larsson, Viktor and Oswald, Martin R. and Pollefeys, Marc},
    title = {Online Invariance Selection for Local Feature Descriptors},
    booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
    year = {2020},
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].