tensorflow / tflite-micro

Infrastructure to enable deployment of ML models to low-power resource-constrained embedded targets (including microcontrollers and digital signal processors).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add OpenCV to build successfully person detection project?

huytranvan2010 opened this issue · comments

I follow this project and can run test https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/examples/person_detection#run-the-tests-on-a-development-machine. But now I want to evaluate Tflite C array model in TFLM. So that I need OpenCV to read all images, resize images and run inference. I installed OpenCV in my PC. How can I add OpenCV to build successfully person detection project? I mean that how can I add OpenCv to makefile to build this project. Generally, for OpenCV project, I can use this guide https://docs.opencv.org/4.x/db/df5/tutorial_linux_gcc_cmake.html to build project with OpenCV via cmake. But with TFLM, I dont know to do it.

Thank you.

@huytranvan2010

The following repository has an example of using TFLM with CMake builds for the Raspberry Pi Pico microcontroller:

https://github.com/raspberrypi/pico-tflmicro

That repo. is not part of Google or TFLM and no Google support can be provided with regards to the use of that repo.

This issue will now be closed. Please feel free to reopen the issue should you have additional comments.