A Python wrapper of ORB-SLAM3 algorithm
Project description
python-orb-slam3
A Python wrapper for the ORB-SLAM3 feature extraction algorithm.
Installation
From PyPI
Note This package's pre-built binaries are only available for AMD64 architectures.
pip install python-orb-slam3
From source
There are a few steps to follow to install this package from the source code, please refer to the CI configuration file here for more details.
Usage
import cv2
from matplotlib import pyplot as plt
from python_orb_slam3 import ORBExtractor
source = cv2.imread("path/to/image.jpg")
target = cv2.imread("path/to/image.jpg")
orb_extractor = ORBExtractor()
# Extract features from source image
source_keypoints, source_descriptors = orb_extractor.detectAndCompute(source)
target_keypoints, target_descriptors = orb_extractor.detectAndCompute(target)
# Match features
bf = cv2.BFMatcher(cv2.NORM_HAMMING, crossCheck=True)
matches = bf.match(source_descriptors, target_descriptors)
# Draw matches
source_image = cv2.drawKeypoints(source, source_keypoints, None)
target_image = cv2.drawKeypoints(target, target_keypoints, None)
matches_image = cv2.drawMatches(source_image, source_keypoints, target_image, target_keypoints, matches, None)
# Show matches
plt.imshow(matches_image)
plt.show()
License
This repository is licensed under the GPLv3 license.
A Python wrapper for the ORB-SLAM3 feature extraction algorithm.
Copyright (C) 2022 Johnny Hsieh
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
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
Built Distributions
File details
Details for the file python_orb_slam3-0.1.1.tar.gz
.
File metadata
- Download URL: python_orb_slam3-0.1.1.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5361be5935589611e22a12da272dfd612cc1f5647e9a91886d5397329318ba |
|
MD5 | dd05d4a4993c6cb0c6186d5d9e765f91 |
|
BLAKE2b-256 | 0977cda140756ab1267395c715fa22d8964817843c811df0663e5abd267ae10d |
File details
Details for the file python_orb_slam3-0.1.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d4781cff8ed906a8939224b070f523f7b0751acc51be65addb978b4fa23a38 |
|
MD5 | 2f329d740b34a1dd73c5fd9a63324073 |
|
BLAKE2b-256 | e837166fe6328c967d271654a14a4bef524cf11f21d9ee9af0e3911d7e1cceb9 |
File details
Details for the file python_orb_slam3-0.1.1-cp312-cp312-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp312-cp312-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 14.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f4965bfa2c0f1c0e28c01104a36921e8511853f388822fe348a5b875c41cc8 |
|
MD5 | 71e84e5da89e9a334f9920fad4512149 |
|
BLAKE2b-256 | 86a0c872eabaf02c7842475b223dafd8e1e5f7fe6dbc4167e360f816089a4738 |
File details
Details for the file python_orb_slam3-0.1.1-cp312-cp312-macosx_14_0_arm64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de252c7dd93babaccb11e8205b494cf6a0a2c887091eaa9a9ea264df139036a9 |
|
MD5 | 19718a1d123daf162af796e0e629011a |
|
BLAKE2b-256 | 8faabcd8c7e22f9d5e7774ec41f143458ecaee35c8db9a60ea53be055dde6f1a |
File details
Details for the file python_orb_slam3-0.1.1-cp312-cp312-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp312-cp312-macosx_12_0_x86_64.whl
- Upload date:
- Size: 13.5 MB
- Tags: CPython 3.12, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9ad719c8d14c327ed2d91f03ddcce27891261d7c37d123e7bda0c2dc981b7c |
|
MD5 | 124312279857250320ad178e25f155e3 |
|
BLAKE2b-256 | bd2232387afc5b756e50fe88f5d2e80184ce1401908827b7998d2cd7ae321e8c |
File details
Details for the file python_orb_slam3-0.1.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f621ead2b7ac5c43251c576f9f2bfee0d1841cdac5e22c38da0fec98c950187 |
|
MD5 | cd85a5aa6e71f2452a63ff13186d60d1 |
|
BLAKE2b-256 | f9fe6354281af443a2082f90fbd81a9d12fbb43f00255efe7b4e7d3198f491c4 |
File details
Details for the file python_orb_slam3-0.1.1-cp311-cp311-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp311-cp311-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 14.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e005e619ca481f2faebfede2744da1c953a4c9bd272f31e95c2b4c311b0585 |
|
MD5 | 883aa54b165cb0892d44fce150fd9d82 |
|
BLAKE2b-256 | 7cc285bd50c6003bc69e7d37c48e44ddb2d3e5ddae336a0e2ddd055ff828b31c |
File details
Details for the file python_orb_slam3-0.1.1-cp311-cp311-macosx_14_0_arm64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08090fcaee0a5e5353b258e508a39508b761f6fffb62c77c71de85bfef4b97fe |
|
MD5 | 4f04258ce33b0da5921db458bd722dc8 |
|
BLAKE2b-256 | 7990fb780581c339642c6fa6c19676b5c871c808c1d2eb116e5f8f222364bd18 |
File details
Details for the file python_orb_slam3-0.1.1-cp311-cp311-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp311-cp311-macosx_12_0_x86_64.whl
- Upload date:
- Size: 13.5 MB
- Tags: CPython 3.11, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1a44778323ac8c66fde35a381c51465290c0cadbac8694edd04c27acf27f22e |
|
MD5 | 7f0b94037778d8c1ca8b8edcee004cc7 |
|
BLAKE2b-256 | 004c11637233106bfe6fabe0aa58dba85f388fbde6ca51d2dc31b984b17bb436 |
File details
Details for the file python_orb_slam3-0.1.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154a84db0ba30965d5314a4bab25efc09952142bd420e26d92be8c747a0ad3b2 |
|
MD5 | 470761f60c7a556c2aa149f1007197de |
|
BLAKE2b-256 | e11a77856b3bae940984c0078e299b3b0d7cba5fde0e0dd9a1c34412d7a116c6 |
File details
Details for the file python_orb_slam3-0.1.1-cp310-cp310-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp310-cp310-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 14.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c90391a77c9c707cd616140f550b42c92452dab8e546ba802baa1158157be4a5 |
|
MD5 | 68ea1ff027b989e0528211a7b0b638be |
|
BLAKE2b-256 | 96bbc9a409f7c9ac5fd0fd5c4ee3dbb8a519373ff656820cf42b264f280c9bb9 |
File details
Details for the file python_orb_slam3-0.1.1-cp310-cp310-macosx_14_0_arm64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309d5b0cfec1228e30e10796d2d38298049109afd6bba9c2bbfe6fe9d4e64643 |
|
MD5 | 1d1a01615a35da6872aa32b387c262f1 |
|
BLAKE2b-256 | 4c73989007e3006f1e9feb724b5ca99015b90ce6a34b60fb08924bffec5b74f7 |
File details
Details for the file python_orb_slam3-0.1.1-cp310-cp310-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp310-cp310-macosx_12_0_x86_64.whl
- Upload date:
- Size: 13.5 MB
- Tags: CPython 3.10, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70eb76383a6575536edc3724aa92b0b2d7613b04cd2aa03957424be948b918bb |
|
MD5 | e19d8994cccf614fc24cc2e8af3502d8 |
|
BLAKE2b-256 | 084c30005d4b5ecaa1a0695b909f9f7cc348fa3e17e138eba1aac4501e4c2bf6 |
File details
Details for the file python_orb_slam3-0.1.1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98969f35c8c29cf783bcffdfa427f4c5addc7fd153cff8e3fe2621850b67189 |
|
MD5 | acd170ddaf7e3fbabd95e6a32fce4b1a |
|
BLAKE2b-256 | e81191be4e81156beea02ea3b02b4adf90355b7bd0d7b2d50df989e9da40c30e |
File details
Details for the file python_orb_slam3-0.1.1-cp39-cp39-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp39-cp39-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 14.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b320cbe16bc67affdd60c797de6aa00f851427f2f818ca43dae3307becdf3a6f |
|
MD5 | 2e7bad02bd5356596a64abbcecf88cfe |
|
BLAKE2b-256 | 30cabfdde0434c5d014416fad04dbe7c8e2f4fcbb67a4379e4af5e01161e9578 |
File details
Details for the file python_orb_slam3-0.1.1-cp39-cp39-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp39-cp39-macosx_12_0_x86_64.whl
- Upload date:
- Size: 13.5 MB
- Tags: CPython 3.9, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c9811aee504480c8ade87cc4c140b66c6ce9dbc32f46746a9be43b92006612 |
|
MD5 | 59a0d5fe7533392d9c8854e77ba3bae3 |
|
BLAKE2b-256 | 7ead392b9e8ea991330de75ea16d73c6f55f4c798fa56bb54147582b87ab200d |
File details
Details for the file python_orb_slam3-0.1.1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6889e115ac564c929278a59cd1e1d52d9359cadc77e25f263b8dc42b542f047 |
|
MD5 | 32f25f6afa1f3fc75934033786a61144 |
|
BLAKE2b-256 | 545fd2b034363c40ed890e0a258d85868704874b88c0a90b5def84cc1605cd97 |
File details
Details for the file python_orb_slam3-0.1.1-cp38-cp38-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp38-cp38-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 14.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6318b88897172e1462404adb7d086fd1bae7e71c14493d85e14cc267acc53832 |
|
MD5 | cb0f503217189fe7ff9deb80274ee3ae |
|
BLAKE2b-256 | f6b232a63c52900e9cd8c9c2f0d580be43cc2847f8d57feeb905469830f1f190 |
File details
Details for the file python_orb_slam3-0.1.1-cp38-cp38-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: python_orb_slam3-0.1.1-cp38-cp38-macosx_12_0_x86_64.whl
- Upload date:
- Size: 13.5 MB
- Tags: CPython 3.8, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a9bf7e6d9a46372b81218f162ce1305b11b1d6acd7b33aae9668348bbdba76 |
|
MD5 | f6a9e13ed183ce4f150344c183f82099 |
|
BLAKE2b-256 | a6c299783cd7bff7ee0e859bfbc636a7b958e8cb8fa02b64d942b910d419d371 |