資源簡介
LearningOpenCV3.rar
代碼片段和文件信息
//Example?2-1.?A?simple?OpenCV?program?that?loads?an?image?from?disk?and?displays?it
//on?the?screen
#include?
void?help(char**?argv?)?{
std::cout?<“\n“
<“A?simple?OpenCV?program?that?loads?and?displays?an?image?from?disk\n“
<\n“
<“For?example:\n“
< <}
int?main(?int?argc?char**?argv?)?{
if?(argc?!=?2)?{
help(argv);
return?0;
}
??cv::Mat?img?=?cv::imread(?argv[1]?-1?);
??if(?img.empty()?)?return?-1;
??cv::namedWindow(?“Example?2-1“?cv::WINDOW_AUTOSIZE?);
??cv::imshow(?“Example?2-1“?img?);
??cv::waitKey(?0?);
??cv::destroyWindow(?“Example?2-1“?);
??return?0;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????349??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\config
?????文件?????????73??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\desc
?????文件?????????23??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\HEAD
?????文件????????478??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\applypatch-msg.sample
?????文件????????896??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\commit-msg.sample
?????文件????????189??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\post-update.sample
?????文件????????424??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\pre-applypatch.sample
?????文件???????1642??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\pre-commit.sample
?????文件???????1348??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\pre-push.sample
?????文件???????4898??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\pre-reba
?????文件????????544??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\pre-receive.sample
?????文件???????1239??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\prepare-commit-msg.sample
?????文件???????3610??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\hooks\update.sample
?????文件??????16501??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\index
?????文件????????240??2018-09-05?18:39??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\info\exclude
?????文件????????208??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\logs\HEAD
?????文件????????208??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\logs\refs\heads\master
?????文件????????208??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\logs\refs\remotes\origin\HEAD
?????文件??????23836??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\ob
?????文件???22356216??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\ob
?????文件????????814??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\packed-refs
?????文件?????????41??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\refs\heads\master
?????文件?????????32??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\.git\refs\remotes\origin\HEAD
?????文件?????189623??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\adrian.jpg
?????文件???????6148??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\birdseye\.DS_Store
?????文件?????317775??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\birdseye\IMG_0214.jpg
?????文件?????317832??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\birdseye\IMG_0214L.jpg
?????文件?????325383??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\birdseye\IMG_0215.jpg
?????文件?????325446??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\birdseye\IMG_0215L.jpg
?????文件?????302958??2018-09-05?18:42??Learning?OpenCV3\Learning-OpenCV-3_examples\birdseye\IMG_0217.jpg
............此處省略212個文件信息
評論
共有 條評論