Skip to main content

No project description provided

Project description

easy-local-features-baselines

Just some scripts to make things easier for the local features baselines.

Installation

I suggest using a conda environment to install the requirements. You can create one using the following command.

conda create -n elf python=3.9 # the python version is not so critical, but I used 3.9.
conda activate elf

Now we can insall the requirements using pip.

pip install -r requirements.txt
pip install .

How to use

from easy_local_features.feature.baseline_deal import DEAL_baseline
# from easy_local_features.feature.baseline_dalf import DALF_baseline
# from easy_local_features.feature.baseline_aliked import ALIKED_baseline
# from easy_local_features.feature.baseline_disk import DISK_baseline
# from easy_local_features.feature.baseline_r2d2 import R2D2_baseline
# from easy_local_features.feature.baseline_superpoint import SuperPoint_baseline
# from easy_local_features.matching.baseline_superglue import SuperGlue_baseline

# Load an image
img = cv2.imread("assets/notredame.png")

# Initialize the extractor
extractor = DEAL_baseline()

# Return keypoints and descriptors just like OpenCV
keypoints, descriptors = extractor.detectAndCompute(img)

TODO

  • Add a setup.py to make it a pip package
  • Make a general maching class
    • The idea is to have a class that can match images using any local feature extractor and any matching method.
  • Fix requirements to install automatically with the package (maybe)
  • Add a script to download some datasets
  • Add a download script for the pretrained models
  • Add more baselines :)
    • DEAL
      • Add LICENSE file
    • R2D2
    • DISK
    • SuperPoin
    • SuperGlue
    • DALF
      • Add LICENSE file
    • ASLFeat
    • LoFTR
      • Add LICENSE file
    • DKM
    • ALIKED
      • NOT WORKING ON MAC M1
      • Add code
      • Add LICENSE file
      • Test on MAC M1 with CPU
      • Test on Linux with CPU
      • Test with CUDA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy_local_features-0.3.5.tar.gz (101.5 kB view details)

Uploaded Source

File details

Details for the file easy_local_features-0.3.5.tar.gz.

File metadata

  • Download URL: easy_local_features-0.3.5.tar.gz
  • Upload date:
  • Size: 101.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for easy_local_features-0.3.5.tar.gz
Algorithm Hash digest
SHA256 016872311ad158d4ff805b1150bec2333fedb5e95df6230cefe0fce92cc57178
MD5 cc7d87e5dcd393094ee66f4f6036d673
BLAKE2b-256 8d437147717997176c6f667cd421730459add7a8f0cc9b127c1199925be25ba5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page