Hi
I have ben wanting to try object tracking with a Arduino and openCV for some time now but I can not get openCV to open.
Do I need more software to run it?
thanks
tim
Hi
I have ben wanting to try object tracking with a Arduino and openCV for some time now but I can not get openCV to open.
Do I need more software to run it?
thanks
tim
What are you running openCV on?
I was thinking that openCV was a stand alone program! What do i need to run it?
Thanks for the response
tim
If you really want to get fastrack with vision system , use ROBOREALM software. It is full of very interesting features and you can interface your PC with an Arduino.
OpenCV requires a computer with an operating system to run, typically.
It compiles from C++ and/or Python.
So its typical to use a RaspberryPi, for example, to handle OpenCV processing and then get the Arduino to do whatever you want in communication from the Pi.
You could port the code over to implement it in hardware or bare metal, but that's going to take a lot of work and you're probably making life difficult for yourself, not only with trying to find the suitable hardware to do it but also converting the software.
You can read more about OpenCV here: OpenCV | OpenCV .
It may be a good idea to flip your request on its head:
What are you trying to achieve?
What do you want to do with OpenCV?
What hardware do you hope to use?
I wanted to run it on my PC and then interface it with a Arduino two servos and a USB camera to track objects.
Would Visual Studio Express work as a compiler?
tim
For compiling code for your Arduino, no, it lacks avr-gcc by default which is the C compiler for the typical Arduino microprocessor.
Unless you use something like http://playground.arduino.cc/Code/VisualMicro Visual Micro which is a plugin that adds/uses the compiler.
As for OpenCV, you can compile it using VisualStudio: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html
Here is an interesting links that should interest you:
How to use OpenCV, a real time computer vision library, with Processing, Arduino, a webcam and a pan/tilt bracket to create a video that will keep a persons face
https://www.sparkfun.com/tutorials/304
Regards