add cmake
parent
fc77793ccb
commit
42605292da
|
@ -1 +1 @@
|
|||
Subproject commit d59d9c9a81e28fc762cb3e85fead00b11bb8722e
|
||||
Subproject commit 4ddff6f6f600a7ea6037398b069a65d2316a42ee
|
|
@ -0,0 +1,10 @@
|
|||
set(COMPONENT_SRCS a.c)
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
|
||||
register_component()
|
||||
|
||||
target_link_libraries(recorder_engine "-L ${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
target_link_libraries(recorder_engine
|
||||
esp_wakenet
|
||||
nn_model
|
||||
)
|
|
@ -1,5 +1,8 @@
|
|||
# The following lines of boilerplate have to be in your project's
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS ../../../components)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(camera_web_server)
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
set(COMPONENT_SRCS "app_main.c" "app_wifi.c" "app_camera.c" "app_httpd.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
||||
set(COMPONENT_REQUIRES
|
||||
esp32-camera
|
||||
esp-face
|
||||
nvs_flash
|
||||
esp_http_server
|
||||
fb_gfx
|
||||
)
|
||||
register_component()
|
|
@ -682,6 +682,7 @@ void app_httpd_main(){
|
|||
mtmn_config.pyramid = 0.7;
|
||||
mtmn_config.p_threshold.score = 0.6;
|
||||
mtmn_config.p_threshold.nms = 0.7;
|
||||
mtmn_config.p_threshold.candidate_number = 100;
|
||||
mtmn_config.r_threshold.score = 0.7;
|
||||
mtmn_config.r_threshold.nms = 0.7;
|
||||
mtmn_config.r_threshold.candidate_number = 4;
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS ../../../components)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
project(detection_with_command_line)
|
|
@ -0,0 +1,16 @@
|
|||
set(COMPONENT_SRCS
|
||||
app_main.cpp
|
||||
app_facenet.c
|
||||
app_camera.cpp
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS
|
||||
include
|
||||
)
|
||||
|
||||
set(COMPONENT_REQUIRES
|
||||
esp32-camera
|
||||
esp-face
|
||||
)
|
||||
|
||||
register_component()
|
|
@ -38,6 +38,7 @@ mtmn_config_t init_config()
|
|||
mtmn_config.pyramid = 0.7;
|
||||
mtmn_config.p_threshold.score = 0.6;
|
||||
mtmn_config.p_threshold.nms = 0.7;
|
||||
mtmn_config.p_threshold.candidate_number = 100;
|
||||
mtmn_config.r_threshold.score = 0.7;
|
||||
mtmn_config.r_threshold.nms = 0.7;
|
||||
mtmn_config.r_threshold.candidate_number = 4;
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS ../../../components)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(recognition_solution)
|
|
@ -0,0 +1,22 @@
|
|||
set(COMPONENT_SRCS
|
||||
app_main.c
|
||||
app_camera.c
|
||||
app_httpserver.c
|
||||
app_speech_recsrc.c
|
||||
app_speech_wakeup.c
|
||||
app_wifi.c
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
|
||||
set(COMPONENT_REQUIRES
|
||||
esp32-camera
|
||||
esp-face
|
||||
nvs_flash
|
||||
esp_http_server
|
||||
fb_gfx
|
||||
recorder_engine
|
||||
spiffs
|
||||
)
|
||||
|
||||
register_component()
|
|
@ -0,0 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS ../../../components)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(recognition_wechat)
|
|
@ -0,0 +1,14 @@
|
|||
set(COMPONENT_SRCS
|
||||
wechat_blufi.c
|
||||
wechat_security.c
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
|
||||
set(COMPONENT_REQUIRES
|
||||
bt
|
||||
nvs_flash
|
||||
mdns
|
||||
)
|
||||
|
||||
register_component()
|
|
@ -0,0 +1,19 @@
|
|||
set(COMPONENT_SRCS
|
||||
app_camera.c
|
||||
app_facenet.c
|
||||
app_httpserver.c
|
||||
app_main.c
|
||||
app_wifi.c
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
|
||||
set(COMPONENT_REQUIRES
|
||||
esp32-camera
|
||||
esp-face
|
||||
esp_http_server
|
||||
fb_gfx
|
||||
network_blufi
|
||||
)
|
||||
|
||||
register_component()
|
|
@ -0,0 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS ../../../components)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(recognition_command_line)
|
|
@ -0,0 +1,14 @@
|
|||
set(COMPONENT_SRCS
|
||||
app_main.cpp
|
||||
app_facenet.c
|
||||
app_camera.cpp
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
|
||||
set(COMPONENT_REQUIRES
|
||||
esp32-camera
|
||||
esp-face
|
||||
)
|
||||
|
||||
register_component()
|
Loading…
Reference in New Issue