Aravis 0.1.0 released

I’ve just released the first unstable version of Aravis.

http://ftp.gnome.org/pub/GNOME/sources/aravis/0.1/

In this release, you’ll find:

  • Support for gigabit ethernet cameras, with packet resend
  • Support for a large subset of the Genicam interface
  • A simple API for easy camera control
  • A work-in-progress documentation
  • A simple gstreamer source element
  • Gobject-introspection support

As Aravis don’t have a bug report facility yet, please report any bug to me using this address: emmanuel at gnome org.

Want to help Aravis ?

If you want to help Aravis, you can as usual report bugs, or contribute code. It would be interesting, for example, to add support for other protocols than gigabit ethernet.

Another way would be to give me access to more cameras. Currently, I can test Aravis with a Basler Sca1400 and a Prosilica GC1380 cameras, which are both B&W. Donation of other hardware, even with broken sensors, would be greatly appreciated.

Gobject-introspection and Aravis

I’ve played yesterday with a gjs script, using gobject-introspection. Here’s the result:

#!/usr/bin/env gjs

const GLib = imports.gi.GLib;
const Aravis = imports.gi.Aravis;

let camera = Aravis.Camera.new ("Fake_1");

camera.set_region (0,0,128,128);
camera.set_pixel_format (Aravis.PixelFormat.MONO_8);
camera.set_fixed_frame_rate (10.0);

let [x,y,width,height] = camera.get_region ();

let stream = camera.create_stream (null, null);

for (var i = 0; i < 100; i++)
	stream.push_buffer (Aravis.Buffer.new (128*128, null));

camera.start_acquisition ();

GLib.usleep (1000000);

camera.stop_acquisition ();

I guess I should review the Aravis API and add the correct annotations. Next, I'll try PyGI.