From 10189153e68ac777a85a28ddfa18cad2ce686175 Mon Sep 17 00:00:00 2001 From: Joachim Date: Thu, 7 May 2020 13:34:00 +0200 Subject: [PATCH 1/7] RST synthax error --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index 2cc548c..947dc9e 100644 --- a/README.rst +++ b/README.rst @@ -287,12 +287,17 @@ The DRAM is the internal RAM section containing data. From the linker script ``e - In the menuconfig, the following options can also reduce internal DRAM usage: - In Component Config -> ESP32-specific -> Support for external, SPI-connected RAM -> SPI RAM config, enable : + - "Try to allocate memories of WiFi and LWIP in SPIRAM firstly. If failed, allocate internal memory" + - "Allow .bss segment placed in external memory" - Search for big static array that could be stored in external RAM + - In ``build/ Date: Mon, 11 May 2020 14:52:59 +0200 Subject: [PATCH 2/7] small modif in readme --- README.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rst b/README.rst index 947dc9e..8f924d2 100644 --- a/README.rst +++ b/README.rst @@ -257,6 +257,19 @@ At compilation time: At run time: ------------ +At startup, the application logs a summary of all heap available, e.g.: + +.. code:: shell + + I (252) heap_init: Initializing. RAM available for dynamic allocation: + I (259) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM + I (265) heap_init: At 3FFB2EC8 len 0002D138 (180 KiB): DRAM + I (272) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM + I (278) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM + I (284) heap_init: At 4008944C len 00016BB4 (90 KiB): IRAM + +It is also possible to get heap and task stack information with the following functions: + .. code:: c++ // Get the amount of stack (in Bytes) that remained unused when the task stack was at its greatest value From c2221142fd97c9b17e9b66b89fa0ce7552b14393 Mon Sep 17 00:00:00 2001 From: Joachim Date: Tue, 26 May 2020 14:42:33 +0200 Subject: [PATCH 3/7] small modif on the detailled build procedure --- esp32/doc/detailed_build_procedure.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/esp32/doc/detailed_build_procedure.md b/esp32/doc/detailed_build_procedure.md index 92f5f36..aa917af 100644 --- a/esp32/doc/detailed_build_procedure.md +++ b/esp32/doc/detailed_build_procedure.md @@ -178,9 +178,9 @@ When the compilation has ended, the libs are in the `build/lib` folder. ## Modified files for OpenCV to compile and run: -To get the cmake configuration and make compilation to work, some modifications on OpenCV files had to be done. They are listed below. - +To get the cmake configuration, make compilation and an ESP32 project compilation to work, some modifications on OpenCV files had to be done. They are listed below. +#### Configuration with CMake: A `cmake` option `ESP32` is added to the `CmakeLists.txt` : @@ -223,6 +223,8 @@ The `cmake` command is run, leading to the following errors: +#### Compilation with Make: + After these fixes, the command `make` is run, with some new errors: @@ -328,6 +330,8 @@ After these fixes, the command `make` is run, with some new errors: +#### Compilation of a project on the ESP32: + When the `make` command compiles successfully, the library was tested with an example. This led to some new errors: * *parallel.cpp:949:58: undefined reference to sysconf* From db545bb1732404f60398cfb90621493e326a2217 Mon Sep 17 00:00:00 2001 From: Joachim Date: Mon, 8 Jun 2020 17:51:19 +0200 Subject: [PATCH 4/7] renamed hello world example --- esp32/examples/esp_opencv_basic/README.md | 3 -- .../cv_cpu_include_simd_declarations.hpp | 30 ------------------ .../.gitignore | 0 .../CMakeLists.txt | 2 +- esp32/examples/hello_opencv/README.md | 3 ++ .../main/CMakeLists.txt | 0 .../main/component.mk | 0 .../main/hello_opencv.cpp | 0 .../main/opencv/3rdparty/liblibpng.a | Bin .../main/opencv/3rdparty/libzlib.a | Bin .../main/opencv/libade.a | Bin .../main/opencv/libopencv_core.a | Bin .../main/opencv/libopencv_imgcodecs.a | Bin .../main/opencv/libopencv_imgproc.a | Bin .../main/opencv/opencv2/core.hpp | 0 .../main/opencv/opencv2/core/affine.hpp | 0 .../main/opencv/opencv2/core/async.hpp | 0 .../main/opencv/opencv2/core/base.hpp | 0 .../opencv/opencv2/core/bindings_utils.hpp | 0 .../main/opencv/opencv2/core/bufferpool.hpp | 0 .../main/opencv/opencv2/core/check.hpp | 0 .../main/opencv/opencv2/core/core.hpp | 0 .../main/opencv/opencv2/core/core_c.h | 0 .../main/opencv/opencv2/core/cuda.hpp | 0 .../main/opencv/opencv2/core/cuda.inl.hpp | 0 .../main/opencv/opencv2/core/cuda/block.hpp | 0 .../opencv2/core/cuda/border_interpolate.hpp | 0 .../main/opencv/opencv2/core/cuda/color.hpp | 0 .../main/opencv/opencv2/core/cuda/common.hpp | 0 .../opencv2/core/cuda/datamov_utils.hpp | 0 .../opencv2/core/cuda/detail/color_detail.hpp | 0 .../opencv2/core/cuda/detail/reduce.hpp | 0 .../core/cuda/detail/reduce_key_val.hpp | 0 .../core/cuda/detail/transform_detail.hpp | 0 .../core/cuda/detail/type_traits_detail.hpp | 0 .../core/cuda/detail/vec_distance_detail.hpp | 0 .../opencv/opencv2/core/cuda/dynamic_smem.hpp | 0 .../opencv/opencv2/core/cuda/emulation.hpp | 0 .../main/opencv/opencv2/core/cuda/filters.hpp | 0 .../opencv/opencv2/core/cuda/funcattrib.hpp | 0 .../opencv/opencv2/core/cuda/functional.hpp | 0 .../main/opencv/opencv2/core/cuda/limits.hpp | 0 .../main/opencv/opencv2/core/cuda/reduce.hpp | 0 .../opencv2/core/cuda/saturate_cast.hpp | 0 .../main/opencv/opencv2/core/cuda/scan.hpp | 0 .../opencv2/core/cuda/simd_functions.hpp | 0 .../opencv/opencv2/core/cuda/transform.hpp | 0 .../opencv/opencv2/core/cuda/type_traits.hpp | 0 .../main/opencv/opencv2/core/cuda/utility.hpp | 0 .../opencv/opencv2/core/cuda/vec_distance.hpp | 0 .../opencv/opencv2/core/cuda/vec_math.hpp | 0 .../opencv/opencv2/core/cuda/vec_traits.hpp | 0 .../main/opencv/opencv2/core/cuda/warp.hpp | 0 .../opencv/opencv2/core/cuda/warp_reduce.hpp | 0 .../opencv/opencv2/core/cuda/warp_shuffle.hpp | 0 .../opencv2/core/cuda_stream_accessor.hpp | 0 .../main/opencv/opencv2/core/cuda_types.hpp | 0 .../opencv/opencv2/core/cv_cpu_dispatch.h | 0 .../main/opencv/opencv2/core/cv_cpu_helper.h | 0 .../main/opencv/opencv2/core/cvdef.h | 0 .../main/opencv/opencv2/core/cvstd.hpp | 0 .../main/opencv/opencv2/core/cvstd.inl.hpp | 0 .../opencv/opencv2/core/cvstd_wrapper.hpp | 0 .../opencv2/core/detail/async_promise.hpp | 0 .../opencv2/core/detail/exception_ptr.hpp | 0 .../main/opencv/opencv2/core/directx.hpp | 0 .../main/opencv/opencv2/core/eigen.hpp | 0 .../main/opencv/opencv2/core/fast_math.hpp | 0 .../main/opencv/opencv2/core/hal/hal.hpp | 0 .../main/opencv/opencv2/core/hal/interface.h | 0 .../main/opencv/opencv2/core/hal/intrin.hpp | 0 .../opencv/opencv2/core/hal/intrin_avx.hpp | 0 .../opencv/opencv2/core/hal/intrin_avx512.hpp | 0 .../opencv/opencv2/core/hal/intrin_cpp.hpp | 0 .../opencv2/core/hal/intrin_forward.hpp | 0 .../opencv/opencv2/core/hal/intrin_msa.hpp | 0 .../opencv/opencv2/core/hal/intrin_neon.hpp | 0 .../opencv/opencv2/core/hal/intrin_sse.hpp | 0 .../opencv/opencv2/core/hal/intrin_sse_em.hpp | 0 .../opencv/opencv2/core/hal/intrin_vsx.hpp | 0 .../opencv/opencv2/core/hal/intrin_wasm.hpp | 0 .../main/opencv/opencv2/core/hal/msa_macros.h | 0 .../opencv2/core/hal/simd_utils.impl.hpp | 0 .../main/opencv/opencv2/core/llapi/llapi.h | 0 .../main/opencv/opencv2/core/mat.hpp | 0 .../main/opencv/opencv2/core/mat.inl.hpp | 0 .../main/opencv/opencv2/core/matx.hpp | 0 .../main/opencv/opencv2/core/neon_utils.hpp | 0 .../main/opencv/opencv2/core/ocl.hpp | 0 .../main/opencv/opencv2/core/ocl_genbase.hpp | 0 .../opencv/opencv2/core/opencl/ocl_defs.hpp | 0 .../opencv2/core/opencl/opencl_info.hpp | 0 .../opencv/opencv2/core/opencl/opencl_svm.hpp | 0 .../autogenerated/opencl_clamdblas.hpp | 0 .../runtime/autogenerated/opencl_clamdfft.hpp | 0 .../runtime/autogenerated/opencl_core.hpp | 0 .../autogenerated/opencl_core_wrappers.hpp | 0 .../runtime/autogenerated/opencl_gl.hpp | 0 .../autogenerated/opencl_gl_wrappers.hpp | 0 .../core/opencl/runtime/opencl_clamdblas.hpp | 0 .../core/opencl/runtime/opencl_clamdfft.hpp | 0 .../core/opencl/runtime/opencl_core.hpp | 0 .../opencl/runtime/opencl_core_wrappers.hpp | 0 .../opencv2/core/opencl/runtime/opencl_gl.hpp | 0 .../opencl/runtime/opencl_gl_wrappers.hpp | 0 .../core/opencl/runtime/opencl_svm_20.hpp | 0 .../opencl/runtime/opencl_svm_definitions.hpp | 0 .../runtime/opencl_svm_hsa_extension.hpp | 0 .../main/opencv/opencv2/core/opengl.hpp | 0 .../opencv/opencv2/core/openvx/ovx_defs.hpp | 0 .../main/opencv/opencv2/core/operations.hpp | 0 .../main/opencv/opencv2/core/optim.hpp | 0 .../main/opencv/opencv2/core/ovx.hpp | 0 .../main/opencv/opencv2/core/persistence.hpp | 0 .../main/opencv/opencv2/core/private.cuda.hpp | 0 .../main/opencv/opencv2/core/private.hpp | 0 .../main/opencv/opencv2/core/saturate.hpp | 0 .../opencv/opencv2/core/simd_intrinsics.hpp | 0 .../main/opencv/opencv2/core/softfloat.hpp | 0 .../main/opencv/opencv2/core/sse_utils.hpp | 0 .../main/opencv/opencv2/core/traits.hpp | 0 .../main/opencv/opencv2/core/types.hpp | 0 .../main/opencv/opencv2/core/types_c.h | 0 .../main/opencv/opencv2/core/utility.hpp | 0 .../opencv2/core/utils/allocator_stats.hpp | 0 .../core/utils/allocator_stats.impl.hpp | 0 .../core/utils/buffer_area.private.hpp | 0 .../core/utils/configuration.private.hpp | 0 .../opencv/opencv2/core/utils/filesystem.hpp | 0 .../opencv2/core/utils/filesystem.private.hpp | 0 .../opencv2/core/utils/instrumentation.hpp | 0 .../opencv2/core/utils/lock.private.hpp | 0 .../opencv2/core/utils/logger.defines.hpp | 0 .../main/opencv/opencv2/core/utils/logger.hpp | 0 .../main/opencv/opencv2/core/utils/logtag.hpp | 0 .../main/opencv/opencv2/core/utils/tls.hpp | 0 .../main/opencv/opencv2/core/utils/trace.hpp | 0 .../opencv2/core/utils/trace.private.hpp | 0 .../main/opencv/opencv2/core/va_intel.hpp | 0 .../main/opencv/opencv2/core/version.hpp | 0 .../main/opencv/opencv2/core/vsx_utils.hpp | 0 .../main/opencv/opencv2/cvconfig.h | 0 .../main/opencv/opencv2/imgcodecs.hpp | 0 .../opencv/opencv2/imgcodecs/imgcodecs.hpp | 0 .../opencv/opencv2/imgcodecs/imgcodecs_c.h | 0 .../main/opencv/opencv2/imgcodecs/ios.h | 0 .../opencv2/imgcodecs/legacy/constants_c.h | 0 .../main/opencv/opencv2/imgproc.hpp | 0 .../opencv/opencv2/imgproc/detail/gcgraph.hpp | 0 .../main/opencv/opencv2/imgproc/hal/hal.hpp | 0 .../opencv/opencv2/imgproc/hal/interface.h | 0 .../main/opencv/opencv2/imgproc/imgproc.hpp | 0 .../main/opencv/opencv2/imgproc/imgproc_c.h | 0 .../main/opencv/opencv2/imgproc/types_c.h | 0 .../main/opencv/opencv2/opencv.hpp | 0 .../main/opencv/opencv2/opencv_modules.hpp | 0 .../partitions.csv | 0 .../sdkconfig | 0 .../sdkconfig.old | 0 159 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 esp32/examples/esp_opencv_basic/README.md delete mode 100644 esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private/cv_cpu_include_simd_declarations.hpp rename esp32/examples/{esp_opencv_basic => hello_opencv}/.gitignore (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/CMakeLists.txt (89%) create mode 100644 esp32/examples/hello_opencv/README.md rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/CMakeLists.txt (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/component.mk (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/hello_opencv.cpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/3rdparty/liblibpng.a (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/3rdparty/libzlib.a (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/libade.a (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/libopencv_core.a (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/libopencv_imgcodecs.a (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/libopencv_imgproc.a (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/affine.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/async.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/base.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/bindings_utils.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/bufferpool.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/check.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/core.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/core_c.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda.inl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/block.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/border_interpolate.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/color.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/common.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/datamov_utils.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/detail/color_detail.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/detail/reduce.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/detail/reduce_key_val.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/detail/transform_detail.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/detail/type_traits_detail.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/detail/vec_distance_detail.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/dynamic_smem.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/emulation.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/filters.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/funcattrib.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/functional.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/limits.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/reduce.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/saturate_cast.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/scan.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/simd_functions.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/transform.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/type_traits.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/utility.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/vec_distance.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/vec_math.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/vec_traits.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/warp.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/warp_reduce.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda/warp_shuffle.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda_stream_accessor.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cuda_types.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cv_cpu_dispatch.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cv_cpu_helper.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cvdef.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cvstd.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cvstd.inl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/cvstd_wrapper.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/detail/async_promise.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/detail/exception_ptr.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/directx.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/eigen.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/fast_math.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/hal.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/interface.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_avx.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_avx512.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_cpp.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_forward.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_msa.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_neon.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_sse.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_sse_em.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_vsx.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/intrin_wasm.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/msa_macros.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/hal/simd_utils.impl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/llapi/llapi.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/mat.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/mat.inl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/matx.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/neon_utils.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/ocl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/ocl_genbase.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/ocl_defs.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/opencl_info.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/opencl_svm.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_clamdblas.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_clamdfft.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_core.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_gl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_svm_20.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/opengl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/openvx/ovx_defs.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/operations.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/optim.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/ovx.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/persistence.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/private.cuda.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/private.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/saturate.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/simd_intrinsics.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/softfloat.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/sse_utils.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/traits.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/types.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/types_c.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utility.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/allocator_stats.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/allocator_stats.impl.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/buffer_area.private.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/configuration.private.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/filesystem.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/filesystem.private.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/instrumentation.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/lock.private.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/logger.defines.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/logger.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/logtag.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/tls.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/trace.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/utils/trace.private.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/va_intel.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/version.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/core/vsx_utils.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/cvconfig.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgcodecs.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgcodecs/imgcodecs.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgcodecs/imgcodecs_c.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgcodecs/ios.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgcodecs/legacy/constants_c.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc/detail/gcgraph.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc/hal/hal.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc/hal/interface.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc/imgproc.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc/imgproc_c.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/imgproc/types_c.h (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/opencv.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/main/opencv/opencv2/opencv_modules.hpp (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/partitions.csv (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/sdkconfig (100%) rename esp32/examples/{esp_opencv_basic => hello_opencv}/sdkconfig.old (100%) diff --git a/esp32/examples/esp_opencv_basic/README.md b/esp32/examples/esp_opencv_basic/README.md deleted file mode 100644 index f216756..0000000 --- a/esp32/examples/esp_opencv_basic/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Esp32 OpenCV basic - -This is a basic example to test that OpenCV works correctly. The project only creates some matrices and apply basic operations on them. diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private/cv_cpu_include_simd_declarations.hpp b/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private/cv_cpu_include_simd_declarations.hpp deleted file mode 100644 index 37d06ef..0000000 --- a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private/cv_cpu_include_simd_declarations.hpp +++ /dev/null @@ -1,30 +0,0 @@ -// Helper file to include dispatched functions declaration: -// -// Usage: -// #define CV_CPU_SIMD_FILENAME ".simd.hpp" -// #define CV_CPU_DISPATCH_MODE AVX2 -// #include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp" -// #define CV_CPU_DISPATCH_MODE SSE2 -// #include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp" - -#ifndef CV_DISABLE_OPTIMIZATION -#ifdef _MSC_VER -#pragma warning(disable: 4702) // unreachable code -#endif -#endif - -#ifndef CV_CPU_OPTIMIZATION_DECLARATIONS_ONLY -#define CV_CPU_OPTIMIZATION_DECLARATIONS_ONLY -#endif - -#undef CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN -#undef CV_CPU_OPTIMIZATION_NAMESPACE_END - -#define CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN namespace __CV_CAT(opt_, CV_CPU_DISPATCH_MODE) { -#define CV_CPU_OPTIMIZATION_NAMESPACE_END } - -#include CV_CPU_SIMD_FILENAME - -#undef CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN -#undef CV_CPU_OPTIMIZATION_NAMESPACE_END -#undef CV_CPU_DISPATCH_MODE diff --git a/esp32/examples/esp_opencv_basic/.gitignore b/esp32/examples/hello_opencv/.gitignore similarity index 100% rename from esp32/examples/esp_opencv_basic/.gitignore rename to esp32/examples/hello_opencv/.gitignore diff --git a/esp32/examples/esp_opencv_basic/CMakeLists.txt b/esp32/examples/hello_opencv/CMakeLists.txt similarity index 89% rename from esp32/examples/esp_opencv_basic/CMakeLists.txt rename to esp32/examples/hello_opencv/CMakeLists.txt index 2796a3c..6c1dc91 100644 --- a/esp32/examples/esp_opencv_basic/CMakeLists.txt +++ b/esp32/examples/hello_opencv/CMakeLists.txt @@ -2,4 +2,4 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.5) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(esp_opencv_basic) +project(hello_opencv) diff --git a/esp32/examples/hello_opencv/README.md b/esp32/examples/hello_opencv/README.md new file mode 100644 index 0000000..ff34d10 --- /dev/null +++ b/esp32/examples/hello_opencv/README.md @@ -0,0 +1,3 @@ +# Esp32 Hello OpenCV + +This is a basic example to test that OpenCV works correctly on the ESP32. The project only creates some matrices and apply basic operations on them. diff --git a/esp32/examples/esp_opencv_basic/main/CMakeLists.txt b/esp32/examples/hello_opencv/main/CMakeLists.txt similarity index 100% rename from esp32/examples/esp_opencv_basic/main/CMakeLists.txt rename to esp32/examples/hello_opencv/main/CMakeLists.txt diff --git a/esp32/examples/esp_opencv_basic/main/component.mk b/esp32/examples/hello_opencv/main/component.mk similarity index 100% rename from esp32/examples/esp_opencv_basic/main/component.mk rename to esp32/examples/hello_opencv/main/component.mk diff --git a/esp32/examples/esp_opencv_basic/main/hello_opencv.cpp b/esp32/examples/hello_opencv/main/hello_opencv.cpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/hello_opencv.cpp rename to esp32/examples/hello_opencv/main/hello_opencv.cpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/3rdparty/liblibpng.a b/esp32/examples/hello_opencv/main/opencv/3rdparty/liblibpng.a similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/3rdparty/liblibpng.a rename to esp32/examples/hello_opencv/main/opencv/3rdparty/liblibpng.a diff --git a/esp32/examples/esp_opencv_basic/main/opencv/3rdparty/libzlib.a b/esp32/examples/hello_opencv/main/opencv/3rdparty/libzlib.a similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/3rdparty/libzlib.a rename to esp32/examples/hello_opencv/main/opencv/3rdparty/libzlib.a diff --git a/esp32/examples/esp_opencv_basic/main/opencv/libade.a b/esp32/examples/hello_opencv/main/opencv/libade.a similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/libade.a rename to esp32/examples/hello_opencv/main/opencv/libade.a diff --git a/esp32/examples/esp_opencv_basic/main/opencv/libopencv_core.a b/esp32/examples/hello_opencv/main/opencv/libopencv_core.a similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/libopencv_core.a rename to esp32/examples/hello_opencv/main/opencv/libopencv_core.a diff --git a/esp32/examples/esp_opencv_basic/main/opencv/libopencv_imgcodecs.a b/esp32/examples/hello_opencv/main/opencv/libopencv_imgcodecs.a similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/libopencv_imgcodecs.a rename to esp32/examples/hello_opencv/main/opencv/libopencv_imgcodecs.a diff --git a/esp32/examples/esp_opencv_basic/main/opencv/libopencv_imgproc.a b/esp32/examples/hello_opencv/main/opencv/libopencv_imgproc.a similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/libopencv_imgproc.a rename to esp32/examples/hello_opencv/main/opencv/libopencv_imgproc.a diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/affine.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/affine.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/affine.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/affine.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/async.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/async.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/async.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/async.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/base.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/base.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/base.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/base.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/bindings_utils.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/bindings_utils.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/bindings_utils.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/bindings_utils.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/bufferpool.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/bufferpool.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/bufferpool.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/bufferpool.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/check.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/check.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/check.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/check.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/core.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/core.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/core.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/core.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/core_c.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/core_c.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/core_c.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/core_c.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda.inl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda.inl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda.inl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda.inl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/block.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/block.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/block.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/block.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/border_interpolate.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/border_interpolate.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/border_interpolate.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/border_interpolate.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/color.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/color.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/color.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/color.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/common.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/common.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/common.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/common.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/datamov_utils.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/datamov_utils.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/datamov_utils.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/datamov_utils.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/color_detail.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/color_detail.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/color_detail.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/color_detail.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/reduce.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/reduce.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/reduce.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/reduce.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/reduce_key_val.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/reduce_key_val.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/reduce_key_val.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/reduce_key_val.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/transform_detail.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/transform_detail.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/transform_detail.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/transform_detail.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/type_traits_detail.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/type_traits_detail.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/type_traits_detail.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/type_traits_detail.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/vec_distance_detail.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/vec_distance_detail.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/detail/vec_distance_detail.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/detail/vec_distance_detail.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/dynamic_smem.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/dynamic_smem.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/dynamic_smem.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/dynamic_smem.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/emulation.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/emulation.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/emulation.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/emulation.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/filters.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/filters.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/filters.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/filters.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/funcattrib.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/funcattrib.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/funcattrib.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/funcattrib.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/functional.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/functional.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/functional.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/functional.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/limits.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/limits.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/limits.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/limits.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/reduce.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/reduce.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/reduce.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/reduce.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/saturate_cast.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/saturate_cast.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/saturate_cast.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/saturate_cast.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/scan.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/scan.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/scan.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/scan.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/simd_functions.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/simd_functions.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/simd_functions.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/simd_functions.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/transform.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/transform.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/transform.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/transform.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/type_traits.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/type_traits.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/type_traits.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/type_traits.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/utility.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/utility.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/utility.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/utility.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/vec_distance.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/vec_distance.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/vec_distance.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/vec_distance.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/vec_math.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/vec_math.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/vec_math.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/vec_math.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/vec_traits.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/vec_traits.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/vec_traits.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/vec_traits.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/warp.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/warp.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/warp.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/warp.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/warp_reduce.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/warp_reduce.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/warp_reduce.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/warp_reduce.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/warp_shuffle.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/warp_shuffle.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda/warp_shuffle.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda/warp_shuffle.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda_stream_accessor.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda_stream_accessor.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda_stream_accessor.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda_stream_accessor.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda_types.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda_types.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cuda_types.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cuda_types.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cv_cpu_dispatch.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cv_cpu_dispatch.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cv_cpu_dispatch.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cv_cpu_dispatch.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cv_cpu_helper.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cv_cpu_helper.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cv_cpu_helper.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cv_cpu_helper.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvdef.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cvdef.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvdef.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cvdef.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvstd.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cvstd.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvstd.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cvstd.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvstd.inl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cvstd.inl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvstd.inl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cvstd.inl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvstd_wrapper.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/cvstd_wrapper.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/cvstd_wrapper.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/cvstd_wrapper.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/detail/async_promise.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/detail/async_promise.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/detail/async_promise.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/detail/async_promise.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/detail/exception_ptr.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/detail/exception_ptr.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/detail/exception_ptr.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/detail/exception_ptr.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/directx.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/directx.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/directx.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/directx.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/eigen.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/eigen.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/eigen.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/eigen.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/fast_math.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/fast_math.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/fast_math.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/fast_math.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/hal.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/hal.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/hal.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/hal.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/interface.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/interface.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/interface.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/interface.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_avx.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_avx.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_avx.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_avx.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_avx512.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_avx512.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_avx512.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_avx512.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_cpp.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_cpp.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_cpp.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_cpp.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_forward.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_forward.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_forward.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_forward.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_msa.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_msa.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_msa.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_msa.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_neon.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_neon.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_neon.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_neon.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_sse.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_sse.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_sse.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_sse.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_sse_em.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_sse_em.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_sse_em.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_sse_em.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_vsx.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_vsx.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_vsx.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_vsx.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_wasm.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_wasm.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/intrin_wasm.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/intrin_wasm.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/msa_macros.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/msa_macros.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/msa_macros.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/msa_macros.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/simd_utils.impl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/simd_utils.impl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/hal/simd_utils.impl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/hal/simd_utils.impl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/llapi/llapi.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/llapi/llapi.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/llapi/llapi.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/llapi/llapi.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/mat.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/mat.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/mat.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/mat.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/mat.inl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/mat.inl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/mat.inl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/mat.inl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/matx.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/matx.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/matx.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/matx.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/neon_utils.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/neon_utils.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/neon_utils.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/neon_utils.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/ocl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/ocl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/ocl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/ocl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/ocl_genbase.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/ocl_genbase.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/ocl_genbase.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/ocl_genbase.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/ocl_defs.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/ocl_defs.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/ocl_defs.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/ocl_defs.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/opencl_info.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/opencl_info.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/opencl_info.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/opencl_info.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/opencl_svm.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/opencl_svm.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/opencl_svm.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/opencl_svm.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_clamdblas.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_clamdblas.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_clamdblas.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_clamdblas.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_clamdfft.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_clamdfft.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_clamdfft.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_clamdfft.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_core.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_core.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_core.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_core.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_gl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_gl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_gl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_gl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_svm_20.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_svm_20.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_svm_20.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_svm_20.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opengl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/opengl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/opengl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/opengl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/openvx/ovx_defs.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/openvx/ovx_defs.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/openvx/ovx_defs.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/openvx/ovx_defs.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/operations.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/operations.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/operations.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/operations.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/optim.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/optim.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/optim.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/optim.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/ovx.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/ovx.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/ovx.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/ovx.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/persistence.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/persistence.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/persistence.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/persistence.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private.cuda.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/private.cuda.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private.cuda.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/private.cuda.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/private.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/private.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/private.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/saturate.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/saturate.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/saturate.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/saturate.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/simd_intrinsics.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/simd_intrinsics.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/simd_intrinsics.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/simd_intrinsics.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/softfloat.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/softfloat.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/softfloat.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/softfloat.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/sse_utils.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/sse_utils.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/sse_utils.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/sse_utils.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/traits.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/traits.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/traits.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/traits.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/types.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/types.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/types.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/types.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/types_c.h b/esp32/examples/hello_opencv/main/opencv/opencv2/core/types_c.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/types_c.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/types_c.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utility.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utility.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utility.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utility.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/allocator_stats.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/allocator_stats.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/allocator_stats.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/allocator_stats.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/allocator_stats.impl.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/allocator_stats.impl.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/allocator_stats.impl.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/allocator_stats.impl.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/buffer_area.private.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/buffer_area.private.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/buffer_area.private.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/buffer_area.private.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/configuration.private.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/configuration.private.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/configuration.private.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/configuration.private.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/filesystem.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/filesystem.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/filesystem.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/filesystem.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/filesystem.private.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/filesystem.private.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/filesystem.private.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/filesystem.private.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/instrumentation.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/instrumentation.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/instrumentation.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/instrumentation.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/lock.private.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/lock.private.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/lock.private.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/lock.private.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/logger.defines.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/logger.defines.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/logger.defines.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/logger.defines.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/logger.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/logger.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/logger.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/logger.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/logtag.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/logtag.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/logtag.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/logtag.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/tls.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/tls.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/tls.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/tls.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/trace.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/trace.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/trace.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/trace.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/trace.private.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/trace.private.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/utils/trace.private.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/utils/trace.private.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/va_intel.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/va_intel.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/va_intel.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/va_intel.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/version.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/version.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/version.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/version.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/vsx_utils.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/core/vsx_utils.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/core/vsx_utils.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/core/vsx_utils.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/cvconfig.h b/esp32/examples/hello_opencv/main/opencv/opencv2/cvconfig.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/cvconfig.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/cvconfig.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/imgcodecs.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/imgcodecs.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/imgcodecs.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/imgcodecs.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/imgcodecs_c.h b/esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/imgcodecs_c.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/imgcodecs_c.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/imgcodecs_c.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/ios.h b/esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/ios.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/ios.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/ios.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/legacy/constants_c.h b/esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/legacy/constants_c.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgcodecs/legacy/constants_c.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgcodecs/legacy/constants_c.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/detail/gcgraph.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/detail/gcgraph.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/detail/gcgraph.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/detail/gcgraph.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/hal/hal.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/hal/hal.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/hal/hal.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/hal/hal.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/hal/interface.h b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/hal/interface.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/hal/interface.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/hal/interface.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/imgproc.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/imgproc.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/imgproc.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/imgproc.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/imgproc_c.h b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/imgproc_c.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/imgproc_c.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/imgproc_c.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/types_c.h b/esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/types_c.h similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/imgproc/types_c.h rename to esp32/examples/hello_opencv/main/opencv/opencv2/imgproc/types_c.h diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/opencv.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/opencv.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/opencv.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/opencv.hpp diff --git a/esp32/examples/esp_opencv_basic/main/opencv/opencv2/opencv_modules.hpp b/esp32/examples/hello_opencv/main/opencv/opencv2/opencv_modules.hpp similarity index 100% rename from esp32/examples/esp_opencv_basic/main/opencv/opencv2/opencv_modules.hpp rename to esp32/examples/hello_opencv/main/opencv/opencv2/opencv_modules.hpp diff --git a/esp32/examples/esp_opencv_basic/partitions.csv b/esp32/examples/hello_opencv/partitions.csv similarity index 100% rename from esp32/examples/esp_opencv_basic/partitions.csv rename to esp32/examples/hello_opencv/partitions.csv diff --git a/esp32/examples/esp_opencv_basic/sdkconfig b/esp32/examples/hello_opencv/sdkconfig similarity index 100% rename from esp32/examples/esp_opencv_basic/sdkconfig rename to esp32/examples/hello_opencv/sdkconfig diff --git a/esp32/examples/esp_opencv_basic/sdkconfig.old b/esp32/examples/hello_opencv/sdkconfig.old similarity index 100% rename from esp32/examples/esp_opencv_basic/sdkconfig.old rename to esp32/examples/hello_opencv/sdkconfig.old From 62d3b0d9b79b5359077060c2c85b91e2a22eda68 Mon Sep 17 00:00:00 2001 From: Joachim Burket Date: Tue, 30 Jun 2020 11:40:30 +0200 Subject: [PATCH 5/7] removed names in path --- esp32/doc/detailed_build_procedure.md | 72 +++++++-------------------- 1 file changed, 18 insertions(+), 54 deletions(-) diff --git a/esp32/doc/detailed_build_procedure.md b/esp32/doc/detailed_build_procedure.md index aa917af..7220009 100644 --- a/esp32/doc/detailed_build_procedure.md +++ b/esp32/doc/detailed_build_procedure.md @@ -107,7 +107,7 @@ When the `cmake` command works, the following summary is given: -- C/C++: -- Built as dynamic libs?: NO -- C++ standard: 11 --- C++ Compiler: /home/joachim/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ (ver 8.2.0) +-- C++ Compiler: ~/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ (ver 8.2.0) -- C++ flags (Release): -mlongcalls -Wno-frame-address -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -mlongcalls -Wno-frame-address -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /home/joachim/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc @@ -152,14 +152,14 @@ When the `cmake` command works, the following summary is given: -- Other third-party libraries: -- Custom HAL: NO -- --- Python (for build): /home/joachim/.espressif/python_env/idf4.2_py2.7_env/bin/python2.7 +-- Python (for build): ~/.espressif/python_env/idf4.2_py2.7_env/bin/python2.7 -- --- Install to: /home/joachim/Documents/HES/02_MSE/22_master_thesis/esp32-opencv/build/install +-- Install to: ~/esp32-opencv/build/install -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done --- Build files have been written to: /home/joachim/Documents/HES/02_MSE/22_master_thesis/esp32-opencv/build +-- Build files have been written to: ~/esp32-opencv/build ``` @@ -234,58 +234,22 @@ After these fixes, the command `make` is run, with some new errors: * When there is an `#if defined(ANDROID)`, add ` || defined(ESP32)` after, so that `malloc.h` is included and `memalign` is used -* *#error " not supported"* +* *glob.cpp: #error " not supported"* - The ESP32 doesn't support directories (which are emulated with the filenames, like `mydir/mysubdir/myfile.c`). - - **FIX:** Modify `modules/core/src/glob.cpp` - - * Add the following code after line 136: - - ```c++ - #if defined(ESP32) - #include - const char dir_separators[] = "/"; - - namespace { - struct dirent { - const char *d_name; - }; - - struct DIR { - dirent ent; - - DIR() { } - ~DIR() - { - if (ent.d_name) - delete[] ent.d_name; - } - }; - - DIR* opendir(const char* path) - { - DIR* dir = new DIR; - dir->ent.d_name = 0; - // TODO implement (point the first file starting with 'path' in its name) - return dir; - } - - dirent* readdir(DIR* dir) - { - // TODO: implement (point to the next file with 'path' in its name) - return &(dir->ent); - } - - void closedir(DIR* dir) - { - delete dir; - } - } - ``` - - The function are not implemented yet. Must be implemented if files reading/writing in SPIFFS needed. + The `glob.cpp` file includes the file `xtensa-esp32-elf/sys-include/dirent.h`, which includes `xtensa-esp32-elf/sys-include/sys/dirent.h`, which causes this error. This is because the filesystem related functions are defined in the ESP-IDF repository (in `components/vfs/`). The `vfs/include/sys/dirent.h` header must therefore be included in `glob.cpp:135` instead of ``: + ``` c++ +#if defined(ESP32) + #include +#include "esp_dirent.h" + #include + const char dir_separators[] = "/"; + #else + /* ... */ + ``` + + This `esp_dirent.h` file is the `vfs/include/sys/dirent.h` copied into `modules/core/src/` in OpenCV sources. + * *system.cpp:1002:20: error: 'mkstemp' was not declared in this scope* **FIX:** From 865644b64ec2de84708f33a4e1ab9c778a98ae7c Mon Sep 17 00:00:00 2001 From: Joachim Burket Date: Tue, 30 Jun 2020 14:34:39 +0200 Subject: [PATCH 6/7] directories functions header added (from esp-idf/components/vfs) --- CMakeLists.txt | 3 +- esp32/scripts/build_opencv_for_esp32.sh | 2 +- modules/core/src/glob.cpp | 38 ++----------------------- 3 files changed, 4 insertions(+), 39 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe44cd2..05fd140 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -660,8 +660,7 @@ include(cmake/OpenCVModule.cmake) # Detect endianness of build platform # ---------------------------------------------------------------------------- -# if not working while compiling for esp32, change the next line in 'if(IOS OR ESP32)' -if(IOS) +if(IOS OR ESP32) # test_big_endian needs try_compile, which doesn't work for iOS # http://public.kitware.com/Bug/view.php?id=12288 set(WORDS_BIGENDIAN 0) diff --git a/esp32/scripts/build_opencv_for_esp32.sh b/esp32/scripts/build_opencv_for_esp32.sh index e1ffabd..1f3c756 100755 --- a/esp32/scripts/build_opencv_for_esp32.sh +++ b/esp32/scripts/build_opencv_for_esp32.sh @@ -67,7 +67,7 @@ cp $SCRIPTDIR/resources/alloc_fix.cpp ./3rdparty/ade/ade-0.1.1f/sources/ade/sour echo "================================================================================" echo "Compiling with make -j" echo "================================================================================" -make -j +make -j3 ### installing in output directory ### echo "================================================================================" diff --git a/modules/core/src/glob.cpp b/modules/core/src/glob.cpp index e6edf78..17c4733 100644 --- a/modules/core/src/glob.cpp +++ b/modules/core/src/glob.cpp @@ -133,44 +133,10 @@ namespace } #else #if defined(ESP32) +#include +#include "esp_dirent.h" #include const char dir_separators[] = "/"; - -namespace { - struct dirent { - const char *d_name; - }; - - struct DIR { - dirent ent; - - DIR() { } - ~DIR() - { - if (ent.d_name) - delete[] ent.d_name; - } - }; - - DIR* opendir(const char* path) - { - DIR* dir = new DIR; - dir->ent.d_name = 0; - // TODO implement (point the first file starting with 'path' in its name) - return dir; - } - - dirent* readdir(DIR* dir) - { - // TODO: implement (point to the next file with 'path' in its name) - return &(dir->ent); - } - - void closedir(DIR* dir) - { - delete dir; - } -} #else # include # include From 7ac7e155d7d625431ef046331de3e0f48b18e96d Mon Sep 17 00:00:00 2001 From: Joachim Burket Date: Tue, 30 Jun 2020 14:35:19 +0200 Subject: [PATCH 7/7] directories functions header added (from esp-idf/components/vfs) --- modules/core/src/esp_dirent.h | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 modules/core/src/esp_dirent.h diff --git a/modules/core/src/esp_dirent.h b/modules/core/src/esp_dirent.h new file mode 100644 index 0000000..57b5be5 --- /dev/null +++ b/modules/core/src/esp_dirent.h @@ -0,0 +1,55 @@ +// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#pragma once + +#include +#include + +/** + * This header file provides POSIX-compatible definitions of directory + * access functions and related data types. + * See http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html + * for reference. + */ + +/** + * @brief Opaque directory structure + */ +typedef struct { + uint16_t dd_vfs_idx; /*!< VFS index, not to be used by applications */ + uint16_t dd_rsv; /*!< field reserved for future extension */ + /* remaining fields are defined by VFS implementation */ +} DIR; + +/** + * @brief Directory entry structure + */ +struct dirent { + int d_ino; /*!< file number */ + uint8_t d_type; /*!< not defined in POSIX, but present in BSD and Linux */ +#define DT_UNKNOWN 0 +#define DT_REG 1 +#define DT_DIR 2 + char d_name[256]; /*!< zero-terminated file name */ +}; + +DIR* opendir(const char* name); +struct dirent* readdir(DIR* pdir); +long telldir(DIR* pdir); +void seekdir(DIR* pdir, long loc); +void rewinddir(DIR* pdir); +int closedir(DIR* pdir); +int readdir_r(DIR* pdir, struct dirent* entry, struct dirent** out_dirent); +