MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / main

Function main

examples/tests/clTest.cpp:219–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217#endif
218
219int main()
220{
221#ifdef USE_OPENCL
222 // Parsing command line flags
223 gflags::ParseCommandLineFlags(&argc, &argv, true);
224
225 // Running handFromJsonTest
226 std::thread t(&clTest);
227 t.join();
228 return 0;
229#else
230 op::error("OpenPose must be compiled with the `USE_CAFFE` & `USE_OPENCL` macro definitions in order to run"
231 " this functionality.", __LINE__, __FUNCTION__, __FILE__);
232 return -1;
233#endif
234}

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected