zed2 调用yolov5
时间: 2023-08-29 11:11:13 浏览: 158
在调用yolov5时,如果当前文件运行的目录是在zed-examples-master这个目录下,需要注意路径的关系。你需要在导入yolov5的时候加上一个点"."来返回上一级目录去找包。所以应该使用from .yolov5 import ...来导入yolov5。 这样就可以成功调用yolov5了。
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [解决 调用yolov5的时候, No module named ‘utils‘ 的问题](https://blog.csdn.net/weixin_43350896/article/details/127570322)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [yolov5直接调用zed相机实现三维测距(python)](https://blog.csdn.net/qq_45077760/article/details/127471793)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文