Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

efficient-descriptors

> 编程语言
Open source

:rocket::rocket: Revisiting Binary Local Image Description for Resource Limited Devices

180 stars0 likes4 views
WebsiteGitHub

About

:rocket::rocket: Revisiting Binary Local Image Description for Resource Limited Devices

Revisiting Binary Local Image Description for Resource Limited Devices

IMPORTANT BAD is now available in OpenCV as cv::xfeatures2d::TEBLID

This repository contains the source code of BAD (renamed as TEBLID after its inclusion in OpenCV contrib) and HashSIFT descriptors presented in "Revisiting Binary Local Image Description for Resource Limited Devices". When accuracy and efficiency are both important, the descriptors in this repository offer the perfect trade-off for real-time applications and resource limited devices like smartphones, robots or drones.

Dependencies

The code depends on OpenCV 4.

To install OpenCV ... In Ubuntu 18.04 compile it from sources with the following instructions:

bash
# Install dependencies (Ubuntu 18.04)
sudo apt-get install -y build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
# Download source code
git clone https://github.com/opencv/opencv.git --branch 4.5.2 --depth 1
# Create build directory
cd opencv && mkdir build && cd build
# Generate makefiles, compile and install
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j
sudo make install
  • NOTE: The code also compile with OpenCV 3, but without parallel for's. Thus, the description will be slower.

Compile and Run

We provide the pre-trained execution code of BAD and HashSIFT descriptors. The code contains two demos. The first one estimates the fundamental matrix between two images of the Machine Hall 05 from EuRoC MAV Dataset. The demo detects feature points using ORB detector (FAST + Harris score) and describes using BAD. We draw the RANSAC inliers with less than 3px of epipolar error. The code can be compiled with Cmake:

bash
mkdir build && cd build
cmake .. && make
./stereo_demo [hashsift]

We also show a second demo that registers a pair of planar images.

bash
./homography_demo [hashsift]

The result for the provided images should be several imshows and something like this in the standard output:

*************** Homography estimation demo ***************
Detected features: 1000
Matched features:   64
Inliers percentage:  6.4%

If ORB descriptor is used instead of BAD, only 2.4% of inliers are obtained.

References

If you use this code, you must cite our Robotics and Automation Letters paper:

bibtex
@ARTICLE{9521740,
  author={Su\'arez, Iago and Buenaposada, Jos\'e M. and Baumela, Luis},
  journal={IEEE Robotics and Automation Letters}, 
  title={Revisiting Binary Local Image Description for Resource Limited Devices}, 
  year={2021},
  volume={},
  number={},
  pages={1-1},
  doi={10.1109/LRA.2021.3107024}}

Contact and Licence

We provide a free pre-trained version of the execution code. Full execution and training code can be obtained under license, if you are interested please contact us:

  • Iago Suárez ( [email protected] ) for technical issues.
  • Miguel Ángel Orellana Sainz ( [email protected] ) for commercial issues.

This software was developed by The Graffter S.L. in collaboration with the PCR lab of the Universidad Politécnica de Madrid.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ccomputer-visiondescriptorslocal-featuresreal-time

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言