Skip to content

Latest commit

 

History

History
 
 

cat_detect

README.md

Chip ESP-IDF v5.3 ESP-IDF v5.4
ESP32-S3 alt text alt text
ESP32-P4 alt text alt text

Cat Detect Example

A simple image inference example. In this example, we use cat.jpg for test. With default setting(iou=0.7, conf=0.6), the detection result before quantization is shown below:

And the detection result of espdet_pico_224_224_cat after int8 quantization on ESP32-P4 is as follows:

Quick start

Follow the quick start to flash the example, you will see the output in idf monitor:

I (1553) cat_detect: [category: 0, score: 0.924142, x1: 0, y1: 171, x2: 434, y2: 479]
I (1553) cat_detect: [category: 0, score: 0.909907, x1: 285, y1: 91, x2: 639, y2: 479]
I (1563) main_task: Returned from app_main()

Configurable Options in Menuconfig

Component configuration

We provide the models as components, each of them has some configurable options.

Project configuration

  • CONFIG_PARTITION_TABLE_CUSTOM_FILENAME

If model location is set to FLASH partition, please set this option to partitions2.csv