37 std::string
GetMD5(
const std::string& file_path);
49 const std::string& md5,
50 const std::string& download_dir);
64 const std::string& md5,
65 const std::string& download_dir);
std::string DownloadFromURL(const std::string &url, const std::string &md5, const std::string &download_dir)
Download a file from URL. If a file already exists and the MD5 hash matches, the download will be ski...
Definition: Download.cpp:105
std::string GetMD5(const std::string &file_path)
Computes MD5 Hash for the given file.
Definition: Download.cpp:62
std::string DownloadFromMirrors(const std::vector< std::string > &mirrors, const std::string &md5, const std::string &download_dir)
Download a file from list of mirror URLs. If a file already exists and the MD5 hash matches...
Definition: Download.cpp:176
Definition: PinholeCameraIntrinsic.cpp:35