Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Welcome to devRant, thank you for using the right tag, I respect you and hope someone can help you.
-
danilogsqs53yI could be wrong but you can’t really compile OpenCV for arduino. If you are doing something such as applying some image filters, you might be able to copy an algorithm or two from OpenCV to your arduino.
However, if you need something more complex or processing intensive, I recommend you to do what everybody else does. Use a computer to run opencv and interact with an arduino through the serial / usb port.
If you need a hardware platform doing all of it together, I recommend you to use a raspberrypi instead of arduino. RaspberryPi runs Linux and can run OpenCV algorithms at reasonable speeds for some tasks. -
Welcome.
Arduino (afaik) is based on Atmel's AVR architecture, I'm not sure if you can compile opencv to that architecture without any issues.
Also, I would assume the calculation power would just not be enough. I think it'd be easier to go with something like a raspberry pi which runs on ARM, has a lot more horsepower (and a GPU!), and you get the convienence of an operating system. -
I don't know anything about Arduinos and whether or not OpenCV is available for them.
But most simple image filters work by "convoluting" a "kernel" over the image. The math behind that is pretty simple and you probably can implement that yourself.
Start here:
https://en.wikipedia.org/wiki/... -
sweetkid83yThanks for your feedback. I was able to run Opencv on my computer and integrated with Arduino. I will greatly appreciate another feedback. My question is does anyone know the code for the functionality for the brightness and contrast filter?
Hi all. I'm a developer. I'm new to Opencv using C++. I was asked to Integrate Opencv using C++ into Arduino.Again, I was asked to develop visual effects (filters) when the Opencv is integrate to a touch pad. It's been difficult for me. Pls can someone give me a clue or code to go about this?
question