OpenCV Lessons

OpenCV Logo


Although OpenCV is a powerful tool which can be used to develop complex computer vision applications, the documentation of OpenCV is not enough for a newbie to learn OpenCV by himself/herself. And there are few tutorials can be found on OpenCV for beginners in the internet.  Therefore, I decided to prepare this tutorial from the very basic concepts of image processing and computer vision using basic inbuilt OpenCV functions. I have tested all given source code in this tute with openCV 2.4.5 and Microsoft Visual Studio Express 2012.

Here is the entire list of lessons




21 comments:

  1. very informative ,keep up the good work :)

    ReplyDelete
  2. waw it's very usefull for newbe like me...
    nice tutorial bro...
    keep share!!
    i wanna request tutorial face recognation with simple algorithm...

    ReplyDelete
  3. Thanks a lot! It really help me!

    ReplyDelete
  4. I install vs 2010 express edition and opencv 2.4.5 and configure vs 2010 with your steps but it still error it does not give any header file when i write '#include it give me some error.

    please help me to fix this problem

    ReplyDelete
  5. Hi,

    Thanks a lot for your tutorial. It indeed helped me a lot in understanding the basics. For my own work I need to use pattern matching (using templates), straight edge detection, circle detection, ellipse detection etc and I do them using a commercial computer vision library. I am interested in doing all these stuff using opencv. Can you please highlight any book or website or some tutorial of your own covering this?

    Waiting to hear from you soon.

    Asit

    ReplyDelete
  6. Thanks a lot! It really help me!

    ReplyDelete
  7. hi i wanna tutorial for face recognition using open cv

    ReplyDelete
  8. Nice information and thanks for posting this here! Please keep sharing more information like this further in future. You can find more information on C++ Tutorials in the following link.

    CPP Tutorials

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Nice articles. For people who are using openCV in Linux, Can visit this blog


    openCV User

    ReplyDelete
  11. can someone help me in background removal in an image pls...

    ReplyDelete
    Replies
    1. #include //for background subtractor models

      bfilter(matFrameIn, matForeground, learningRate); //extract the foreground

      Delete
  12. Thank you very much....

    ReplyDelete
  13. Hi : Thank you for your post regarding visual basic, I try and working fine.. Thanks

    ReplyDelete
  14. The christian church has left nothing untouched by its corruption...
    I...condemn...christianit.t.t..ty...

    ReplyDelete
  15. Hi guys i want unsharp masking using vc++ code...please help me...

    ReplyDelete
  16. Error 3 error C2871: 'cv' : a namespace with this name does not exist d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 5 1 openCVdemo
    Error 4 error C2065: 'Mat' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 10 1 openCVdemo
    Error 5 error C2146: syntax error : missing ';' before identifier 'img' d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 10 1 openCVdemo
    Error 6 error C2065: 'img' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 10 1 openCVdemo
    Error 7 error C2065: 'CV_LOAD_IMAGE_UNCHANGED' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 10 1 openCVdemo
    Error 8 error C3861: 'imread': identifier not found d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 10 1 openCVdemo
    Error 9 error C2065: 'img' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 12 1 openCVdemo
    Error 10 error C2228: left of '.empty' must have class/struct/union d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 12 1 openCVdemo
    Error 11 error C2065: 'cout' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 14 1 openCVdemo
    Error 12 error C2065: 'endl' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 14 1 openCVdemo
    Error 13 error C2065: 'CV_WINDOW_AUTOSIZE' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 19 1 openCVdemo
    Error 14 error C3861: 'namedWindow': identifier not found d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 19 1 openCVdemo
    Error 15 error C2065: 'img' : undeclared identifier d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 20 1 openCVdemo
    Error 16 error C3861: 'imshow': identifier not found d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 20 1 openCVdemo
    Error 17 error C3861: 'waitKey': identifier not found d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 22 1 openCVdemo
    Error 18 error C3861: 'destroyWindow': identifier not found d:\documents\visual studio 2013\projects\opencvdemo\opencvdemo\opencvdemo.cpp 24 1 openCVdemo

    ReplyDelete