Software > Software

Image processing in C

(1/3) > >>

bootstrap:
Hello
      I am totally new to image processing.Uptill now I used roborealm software to track the object and move the servo with a red colored object.But roborealm is ready made.I want to develop my own red colored object tracking code in C. I have gone through the Computer vision tutorials in this website.The algorithms were great.Now I want to implement them using the webcam in C and do the red colored object tracking and also send signals to the microcontroller through the serial port.

My problem statement is:

1.How to write the code for capturing images real time and do the image processing real time?
2.And i have learnt the code of sending data through the COM port using C.
    In short I want to develop an equivalent of roborealm's red colored object tracking example  in C because my professor says I have done nothing big ..just used already existing modules and nothing great about it.I felt it was good to give a start and roborealm helped me a lot and it opened the window for bigger things.

I saw your video on Blob and then tracking it.It was great.Please help me and let me know how to do this.If you can also give me a sample example code of the red colored object tracking or some real time image processing code like the mid size object tracking using the webcam it will help me in learning image processing in C....Hoping for a positive response. (And I also want to be a member of the programming team of robo realm from India and give my services)....

fr4ncium:
Your first step should be getting code that will let you interface with your webcam.  Do some searching for sample code that accesses webcams and outputs the image stream in a window.  I'm doing something similar (but in Java) and just getting the infrastructure for capturing images was a lengthy process, although there is plenty of sample code online about interfacing with webcams.

bootstrap:
People please help..

fr4ncium:
google results for "using web cam in java, sample code"
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=C53&q=using+web+cam+in+java%2C+sample+code&btnG=Search

2nd result is this:
http://forum.java.sun.com/thread.jspa?threadID=570463&messageID=9844808
I started my code based off of the code found in the above link

google results for "using webcam in java, sample code"
http://www.google.com/search?q=using+webcam+in+java%2C+sample+code&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

1st result is this:
http://forum.java.sun.com/thread.jspa?threadID=247253&messageID=1816659


Take a look at those sites, do a topic search at those forums and see what you can rummage up.   :)

bootstrap:
Sorry I dont deal in Java.I deal in C only plz.

Navigation

[0] Message Index

[#] Next page

Go to full version