gpt4 book ai didi

c++ - 是否可以使用 TensorFlow 训练自己的模块,然后在 OpenCV 中使用它进行检测?

转载 作者:太空宇宙 更新时间:2023-11-03 23:12:06 25 4
gpt4 key购买 nike

我想问一下,我们可以训练自己的一些特定对象(可能是2~3个对象)的模块(图像),然后使用OpenCV DNN模块检测这些对象吗?

我已经在 OpenCV 中尝试了使用 ssd_mobilenet_v1_coco_11_06_2017 进行预训练的简单方法,它可以工作并且能够检测物体。

但现在我想用特定对象图像训练我自己的模块,并且如上所述使用 OpenCV 检测这些对象。我搜索了很多,但没有一个很好的教程来展示我们如何使用 TensorFlow 训练自己的模块。

提前致谢!

最佳答案

是的!当然,您可以自己训练,事实上,如果您查看所用样本的来源,他们会提供有关如何训练自己的指南:

https://github.com/datitran/object_detector_app/blob/master/object_detection/g3doc/defining_your_own_model.md

In this section, we discuss some of the abstractions that we use for defining detection models. If you would like to define a new model architecture for detection and use it in the Tensorflow Detection API, then this section should also serve as a high level guide to the files that you will need to edit to get your new model working.

关于c++ - 是否可以使用 TensorFlow 训练自己的模块,然后在 OpenCV 中使用它进行检测?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47746152/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com