This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#pragma once
// 读取文件夹下的list.txt,并根据list.txt中的图片路径,读取图片
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
#include <cstdio>
#include "StitchStruct.h"
class Utils
{
public:
Utils();
~Utils();
int open(const std::string& folder);
// 顺序读取
std::pair<FrameInfo, cv::Mat> readInfoAndMat();
private:
std::string folder;
std::vector<std::string> picList;
std::vector<FrameInfo> frameInfoList;
int m_order;
};