3 unstable releases

new 0.7.0 Jun 22, 2024
0.6.1 Jun 3, 2024
0.6.0 May 27, 2024

#556 in Images

Download history 165/week @ 2024-05-27 178/week @ 2024-06-03 4/week @ 2024-06-10 69/week @ 2024-06-17

416 downloads per month
Used in sophus

MIT/Apache and LGPL-2.0

735KB
17K SLoC

sophus-rs

sophus-rs is a Rust library for 2d and 3d geometry for Computer Vision and Robotics applications. It is a spin-off of the Sophus C++ library which focuses on Lie groups (e.g. rotations and transformations in 2d and 3d).

In addition to Lie groups, sophus-rs also includes other geometric/maths concepts such unit vector, splines, image classes, camera models as well as a other utilities such as a non-linear least squares optimization.

Status

This library is in an early development stage - hence API is highly unstable. It is likely that existing features will be removed or changed in the future.

However, the intend is to stride for correctness, facilitated using a comprehensive test suite.

Building

sophus-rs builds on stable.

[dependencies]
sophus = "0.7.0"

To allow for batch types, such as BatchScalarF64, the 'simd' feature is required. This feature depends on portable-simd, which is currently only available on nightly. There are plans to use any other nightly features.

[dependencies]
sophus = { version = "0.7.0", features = ["simd"] }

Dependencies

~24–65MB
~1M SLoC