red-data-tools / dlib-glib

GLib bindings for Dlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dlib GLib

Dlib GLib is a wrapper library for Dlib. Dlib GLib provides C API.

Dlib GLib supports GObject Introspection. It means that you can create language bindings at runtime or compile time.

For example, you can use Dlib from Ruby by Dlib GLib and gobject-introspection gem with the following code:

# Generate bindings at runtime
require "gi"
DLIB = GI.load("Dlib")

# TODO

Install

How to build by users

You need to install the followings before you install Dlib GLib:

You can build and install Dlib GLib after you install them:

% meson build --buildtype=release
% ninja -C build
% ninja -C build install

On macOS you need to set the following environment variable:

% export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:/opt/X11/lib/pkgconfig

How to build by developers

You need to install the followings before you install Dlib GLib:

% meson build -Dgtk_doc=true
% ninja -C build
% ninja -C build install

On macOS you need to set the following environment variable:

% export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:/opt/X11/lib/pkgconfig
% export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"

Usage

TODO

License

Boost Software License. See LICENSE for details.

About

GLib bindings for Dlib


Languages

Language:C++ 74.4%Language:C 12.3%Language:Ruby 7.0%Language:Meson 4.5%Language:Dockerfile 1.3%Language:Shell 0.5%