artyom-beilis / OpenLiveStacker

Live Stacker Project - C++ backend and frontend
GNU General Public License v3.0
34 stars 4 forks source link

OpenLiveStacker - live stacking application

OpenLiveStacker is an application for Electronically Assisted Astronomy (EAA) that uses an external camera for imaging and performs live stacking. It runs on Android and in Linux environments (including Linux Subsystem for Windows).

Status

Using on Android

Install APK file that can be downloaded from Releases section:

Please refer to https://github.com/artyom-beilis/OpenLiveStacker/wiki/Open-Live-Stacker-Manual for use instructions

Using on Linux

Build Requirements

3rd party libraries needed:

Here the packages you can install on apt based distributions

apt-get install libgphoto2-dev git python3 cmake libuvc-dev libtiff-dev libpcre3-dev libcurl4-openssl-dev zlib1g-dev libraw-dev libopencv-dev libopencv-imgcodecs-dev libopencv-imgproc-dev build-essential libpcre3-dev zlib1g-dev libcfitsio-dev

For installing CppCMS please refer to: http://cppcms.com/wikipp/en/page/cppcms_1x_build, in the nutshell

git clone https://github.com/artyom-beilis/cppcms
cd cppcms
mkdir build
cd build
cmake -DDISABLE_STATIC=ON -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install

Building

Clone repo:

git clone --recurse-submodules https://github.com/artyom-beilis/OpenLiveStacker

cd OpenLiveStacker and run

mkdir build
cd build
cmake ..
make

For 3rd part libraries or non-standard installations like SDK pass -DCMAKE_INCLUDE_PATH=/path/to/includes and -DCMAKE_LIBRARY_PATH=/path/to/libs parameters to cmake. For example if you have your ASI SDK here /home/me/ASI_linux_mac_SDK_V1.28/ and you build on x86_64 architecture use following cmake command:

cmake -DCMAKE_INCLUDE_PATH=/home/me/ASI_linux_mac_SDK_V1.28/include -DCMAKE_LIBRARY_PATH=/home/me/ASI_linux_mac_SDK_V1.28/lib/x64/ ..

For building for old Intel CPUs without SSE4 support add -DNO_SSE4=OFF to cmake.

Running

Start service:

./build/ols_cmd config.json

Important parameters in config.json:

Open browser and go to http://127.0.0.1:8080/ to open UI

For more details on using OpenLiveStacker on Linux refer to: https://github.com/artyom-beilis/OpenLiveStacker/wiki/Linux-Instructions-for-using-OpenLiveStacker