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.baseline_deal import DEAL_baseline
# from easy_local_features.baseline_dalf import DALF_baseline
# from easy_local_features.baseline_disk import DISK_baseline
# from easy_local_features.baseline_r2d2 import R2D2_baseline
# from easy_local_features.baseline_superglue import SuperGlue_baseline
# from easy_local_features.baseline_superpoint import SuperPoint_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
- Add a script to download some datasets
- Add a download script for the pretrained models
- Add more baselines :)
- ASLFeat
- DELF
- LoFTR
- DKM
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(84.9 kB
view details)
File details
Details for the file easy_local_features-0.3.0.tar.gz
.
File metadata
- Download URL: easy_local_features-0.3.0.tar.gz
- Upload date:
- Size: 84.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6a72cb3b555c1fcb93222ccdf61440b73c117787ec94405e4e6b48b329c18a |
|
MD5 | cb49bab37827df67d246860d32708573 |
|
BLAKE2b-256 | ddd63b3abfa3b12dfda67cfa235516e43b1ca5ddc20bca7922bc5b0bfce5ff8e |