• OpenCV学习参考 即时贴


    注意:本博文在github上日常更新(保持GitHub最新)

    https://github.com/SylvesterLi/MyOpenCVCode

    基本安装:https://blog.csdn.net/nicewe/article/details/79173346

    Contribute编译-安装:https://blog.csdn.net/zmdsjtu/article/details/78069739

    注意:我在make的时候被卡住了好半天。因为后台在补全(下载)package,跟网络有关 
    
    实践证明,没有build文件夹直接使用newbuild是可以的。(另外,第二个教程里教你配置环境变量F:OCVopencv
    ewbuildinstallx64vc15in)
    
    

    我的Github链接:https://github.com/SylvesterLi/MyOpenCVCode

    Here is my README.md

    Here is my OpenCV Learning Code

    Well, I am not so professional in this, but I'd like to share my learning experinence.

    maybe someday it goes to work out my questions~

    Update 1

    2018/08/25 Now we come a new stage and I should learn more professional knowledge.

    What I have learnt from

    This tells you how to normally setup

    https://blog.csdn.net/jia20003/article/details/54583431

    and when you got some trouble:Pls check your network(My home network trapped me for a long while)

    Problems such as

    Download face_landmark_model.dat Failed (or time out)
    missing ffmpeg

    but the download is real slow.
    you could use your mobile and provide hotspot for your PC.(As I done)

    if auto-download can't do to help, you could check these issues :

    https://github.com/opencv/opencv_contrib/issues

    At last ,google can be your best driver.

    Update 2

    Finally, got it! After check and check again, it works!

    Below is the code of printing all files' name in current catalog
    Just paste it in the PowerShell
    Attention : the F:OCVopencv ewbuildinstallx64vc15lib is my file directory path

    
    Get-ChildItem F:OCVopencv
    ewbuildinstallx64vc15lib | ForEach-Object -Process{
    if($_ -is [System.IO.FileInfo])
    {
    Write-Host($_.name);
    }
    }
    
    

    Update 3

    In the OCV3 Project I don't use src as default input image but use img_1.Which leads me misleading and make some mistakes. In the last days, I should take care of this!!

    Update 4

    These two days, i just watch corner detection, one of detection methods is Harris , and another is Shi-Tomasi Corner detetion. In my point of view , Good Features To Track (aka Shi-Tomasi) performs better than Harris detection .

    But both of them did not mark the top of roof which human could easily recognize.

    Pic blow is good feature to track

    and till now, I should have finished custom corner detection, but I think it is unnecessary to learn. When I meet such kind of projects or problems, I would come back have a careful seek.

    Update 5

    These two days I have tried SURF and SIFT,both of them are using to detect KeyPoints in the image which is hard for human beings to recognize what it is.

    And the result of Experiments is that there are not so much differences between SURF and SIFT, but you still say, the KeyPoints of image shows their own features, which we can conclude that SIFT seems better?

    Almost forget to say, their sample code looks same.

    
    //SIFT跟SURF代码是一模一样的
    //numOfFeatures指的是特征点的个数
    int numOfFeatures = 400;
    //现在创建检测器
    Ptr<SIFT> detector = SIFT::create(numOfFeatures);
    vector<KeyPoint> keypoints;//存到这来
    //检测 
    detector->detect(src, keypoints);
    Mat kpImage;
    //绘制关键点
    drawKeypoints(src, keypoints, kpImage);
    
    namedWindow("result", WINDOW_AUTOSIZE);
    imshow("result", kpImage);
    
    

    Update 6

    Comming soon....

    These days I am too lazy to update, but from now on. I will keep code updating!!!

  • 相关阅读:
    C#导出EXCEL方法总结
    C#程序——多条件查询
    C# checklistbox控件用法总结(怎样得到多选的值,以及动态加载数据)
    C#获取当前日期时间(转)
    C# winform 中MessageBox用法大全(附效果图)
    多条件查询
    vs2013 c#连接mysql数据库并显示查询结果到DataGridView上
    C# 登录界面从数据库取用户名密码匹配结束后进入登录界面
    Chart控件X轴显示不全的解决方法
    bootstrap + vue 简易留言板(todolist)
  • 原文地址:https://www.cnblogs.com/-SANG/p/9655749.html
Copyright © 2020-2023  润新知