Commit dd19dfb2 by “liusq”

新增sip01

parent 20940c03
...@@ -51,7 +51,7 @@ cv::Mat FaceReconitionHandle::loadImage(const QString &path) { ...@@ -51,7 +51,7 @@ cv::Mat FaceReconitionHandle::loadImage(const QString &path) {
qInfo() << "图像以CImg成功加载。"; qInfo() << "图像以CImg成功加载。";
return image; return image;
} }
image=loadImageWithSTB(path); image=loadImageWithStb(path);
if (!image.empty()) { if (!image.empty()) {
qInfo() << "图像以stb_image成功加载。"; qInfo() << "图像以stb_image成功加载。";
return image; return image;
......
...@@ -32,7 +32,7 @@ public: ...@@ -32,7 +32,7 @@ public:
cv::Mat loadQImageFromByteStream(const QString& filePath); cv::Mat loadQImageFromByteStream(const QString& filePath);
cv::Mat loadImageWithSTB(const QString& filename); cv::Mat loadImageWithStb(const QString& filename);
bool getImageChanged()const; bool getImageChanged()const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment