OpenCV on STM32 (Cortex M4)
Hi, I'm would like to use OpenCV on an STM32F4 (the one I will be using has a camera interface). I've been doing a lot of searching and have not found any straight answers to whether or not this is possible. Any one have experience with this? I don't need the entire library. I'd like to do basic image processing, compression, and whatever else I can squeeze on there. I will be be adding more RAM than what comes stock in the part.
Thanks
I am getting ready to do the same thing. I have already done some trials on my linux box, and now I am going to work on porting it all over to an stm32f4. I will keep you posted on how it goes. I think its just a matter of including the openCV core and then creating a function to convert your camera image to a cv::Mat.
What module are you using? I have ordered a few cam modules, but I am still looking into getting the RAM.
I do not get to say that this is impossible, but I think now unlikely especially in Cortex-M4, perhaps the Cortex-M7 which has higher speeds, even on a Cortex-A to 1Ghz'm having problems especially with perspective transfomrações that They require a lot of processing.
It seems to me that what weighs more in OpenCV is the destruction of the object cv :: Mat.
Please inform destalhes the problem you are having, if any have interest in working on this port.