Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DFM: A Performance Baseline for Deep Feature Matching

Input

  • img_A

Input

  • img_B

Input

(Image from https://github.com/ufukefe/DFM/tree/main/python/data)

Output

  • Matches result

Output

  • Plot keypoints for img_A

Output

  • Plot keypoints for img_B

Output

Caution

The software can only be used for personal, research, academic and non-commercial purposes.

Usage

Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.

For the sample image,

$ python3 dfm.py

If you want to specify the input image, put the image path (as img_B) after the --input option, and the second image path (as img_A) after the --input2 option.
You can use --savepath option to change the name of the output file to save.

$ python3 dfm.py --input IMAGE_B --input2 IMAGE_A --savepath SAVE_IMAGE_PATH

Use the --draw-keypoints option to save plot results of keypoints.

$ python3 dfm.py --draw-keypoints

Reference

Framework

Pytorch

Model Format

ONNX opset=11

Netron

VGG19.onnx.prototxt