static const uint8_t confidence_threshold_=128;
+ double last_min_=0;
+ double last_max_=0;
+
public:
/**
* This callback is called for each depth frame that is captured. In a mixed-mode use case
}
}
}
- std::cout << "min:" << min << " " << "max:" << max << " %good:" << (static_cast<double>(num_values_passing_threshold)/static_cast<double>(num_max_size)*100.0) << std::endl;
+ std::cout << "min:" << min << "(diff:" << (last_min_-min) << ")" << " " << "max:" << max << "(diff:" << (last_max_-max) << ")" << " %good:" << (static_cast<double>(num_values_passing_threshold)/static_cast<double>(num_max_size)*100.0) << std::endl;
+ last_min_=min;
+ last_max_=max;
}
/**