Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radar2camera无法进入标定盘 一直卡在选择四个点 按enter键无效 #142

Open
cumtbjt opened this issue Jan 28, 2024 · 2 comments

Comments

@cumtbjt
Copy link

cumtbjt commented Jan 28, 2024

运行示例之后一直卡在选择四个点界面 按enter无效 该如何进入下面的标定界面呢?

@cumtbjt
Copy link
Author

cumtbjt commented Jan 28, 2024

不管是用docker拉取镜像还是用自己的环境 都会开在选择四个点 没法进入下一阶段,如何进行标定 希望能够得到回答!感谢!!!!!!!!!!!!!

@L-Net-1992
Copy link

不管是用docker拉取镜像还是用自己的环境 都会开在选择四个点 没法进入下一阶段,如何进行标定 希望能够得到回答!感谢!!!!!!!!!!!!!

修改这里:
void PickPoint() {
cv::namedWindow("image", 0);
cv::setMouseCallback("image", mouse_event, this);
cv::imshow("image", image_);
while (true) {
int key = cv::waitKey(10);
key = key % 255;

  // evaluate
  if (key == 13) // enter
  // if (key == 10) // enter
  {
    bool flag = computeHomo();
    if (flag)
      break;
  }
}
cv::destroyWindow("image");

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants