Fix build of apps and samples

This commit is contained in:
Andrey Kamaev
2013-03-22 17:01:56 +04:00
parent 688d170de7
commit 29cfeb7cee
6 changed files with 13 additions and 13 deletions

View File

@@ -84,13 +84,13 @@ int main(int argc, char** argv)
}
std::string src = parser.get<std::string>("frame");
std::vector<std::string> frames;
std::vector<cv::String> frames;
cv::glob(parser.get<std::string>("frame"), frames);
std::cout << "collected " << src << " " << frames.size() << " frames." << std::endl;
for (int i = 0; i < (int)frames.size(); ++i)
{
std::string& frame_sourse = frames[i];
std::string frame_sourse = frames[i];
cv::Mat frame = cv::imread(frame_sourse);
if(frame.empty())