#pose #vision #cv #computer-vision

sqpnp

A pure Rust implementation of the SQPnP perspective-n-point algorithm

1 unstable release

new 0.1.0 Jan 18, 2025

#272 in Images

47 downloads per month

MIT/Apache

40KB
953 lines

sqpnp-rs

crate

sqpnp-rs is a pure Rust implementation of the SQPnP perspective-n-point algorithm, based on the C++ implementation.

There is another SQPnP implementation in Rust, here.

See Also

There is another pure-Rust implementation of SQPnP, here: powei-lin/sqpnp_simple.

License

sqpnp-rs is permissively licensed under either the MIT License or the Apache 2.0 License.


lib.rs:

Implementation of SQPnP perspective-n-point algorithm.

This can be used to determine the pose of a 3D object given two sets of corresponding points: a set of 3D points from the object and a set of 2D projected points (often from an image).

See the C++ implementation for more information about SQPnP: terzakig/sqpnp.

Dependencies

~6.5MB
~174K SLoC