Giter Club home page Giter Club logo

faceengineexamples's Introduction

LUNA SDK Examples

This repository contains examples code for VisionLabs LUNA SDK and is compatible with SDK version 2.8.0 and newer.

Please note, that while these examples are released under MIT license, the SDK itself is not. Contact us via email ([email protected]) for evaluation and/or licensing terms and conditions.

Aside from examples itself, there are some supplementary materials you may find useful. Look into cmake/ folder for a CMake find script for the SDK. You are not forced to use CMake but we advise for it.

Currently we support 64 bit Windows and Linux. On Windows everything should work with Visual Studio 2015. On Linux we tested this code with GCC 4.8.5. Other versions may work as well. Note, that the SDK is officially supported on RedHat Linux families (RHEL, CentOS, Fedora).

Build examples

To build the example 4 WITH_FREEIMAGE_EXAMPLE option must be installed. Example 4 shows how to work with images of different formats, for example, jpeg. Default WITH_FREEIMAGE_EXAMPLE option is enabled.

From fsdk root.

$ mkdir build && cd build
$ cmake -DFSDK_ROOT=.. ../examples
$ make

Run examples

Note: data folder must be at <fsdk_root>/data on Windows and on Linux.

$ build/example1/Example1 examples/images/Cameron_Diaz.ppm examples/images/Cameron_Diaz_2.ppm 0.7

$ build/example1/Example1 examples/images/Cameron_Diaz.ppm examples/images/Jennifer_Aniston.ppm 0.7

$ build/example2/Example2 examples/images/portrait.ppm

$ build/example3/Example3 examples/images/portrait.ppm

$ build/example4/Example4 examples/images/Cameron_Diaz.jpg
 
$ build/example6/Example6 examples/images/Cameron_Diaz.ppm examples/images/ examples/images_lists/list.txt 0.7

$ build/example7/Example7 examples/images/portrait.ppm

$ build/example8/Example8 examples/descriptors/Cameron_Diaz.xpk examples/descriptors/Cameron_Diaz_2.xpk 0.7

Qt example

Build with Qt example (from FSDK_ROOT/build):

$ cmake -DFSDK_ROOT=.. -DWITH_QT_EXAMPLE=ON ../examples

If Qt is installed in non-system directory and can't be found by cmake automatically, you also need to specify path to Qt. Example:

$ cmake -DFSDK_ROOT=.. -DWITH_QT_EXAMPLE=ON -DQt5Core_DIR=/usr/lib64/cmake/Qt5Core -DQt5Gui_DIR=/usr/lib64/cmake/Qt5Gui -DQt5_DIR=/usr/lib64/cmake/Qt5 ../examples

Run Qt example:

$ build/example5/Example5 examples/images/Jennifer_Aniston.jpg

faceengineexamples's People

Contributors

adeykin avatar ch45er avatar matemax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

faceengineexamples's Issues

Hidden symbol is referenced by DSO

Hello!

I am trying to build the examples on ubuntu and I get the following error:

/usr/bin/ld: a.out: hidden symbol `__sfp_handle_exceptions' in /usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a(sfp-exceptions.o) is referenced by DSO
/usr/bin/ld: final link failed: bad value

Please advise on what should i do.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.