Skip to content
Snippets Groups Projects

Custom realsense

Merged simon.fanetti requested to merge custom_realsense into master
3 files
+ 14
19
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -87,7 +87,7 @@ void CroppingMask::init(){
}
// no config found
if(rectPoints.empty() || !maskValideInFrame(&cameraColoredFrame)){
if(!maskValideInFrame(&cameraColoredFrame)){
float y = cameraColoredFrame.size().height;
float x = cameraColoredFrame.size().width;
rectPoints = std::vector<cv::Point2i>{ cv::Point2i(1.0/4*x, 1.0/4*y), cv::Point2i(1.0/4*x, 3.0/4*y), cv::Point2i(3.0/4*x, 3.0/4*y), cv::Point2i(3.0/4*x, 1.0/4*y) };
Loading