* Add linux support on opencv-kinfu-samples
* Fix floorf issue for linux
* Upgrade k4a package dependency to latest release
* Add required opencv modules only
* Add opencv installation guide for linux
Co-authored-by: Andrew Duan <47260525+rabbitdaxi@users.noreply.github.com>
Added OPENCV_ENABLE_NONFREE for the Cmake config step for OpenCV. If this is not set, OpenCV won't include kinfu as it's patented and therefore this sample would not work at all.
* Take depth mode as input optional parameter
* Ignore color in the ply (not useful anyway)
* Seperate the ply write with a different key value
* float to uint16 depth cast with 0.5f correction