PJLab-ADG / SensorsCalibration

OpenCalib: A Multi-sensor Calibration Toolbox for Autonomous Driving
Apache License 2.0
2.22k stars 529 forks source link

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

Open cumtbjt opened 5 months ago

cumtbjt commented 5 months ago

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

cumtbjt commented 5 months ago

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

L-Net-1992 commented 3 months ago

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

修改这里: void PickPoint() { cv::namedWindow("image", 0); cv::setMouseCallback("image", mouseevent, 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");

}