Skip to content

Commit

Permalink
Merge pull request #32 from schornakj/feature/28-resize-debug-output-…
Browse files Browse the repository at this point in the history
…window

Allow user to resize debug output window
  • Loading branch information
schornakj authored Mar 13, 2020
2 parents 5280010 + 630a3ea commit 84e06fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions yak/src/yak_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ yak::FusionServer::FusionServer(const kfusion::KinFuParams& params, const Eigen:
, last_camera_pose_(Eigen::Affine3f::Identity())
{
// Debug displays
cv::namedWindow("output");
cv::moveWindow("output", 10, 600);
cv::namedWindow("output", CV_WINDOW_NORMAL);
cv::moveWindow("output", 10, 10);
cv::resizeWindow("output", kinfu_->params().cols * 2, kinfu_->params().rows);
}

bool yak::FusionServer::fuse(const cv::Mat& depth_data, const Eigen::Affine3f& world_to_camera)
Expand Down

0 comments on commit 84e06fc

Please sign in to comment.