Content originally posted in LPCWare by Superfred on Thu Jul 23 00:12:41 MST 2015
Hello,
this depends on the resolution you need.
640x480x2 = 614 kB, and what I saw the maximum internal RAM on LPC 43xx is 204 kB!
But if you take a quarter resolution of 160x120x2 = 38 kB, this is possible.
And think that you need time to process the image, so you need maybe two RAM regions: one "online" to receive the camera data ond one "offline" to analyze, alternating with every frame.
And even at a quarter resolution, at 30 fps you have only 33 ms to analyze 38kB of data!
So a microcontroller is maybe not the best hardware platform for a camera, maybe Raspberry Pi is a better solution.
But in my case it works, I build a line following robot, here 160x80 resolution is enough, and no colour is needed.
This gives 12800 Bytes per frame, inside the processing speed of a microcontroller if you code carefully.
Fred