强.
人脸识别部分是在芯片内运算, 还是依靠PC端执行?
在芯片内运算的话, 每秒能处理多少张照片?
Search found 16 matches
- Wed Nov 21, 2018 2:59 am
- Forum: ESP-WHO 中文讨论版
- Topic: 欢迎大家访问 ESP-WHO 中文讨论板
- Replies: 11
- Views: 112777
- Thu Nov 15, 2018 3:29 pm
- Forum: ESP-IDF
- Topic: How to use the memory of MALLOC_CAP_INTERNAL ?
- Replies: 3
- Views: 6627
Re: How to use the memory of MALLOC_CAP_INTERNAL ?
Just share 2 ideas
1 - set all int32,int64,pointer to IRAM_ATTR
staic IRAM_ATTR int intval=0;
staic IRAM_ATTR void* ptrval=NULL;
2 - use custom allocator for std::vector<int> , etc
ptr=heap_caps_malloc(size, MALLOC_CAP_32BIT);
return ptr!=NULL?ptr:malloc(size);
Regards,
Terry
1 - set all int32,int64,pointer to IRAM_ATTR
staic IRAM_ATTR int intval=0;
staic IRAM_ATTR void* ptrval=NULL;
2 - use custom allocator for std::vector<int> , etc
ptr=heap_caps_malloc(size, MALLOC_CAP_32BIT);
return ptr!=NULL?ptr:malloc(size);
Regards,
Terry
- Mon Nov 05, 2018 3:25 pm
- Forum: ESP-IDF
- Topic: Changing max_cpu_freq will 100% couse wifi: bcn_timout,ap_probe_send_start
- Replies: 3
- Views: 6016
Re: Changing max_cpu_freq will 100% couse wifi: bcn_timout,ap_probe_send_start
Hi, I just do some tests. It's ONLY happend when use esp_wifi_set_mode(WIFI_MODE_APSTA) Environment : Board : DevKitC v4, ESP-WROVER-B CONFIG - Default , and turn's on the Power Management Code : /* WiFi station Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unl...
- Fri Oct 26, 2018 3:10 pm
- Forum: ESP-IDF
- Topic: Changing max_cpu_freq will 100% couse wifi: bcn_timout,ap_probe_send_start
- Replies: 3
- Views: 6016
Changing max_cpu_freq will 100% couse wifi: bcn_timout,ap_probe_send_start
Hi, When switch the max_cpu_freq between RTC_CPU_FREQ_80M and RTC_CPU_FREQ_240M , The wifi will 100% reset , all TCP connections lost. [0;32mI (9085) pm_esp32: Frequency switching config: CPU_MAX: 80, APB_MAX: 80, APB_MIN: 80, Light sleep: DISABLED[0m cfg.max_cpu_freq changed to 1 , result 0 I (1504...
- Thu Oct 25, 2018 7:52 am
- Forum: ESP-IDF
- Topic: How to use the memory of MALLOC_CAP_INTERNAL ?
- Replies: 3
- Views: 6627
Re: How to use the memory of MALLOC_CAP_INTERNAL ?
Thanks.
Now I know that's the IRAM and it's not able to work as the DRAM
Regards,
Terry
Now I know that's the IRAM and it's not able to work as the DRAM
Regards,
Terry
- Thu Oct 25, 2018 4:54 am
- Forum: ESP-IDF
- Topic: How to use the memory of MALLOC_CAP_INTERNAL ?
- Replies: 3
- Views: 6627
How to use the memory of MALLOC_CAP_INTERNAL ?
I recently get OOM issue, heap_caps_get_free_size(MALLOC_CAP_DEFAULT) returns 112 heap_caps_get_free_size(MALLOC_CAP_INTERNAL) returns 70284 I want to use the MALLOC_CAP_INTERNAL , but , heap_caps_malloc(size, MALLOC_CAP_DEFAULT) return 0 malloc(size) return 0 heap_caps_malloc(size, MALLOC_CAP_8BIT)...