- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use the Object Detection CPP sample from Model Zoo.
(OpenVino ver. 2025.2)
(see https://github.com/openvinotoolkit/open_model_zoo/tree/master/demos/object_detection_demo/cpp
)
It works well for loading the models in the models.lst.
Now I got a fine-tuned AI model based on Yolo V8, it works well with my own Python script.
And I'd like to to do this with CPP sample code (https://github.com/openvinotoolkit/open_model_zoo/tree/master/demos/object_detection_demo/cpp).
But I encounter the exception while thr code ran into the function
"logBasicModelInfo" in "common.hpp",
The exception occurs at
"const std::string name = output.get_any_name();"
Looks some kinds of NULL when loading info from ov::Output.
What can I do for adding the required information into model?
Or should I modify the OpenVino library?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ChrisChang.
To integrate a custom model with Open Model Zoo Demos, you need to modify the demo's source code to fit your model. It is better to use a minimal C++ example to start. Therefore, I suggest you refer to the YOLOv8 OpenVINO Inference in C++.
Regards,
Zul
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ChrisChang,
Thank you for reaching out to us.
Could you please share your YOLOv8 model so I can take a look at the issue further?
Regards,
Zul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
Any update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ChrisChang.
To integrate a custom model with Open Model Zoo Demos, you need to modify the demo's source code to fit your model. It is better to use a minimal C++ example to start. Therefore, I suggest you refer to the YOLOv8 OpenVINO Inference in C++.
Regards,
Zul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, it's work for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page