If you are willing to compromise with a different solution other than the RPi, you can use this board
and this camera
plus some code and you can have the RGB565-encoded image data in memory, free to do whatever processing you have in mind. You also have access to a rich set of peripherals (timers, PWM, ethernet) that may or may not be useful for your project.
I can share you some of my code if you ask…
This is exactly what I was looking for to make a rock bottom cheap smartcam. I'm interested to see the details of your solution, do you have a website?
Having found about RPi, I think it is now in general a better solution than STM32F4 + camera module:
1. RPi wins in processing power and memory category – very important for image processing;
2. Cost is about equal, if you compare production STM32F4 board (you can use Discovery board only for prototyping, any commercial applications are prohibited) + camera module with RPi + cheap USB webcam (or future camera module in $10 – $15 range I hope);
3. STM32F4 solution can be much cheaper, if you are willing to design your own PCB and have a prospect to sell enough of them to recover development costs and get into economy of scale zone;
4. RPi wins in software development friendliness;
5. In some cases, STM32F4 will be better suited due to its richness of I/O;