Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问一下,我用yolov8训练出来的模型,window下,NCNN怎么进行目标识别,感谢! #4646

Closed
fengshangren opened this issue Apr 19, 2023 · 5 comments

Comments

@fengshangren
Copy link

我也是才学yolo几天,我训练出来了yolov8的.pt模型,现在我想在c++把训练出来的模型可以进行识别,但是现在我一头懵,请大佬讲一下识别流程,或者哪里有文档,谢谢了

@fengshangren
Copy link
Author

我看例子里有个头文件是#include "opencv2/opencv.hpp",是不是还要调用opencv

@fengshangren
Copy link
Author

为了cv::imread这一个方法,还得多调用一个库啊,能不能只调用ncnn本身的方法就可以了

@tom2002965
Copy link

Build ncnn的時候把這個設置打開吧,就能用ncnn準備的simpleocv了!
這樣就不用多帶opencv library了

https://github.com/Tencent/ncnn/blob/master/CMakeLists.txt#L56

@nihui
Copy link
Member

nihui commented Aug 19, 2024

yolov8 example #5506

@nihui nihui closed this as completed Aug 19, 2024
@nihui
Copy link
Member

nihui commented Jan 8, 2025

hi, yolov8 examples are updated with full support for detection, segmentation, classification, pose estimation and obb
https://github.com/Tencent/ncnn/tree/master/examples

android demo
https://github.com/nihui/ncnn-android-yolov8

detailed instruction (zh)
https://zhuanlan.zhihu.com/p/16030630352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants