Skip to content
Snippets Groups Projects
Commit d299e11c authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Correct registration grab

parent bb9d7903
No related branches found
No related tags found
No related merge requests found
Pipeline #11486 passed
......@@ -454,6 +454,7 @@ bool ChessboardRegistration::findFeatures(Source *source, size_t idx) {
PointCloud<PointXYZ>::Ptr cloud(new PointCloud<PointXYZ>);
Mat rgb, depth;
source->grab();
source->getFrames(rgb, depth);
bool retval = findChessboardCorners(rgb, depth, source->parameters(), pattern_size_, cloud, error_threshold_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment