4 ms·
mbed makes it pretty easy to get going with C++ on Cortex-M, last time I tried it, but that was over a year ago. Still, I'm skeptical about how much CV you cou
by coder543 8y ago
mbed makes it pretty easy to get going with C++ on Cortex-M, last time I tried it, but that was over a year ago.
Still, I'm skeptical about how much CV you could actually do on a Cortex-M processor. A few dozen to a few hundred kilobytes of RAM is really limiting when we're talking about just loading up an image from a camera, let alone doing computer vision on that image, unless you pay for a Cortex-M7 to get 1MB of RAM or something really expensive like that... at which point, an entire Raspberry Pi 0 SBC with 512MB of RAM is actually cheaper than just your microcontroller alone.
Of course, the microcontroller boots up instantly and supports incredibly useful sleep modes and a variety of other peripherals... but for raw performance per dollar, the M7s are just so costly.
- ChuckMcM 8y ago> Still, I'm skeptical about how much CV you could actually do on a Cortex-M processor. You have seen OpenMV right? (https://openmv.io https://openmv.io) I've got one of their early cameras (waiting on my H7's).
- coder543 8y agoAh, a Cortex-M7 with 1MB of RAM... just like I mentioned. haha, the earlier editions used an M4 with 256KB of RAM it looks like, but yeah. Do you think you could run the license plate reader you wrote earlier on one of these? What are the advantages you see for this over a Raspberry Pi 0 with a Raspberry Camera module? Or the new, powerful Raspberry Pi 3A+ with a camera module? This is certainly more expensive than either Pi option, with a lower resolution camera.
- ChuckMcM 8y agoI'm reasonably certain it can be run on the H7 but not sure about the H4. It is one of my test cases :-). Note that these chips also include a DDR memory controller so you can put 16MB of RAM on them pretty simply, some of ST Micro's 'Discovery' cards come with this populated, but that is not used on the H4 or H7 camera.