Thursday, December 16, 2010

Image Processing using Open CV (C/C++ languages)


While doing my M.Tech course, in Mobile Robotics paper I faced some problems. This course requires image processing but I do not know anything about it. So I search on net for simple code to learn OpenCV (Image Processing C library) and started my work. It takes so many days to learn the simple things. So here I am uploading some simple and useful code whom I tested and use it  on my Robotics project. Hope it is useful for you all & save lot of your time. Because I think if someone give me this all code previously then it may saved my time.

I do not claim that these code were done by me only. Some part of  them are copied from net and then I modified them according to my requirement. JUST HOPE THAT IT WILL SAVE YOUR VALUABLE TIME if you are working on project like me in past.

OpenCV using C/C++

1) Simple code to Load Images from file:  load_image.c
2) To load Video : video-test.cpp
3)Capture an image from live camera & then save it to your PC save_image.c
4)Detect Circle using live camera & crop & save each image separately: imgCode.cpp
5)Search template in a video(Live) & then write the result in a file:
searchImage.zip
6) Red Ball search in live video: ball-track.c





**Later i will add more. if it is helpful leave a comment..here..!