esp-tflite-micro: Cannot build the person detection model

Hi guys,

I am trying to build the person detection model, but I always get the same error. I followed the guidelines for installation from the official esp website. Then, in the esp folder I cloned this git repository in order to get the person detection code. After that, I tried to build the example with the command:

idf.py build 

Here is the error that I get every time:

-- Building ESP-IDF components for target esp32
CMake Error at /home/adnan/esp/esp-idf/tools/cmake/build.cmake:201 (message):
  Failed to resolve component 'tflite-lib'.
Call Stack (most recent call first):
  /home/adnan/esp/esp-idf/tools/cmake/build.cmake:232 (__build_resolve_and_add_req)
  /home/adnan/esp/esp-idf/tools/cmake/build.cmake:507 (__build_expand_requirements)
  /home/adnan/esp/esp-idf/tools/cmake/project.cmake:384 (idf_build_process)
  CMakeLists.txt:4 (project)


-- Configuring incomplete, errors occurred!
See also "/home/adnan/esp/esp-idf/tflite-micro-esp-examples/examples/person_detection/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1

P.S. I am able to run the simple examples from get-started folder and that part works without issues. I am using the ESP32-WROVER-IE board.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26

Most upvoted comments

Ohh, thanks for pointing it out! I will fix the doc.

Well, thanks for your support too! Now it is running perfectly.

Hi @vikramdattu, thanks for the answer. I have already ordered the esp-eye board to test the person detection model on it. This means that the current code can immediately be flashed on the board or first the camera configuration using idf.py menuconfing must be set to be compatible with the esp-eye? Thanks in advance!