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
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
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