5

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?

Comments
  • 3
    Welcome to devRant, thank you for using the right tag, I respect you and hope someone can help you.
  • 1
    What exactly is the difficulty you're facing here?
    Oh and Welcome to devRant.
  • 5
    I 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.
  • 1
    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.
  • 0
    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/...
  • 0
    Thanks 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?
Add Comment