Function read_homography

Function Documentation

bool read_homography(const std::string &homography_path, cv::Mat &H1toN)

Function for reading the ground truth homography from a txt file.

Parameters
  • homography_file – Path for the file that contains the ground truth homography

  • HG – Matrix to store the ground truth homography