rmeno12 / lyli

This is a clone of the Lyli (Lytro Linux) code by Lukas Jirkovsky. The aim of this repo is to keep the original code compiling and working on modern distros in 2019+.

Home Page:https://bitbucket.org/stativ/lyli/src/default/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lyli

NOTE: This currently does build, but you must install libusbpp manually and provide appropriate environment variables to link against it. Instructions for this coming soon.

Lyli (Lytro Linux) aims to provide an open source alternative to the Lytro Desktop. Currently, it allows to download images from the camera (in their .raw and .json form), and perform basic calibration.

The application has been tested only with the 1st generation Lytro camera.

Build Status Codacy Badge

Compiling

Requirements

  • c++14 enabled compiler - tested with gcc 4.9
  • libusb 1.0
  • Qt 5 (Qt5Core, Qt5Widgets) - tested with Qt 5.4, required for GUI
  • OpenCV

Compilation

To obtain the sources, you can either use mercurial to clone the repository, or you can download the repository snapshot from downloads.

Lyli uses CMake-based build. To compile Lyli from sources, first cd into the directory with sources and execute the following commands

mkdir build
cd build
cmake ..
make

If everything goes well, there should be a lyli executable in the build directory and lyli-qt in build/ui in case the Qt GUI was compiled.

Usage

Lyli requires direct access to the USB bus. This can be achieved either by running Lyli as root (not recommended), or by putting the provided 51-lytro.rules to /etc/udev/rules.d/ which enables non-root access to the camera.

sudo cp 51-lytro.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules

There are two binaries build:

  • lyli - can be found in the top-level build directory, it provides basic command line access to camera

  • lyli-qt - GUI application that is build only if the required Qt5 packages are present. Provides most of the features

License

Most of the Lyli is licensed under LGPL v3, only the Qt GUI (in the ui/ subdirectory) is licensed under GPL v3.

About

This is a clone of the Lyli (Lytro Linux) code by Lukas Jirkovsky. The aim of this repo is to keep the original code compiling and working on modern distros in 2019+.

https://bitbucket.org/stativ/lyli/src/default/

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 93.2%Language:CMake 3.8%Language:Python 2.9%Language:Shell 0.1%