tensorflow-object-detection-cpp
tensorflow-object-detection-cpp copied to clipboard
A C++ example of running TensorFlow Object Detection model in live mode.
I tried running the code after the configuration. But i am getting a different error.. [main] Building folder: tensorflow-object-detection-cpp tf_detector_example [build] Starting build [proc] Executing command: /usr/bin/cmake --build /home/surya/tensorflow-object-detection-cpp/build --config...
First: thanks for putting together this example, very helpful. I was looking at the code in `readTensorFromMat`. It first does this: ``` float *p = outTensor.flat().data(); Mat fakeMat(mat.rows, mat.cols, CV_32FC3,...
what tensorflow version you used?
I have the problem to update the `CMakeLists.txt`: ``` cmake_minimum_required(VERSION 3.7) project(tf_detector_example) set(CMAKE_CXX_STANDARD 11) set(SOURCE_FILES main.cpp utils.cpp utils.h) add_executable(tf_detector_example ${SOURCE_FILES}) # OpenCV libs set(OpenCV_DIR "C:/opencv/build/x64/vc15/lib") message("OpenCV_FOUND='${OpenCV_FOUND}'") find_package(OpenCV REQUIRED) include_directories( ${OpenCV_INCLUDE_DIRS}...
Hi, when I run this,I met this problem. /usr/local/include/tf/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1: error: unsupported/Eigen/CXX11/Tensor: No such file or directory How should i solve this?
ubuntu 16.04 create libtensorflow_cc.so and libtensorflow_framework.so in tensorflow1.12 1.mkdir -p build &&cd build 2.cmake .. 3.make CMakeFiles/tf_detector_example.dir/utils.cpp.o: In function `tensorflow::Scope tensorflow::Scope::WithOpName(char const*) const': utils.cpp:(.text._ZNK10tensorflow5Scope10WithOpNameIJPKcEEES0_DpT_[_ZNK10tensorflow5Scope10WithOpNameIJPKcEEES0_DpT_]+0x5d): undefined reference to `tensorflow::Scope::WithOpNameImpl(std::string const&) cons
Hi, I was able to compile and run your code sample, however on the instruction to load the model into the tensorflow session it gets segmentation fault. This is my...
Hello guys, I just install tensorflow 1.9 from source using CUDA 9.0 Cudnn 7.0.5. After that I use bazel to build the so file. However when i tried to run...