#neural-network #machine-learning #unsafe-bindings #openvino #api-bindings

sys openvino-sys

Low-level bindings for OpenVINO (use the openvino crate for easier-to-use bindings)

18 releases

0.6.0 Dec 11, 2023
0.5.0 Apr 6, 2023
0.4.2 Oct 21, 2022
0.4.1 Jul 5, 2022
0.1.5 Oct 23, 2020

#312 in Machine learning

Download history 3730/week @ 2023-12-23 4166/week @ 2023-12-30 3459/week @ 2024-01-06 3993/week @ 2024-01-13 4343/week @ 2024-01-20 4700/week @ 2024-01-27 5774/week @ 2024-02-03 4695/week @ 2024-02-10 4854/week @ 2024-02-17 4928/week @ 2024-02-24 4450/week @ 2024-03-02 4132/week @ 2024-03-09 3879/week @ 2024-03-16 3593/week @ 2024-03-23 4573/week @ 2024-03-30 4099/week @ 2024-04-06

16,720 downloads per month
Used in 7 crates (via openvino)

Apache-2.0

105KB
2K SLoC

openvino-sys

The openvino-sys crate provides low-level, unsafe, Rust bindings to OpenVINO™ using its C API. If you are looking to use OpenVINO™ from Rust, you likely should look at the ergonomic, safe bindings in openvino, which depends on this crate. See the repository README for more information, including instructions for configuring this crate at build time.


lib.rs:

This crate provides low-level, unsafe, Rust bindings to OpenVINO™ using its C API. If you are looking to use OpenVINO™ from Rust, you likely should look at the ergonomic, safe bindings in openvino, which depends on this crate. See the repository README for more information, including build instructions.

An example interaction with raw openvino-sys:

openvino_sys::library::load().expect("to have an OpenVINO library available");
let version = unsafe { CStr::from_ptr(openvino_sys::ie_c_api_version().api_version) };
assert!(version.to_string_lossy().starts_with("2"));

Dependencies

~0–7MB