Design Automation


Deep learning APIs for Espressif SoCs

27 October 2021 Design Automation

ESP-DL, recently introduced by Espressif Systems, provides APIs for neural network (NN) inference, image processing, maths operations and deep learning (DL) models. With ESP-DL, developers can use Espressif's SoCs for neural network inference easily and quickly.

Thus far, Espressif’s data show that, in comparison to the company’s ESP32 wireless MCU, when ESP-DL runs on an ESP32-S3 chip the acceleration of a 16-bit detection model is increased by 4,5 times, or 6,25 times in the case of a face recognition model. In addition, the 8-bit face recognition model is 2,5 times faster than the 16-bit model on the ESP32-S3. Furthermore, Espressif offers a tool that can help developers make their own model compatible with the company’s platform.

Since ESP-DL does not need any peripherals, it can be used as a project component. For example, if it is added to the esp-who/components/directory, ESP-DL can be used as a submodule of ESP-WHO, which contains several project-level examples of image-based applications. The accompanying figure below shows what ESP-DL consists of and how it is implemented as a project component.

ESP-DL provides tools that can help developers convert their own model (possibly developed with a third-party platform such as TensorFlow, PyTorch, MXNet, etc.) into an 8-bit or 16-bit model and evaluate the performance of the quantised model.

Model Zoo

ESP-DL also provides certain easy-to-use models such as human face detection, human face recognition, cat face detection, etc., in the so-called Model Zoo. These models can be used out-of-the-box. Other models, such as for colour detection and hand-pose recognition, will be released soon.

Customising a model

In the GitHub tutorial entitled ‘How to Customize a Model Step by Step’ you can find all relevant instructions with a runnable example which will help you implement your model quickly and easily.

Variety of APIs

ESP-DL contains sufficient APIs for developers to build their own model, such as neural networks (NN), image processing and matrix operations. Meanwhile, developers can customise layers and provide feedback if they have any special requirements regarding the API utility.

Software and hardware boost

ESP-DL implements quantised computation and brings about a more efficient kind of software by optimising the assembly and architecture of the C/C++ code. It is worth mentioning that the ESP32-S3, with its vector instructions, high-speed SPI interface and configurable cache memory, achieves a much faster acceleration in AI applications.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

ESP32-P4 SoC
iCorp Technologies DSP, Micros & Memory
Espressif Systems announced its latest SoC, the ESP32-P4 which is powered by a RISC-V CPU, with an AI instructions extension, an advanced memory subsystem, and integrated high-speed peripherals.

Read more...
Wireless module supports up to 600 Mbps
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
Quectel’s FCU865R is a high-performance Wi-Fi 6 and Bluetooth 5.3 LCC package module which can be used for WLAN and Bluetooth connections.

Read more...
Upgraded power inductor series
iCorp Technologies Passive Components
Sunlord’s multiphase co-fired power inductor HTF-MP series has upgraded the single-phase HTF-H products in terms of integrated applications.

Read more...
Quectel wireless module wins accolade
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The winners of the 2024 IoT Evolution 5G Leadership Award were recently announced, with Quectel walking away with an award for its modules which make 5G features more easily accessible for IoT applications, notably the company’s RG255C-GL.

Read more...
Quectel unveils SC682A LTE smart module
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The SC682A is an advanced smart module featuring multi-mode LTE Cat 4, Wi-Fi, and Bluetooth 5.1 connectivity, with integrated dual-band GNSS.

Read more...
Wireless module supports dual Bluetooth
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The FCS962N-LP from Quectel has integrated dual Bluetooth, which allows the module to support both Bluetooth LE Audio and BLE long-range.

Read more...
Two-stage linear RF power amplifier
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The CMX90A006 from CML Micro is a two-stage linear RF power amplifier delivering +33 dBm of output power over the frequency range of 860 to 930 MHz.

Read more...
Three new short-range radio modules
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The modules are the FC30R, a cost-effective, industrial-grade Wi-Fi module; the FCU743R, featuring Wi-Fi 4 and Bluetooth 5.2 capabilities; and the FCM740D, an MCU with Wi-Fi 4 and Bluetooth 5.2.

Read more...
Quectel adds to its portfolio
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The modules are the FC30R, a cost-effective, industrial-grade Wi-Fi module; the FCU743R, featuring Wi-Fi 4 and Bluetooth 5.2 capabilities; and the FCM740D, an MCU with Wi-Fi 4 and Bluetooth 5.2.

Read more...
Altium provides free training
Design Automation
There is no longer any excuse not to master Altium Designer with the company now offering both advanced instructor-led three-day training and an on-demand video series.

Read more...