#camera #vision #gen-i-cam #usb3 #gig-e

aravis

safe bindings for Aravis, a vision library for genicam based cameras

23 unstable releases

Uses old Rust 2015

0.11.0 Sep 9, 2024
0.9.2 Jun 28, 2024
0.9.1 Aug 29, 2023
0.9.0 May 7, 2023
0.0.1 Oct 26, 2019

#49 in Video

Download history 11/week @ 2024-08-22 11/week @ 2024-08-29 137/week @ 2024-09-05 51/week @ 2024-09-12 72/week @ 2024-09-19 95/week @ 2024-09-26 61/week @ 2024-10-03 64/week @ 2024-10-10 25/week @ 2024-10-17 18/week @ 2024-10-24 44/week @ 2024-10-31 48/week @ 2024-11-07 31/week @ 2024-11-14 23/week @ 2024-11-21 18/week @ 2024-11-28 81/week @ 2024-12-05

156 downloads per month
Used in aravis-utils

BSD-2-Clause

635KB
16K SLoC

aravis

This crate contains (mostly) safe bindings to the Aravis library. The bindings are mostly auto-generated with the gir tool from the gtk-rs project.

This crate currently targets version 0.8.14 of the Aravis library.

The autogenerated API uses extension traits to implement methods for many structs. This is done by the gir tool to emulate class inheritance. Practically, this means that you should also look the CameraExt trait if you want to know what you can do with a Camera.

You can import the prelude to bring all available extension traits in scope:

use aravis::prelude::*;

Migrating from 0.6

The API was regenerated with a new version of the gir tool. As a result, the public API has changed a bit:

  • Getters no-longer have a get_ prefix, so a function that was called get_foo() is now simply called foo().
  • Methods for classes without subclasses no-longer live in *Ext traits. For example, this means that all methods for Buffer objects are now directly implemented on the Buffer struct. This mostly means you can just remove the import of traits that no longer exist.

This documentation constist mainly of original documentation of the Aravis project. The copyright and license of the Aravis project apply to those parts. The full original documentation is also available online and might help if the translation to Rust made things unclear.

Dependencies

~9–17MB
~272K SLoC