| Top |
void aperture_init (int *argc,char ***argv);
Initializes the Aperture library, if it hasn't been initialized already.
This will initialize GStreamer for you. If you don't want this, initialize
GStreamer yourself before calling aperture_init().
Since: 0.1
gboolean
aperture_is_initialized (void);
Gets whether Aperture is initialized.
Since: 0.1
gboolean
aperture_is_barcode_detection_enabled (void);
Determines whether the barcode detection features of Aperture are enabled.
This is based on whether the zbar element is available to GStreamer.
It is part of the gst-plugins-bad package. Note that many distributions
don't enable the zbar component of gst-plugins-bad by default, because
it needs an extra dependency (the zbar library). You may need to find
a gst-plugins-bad-extras package or similar, or compile that particular
plugin yourself. For a Flatpak example, see the demo application in
Aperture's source code.
Note that Aperture itself does *not* need to be recompiled to enable barcode detection. It is based solely on whether the GStreamer plugin is available.
Since: 0.1
ApertureBarcode
aperture_barcode_type_from_string (const char *string);
Represents the type of a barcode detected in a video stream.
Different barcode types are used for different purposes and different types of data, so it is important to check a barcode's type before attempting to use its data.
|
A barcode was detected, but Aperture does not recognize its type. |
||
|
The code is a composite of multiple barcode types. |
||
|
https://en.wikipedia.org/wiki/International_Standard_Book_Number |
||
|
https://en.wikipedia.org/wiki/International_Standard_Book_Number |
||
Since: 0.1