A C++ example of running TensorFlow Object Detection model in live mode. Inspired by issue.
Requirements (for use without Bazel):
Usage:
- Specify your own paths for necessary libs in
CmakeLists.txt
- Specify your own paths for
frozen_inference_graph.pb
andlabels_map.pbtxt
inmain.cpp
(lines 44-47) - Specify your video source (
main.cpp
, line 80) - Have fun
demo/
dir contains frozen graph & labels map from victordibia/handstracking as an example.