Imagination is everything. It is the preview of life's coming attractions.
Albert Einstein
$ brew install cmake
$ brew install opencv4
$ brew install boost-python
$ git clone https://github.com/SixiemeEtage/previewer
$ cd previewer
$ mkdir -p native/build && cd native/build
$ cmake .. \
-DPYTHON_DESIRED_VERSION=3.X \
-DPYTHON3_EXECUTABLE=$(which python) \
-DPYTHON3_LIBRARY=$(python3-config --prefix)/lib/libpython3.7.dylib \
-DPYTHON3_INCLUDE_DIR=$(python3-config --prefix)/include/python3.7m/ \
-DPYTHON3_NUMPY_INCLUDE_DIRS=$(python3-config --prefix)/lib/python3.7/site-packages/numpy/core/include/ \
-DBOOST_ROOT=$(brew --prefix)/Cellar/boost/1.68.0_1 \
-DBoost_INCLUDE_DIR=/usr/local/Cellar/boost/1.68.0_1/include
$ make
$ make install
$ pip install .
$ previewer --preview-height=750 --preview-width=1000 ~/equirectangular.jpg
Tools used in rendering this package:
previewer
is available under the MIT license. See the LICENSE file for more info.