Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about Integrating with existing C++ Project

See original GitHub issue

@Daniil-Osokin hello!

Thank you for this phenomenal work!

I have an existing C++ project that is using OpenVINO to run inference. I would like to also include this model in the C++ project.

I have followed the instructions and ran:

python build_ext
export PYTHONPATH=pose_extractor/build/:$PYTHONPATH

and I have my pose_extractor folder: image

Forgive me if this a dumb question but what do I need to do to get this integrated with my existing C++ project?

  • I assume at the minimum I need to incorporate everything from CMakeLists.txt into my current CMakeLists.txt (so I build with the appropriate headers and libraries)
  • Where does the pose_extractor come into play when running the OpenVINO inference when I am looking for 3D pose?

From the “hello_classification” example from OpenVINO, at what point would I need to run the pose_extractor?: image

Could I include the source C++ files in my project? Once I run the OpenVINO reference, what do I need to call on the results in order to output the 3D poses? I see in python it runs parse_poses on the inference results, I would need to do the same but in C++, what function should I call? (there doesn’t seem to be parse_poses function in C++)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

adammpolakcommented, Oct 24, 2021

Thank you @Daniil-Osokin !

Daniil-Osokincommented, Oct 22, 2021

Hope, it helped.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic Cuda C++ project integration questions - Stack Overflow
I have an existing C++ project with some algorithms that can be split up into many mutually exclusive parts. I have a few...
Read more >
Integrating ROS with an existing C++ code base
I have an existing C++ code base building in Eclipse and running under ... can add the ROS build constructs to the existing...
Read more >
Mixing C and C++ Code in the Same Program - Oracle
The C++ language provides mechanisms for mixing code that is compiled by compatible C and C++ compilers in the same program. You can...
Read more >
Project setup for navigating existing C/C++ code - Eclipse
Hi everyone. My background. I'm very new to using Eclipse CDT. I've used JDT quite a lot, though. I have some questions getting...
Read more >
C project - SAP Community
Hi plm Gurus Can anybody Tell me About C project how it is linked with plm ... Portfolio integration including strategic resource management...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found