r/microcontrollers • • Mar 25 '22

Best/fastest microcontrollers for fast deep learning inference?

I found a couple of options:

Coral dev board mini -

Pros: Very fast. Great. That’s all I need

Cons: Bad tech support. Faulty units. Seems like a very common problem

Neural Compute stick -

Pros: Simple USB design, can use with Raspberry Pi.

Cons: Not fast enough inference for my use case

Nvidia Jetson - out of stock everywhere 😂

For context, I’m trying to do real time object detection at a fairly high FPS (60). The coral dev board is perfect as it’s able to do 70FPS. But, it has bad tech support.

1 Upvotes

12 comments sorted by

3

u/JVKran Mar 25 '22

I've personally had great experiences with the ESP32-S3 running Tensorflow Lite Micro with its corresponding frameworks; the ESP-IDF and ESP-NN.

-2

u/[deleted] Mar 25 '22

That’s quite frankly a weak microcontroller. I’m looking to do object detection at 60FPS

6

u/JVKran Mar 25 '22

You're not looking for microcontrollers then. Even something like a Raspberry Pi would struggle with achieving that, and a Pi isn't a microcontroller.

-4

u/[deleted] Mar 25 '22

Yeah I meant SBCs. Not actually microcontrollers but thought I’d ask in this sub

1

u/[deleted] Apr 03 '22

Look for BeagleBone AI and judge it. It's a full fledge SoC that has GPU + DSP(C66x) and I found Ti's object detection demos with it.

Edit: Or you can buy an add-on module / board that has an AI accelerator and snap that to your in stock SBC.

The hard route is to use an FPGA board like Ultra96 or Arty-Z7 that has logic gates that can pretty much run any algorithm.

How you pump data in them from a camera is another problem.

2

u/imp2 Mar 25 '22

Are you planning on doing the inference on an actual microcontroller, or (as per your description) using a linux SBC with some sort of accelerator?

-1

u/[deleted] Mar 25 '22

It could be on a Linux SBC with an accelerator.

1

u/LetPeteRoseIn Mar 25 '22

What is your model size + precision (16b/8b/etc)? TensorflowLite supports these devices: https://www.tensorflow.org/lite/microcontrollers

0

u/[deleted] Mar 25 '22

I haven’t dug into that yet but I’m trying to do object detection at a high frame rate (60FPS). The nueralink usb is able to do that only in 11-16 FPS

1

u/sparky_roboto Mar 26 '22

Do you really need to do 60FPS? Some problems can be fine with a mix of object detection + tracking system.

So doing 10-15FPS might satisfy if you have a tracker that is fast enough.

1

u/[deleted] Mar 26 '22

Oh I didn’t even think of that. Yeah, that would involve some work but it actually ties in what I want to do - an aimbot system.

3

u/Zipdox Mar 26 '22

I don't think a microcontroller is what you're looking for. You should be looking at SoCs.