⚠️ Note ⚠️

1. Download MareArtsStitcher SDK & Dependencies from MareArts cloud

🎁. Download SDK 👇👇👇

MareArts Stitcher SDK

🙅‍♂️ If you already have built OpenCV(+contrib)+CUDA in your computer, then you don't need download opencv4 folder.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ba11ce6a-b389-4847-9a55-441ddc7ed461/Untitled.png

#MareArtsStitcher SDK
/MareArtsStitcher/Ubuntu/Marearts/
- MareArtsStitcher.h
- MAS.so

#MareArtsStitcher dependencies - opencv 4.5.2, cuda 11.2 
/MareArtsStitcher/Ubuntu/opencv4/lib/ #so files
/MareArtsStitcher/Ubuntu/opencv4/opencv2/ #headers

2. Build & Run

🦋 Option #1 : use prebuilt dependencies

#build example1.cpp
> g++ example1.cpp -o example1 -I/your_path/Marearts -I/your_path/opencv4 -L/your_path/Marearts -L/your_path/opencv4/lib -l:MAS.so -l:libopencv_stitching.so.4.5 -l:libopencv_cudafeatures2d.so.4.5 -l:libopencv_imgcodecs.so.4.5 -l:libopencv_features2d.so.4.5 -l:libopencv_cudaimgproc.so.4.5 -l:libopencv_imgproc.so.4.5 -l:libopencv_core.so.4.5 -l:libstdc++.so.6 -l:libm.so.6 -l:libgcc_s.so.1 -l:libc.so.6 -l:libopencv_cudalegacy.so.4.5 -l:libdl.so.2 -l:librt.so.1 -l:libopencv_cudawarping.so.4.5 -l:libopencv_cudaarithm.so.4.5 -l:libopencv_calib3d.so.4.5 -l:libopencv_flann.so.4.5 -l:libpthread.so.0 -l:libopencv_cudafilters.so.4.5 -l:libjpeg.so.8 -l:libpng16.so.16 -l:libtiff.so.5 -l:libz.so.1 -l:libmvec.so.1 -l:libnppc.so.11 -l:libnppial.so.11 -l:libnppicc.so.11 -l:libnppidei.so.11 -l:libnppist.so.11 -l:libtbb.so.2 -l:libopencv_objdetect.so.4.5 -l:libnppig.so.11 -l:libnppitc.so.11 -l:libcublas.so.11 -l:libcufft.so.10 -l:libnppif.so.11 -l:libnppim.so.11 -l:libwebp.so.6 -l:libzstd.so.1 -l:liblzma.so.5 -l:libjbig.so.0 -l:libcublasLt.so.11 -lcurl

#set path once
> export LD_LIBRARY_PATH=/your_path/opencv4/lib/:${LD_LIBRARY_PATH}
> export LD_LIBRARY_PATH=/your_path/Marearts/:${LD_LIBRARY_PATH}
#check LD_LIBRARY_PATH
> env | grep '^LD_LIBRARY_PATH'

#run example1
./example1