Closed qq923004243 closed 2 weeks ago
@qq923004243 我这边电脑重装了,可能过段时间才能给你复现。
对于你说的使用betterDXcam没有结果,从它已经返回DetectionResult
来看,推理是正常执行了的,那么只有两种可能:
DetectionResult
才能为空。model.predict
的输入目前必须是OpenCV的BGR格式(在前处理时顺便做了BGR->RBG),而betterdxcam.create().grab()
的得到的是RGB格式,你可能需要做一个通道转换。@laugh12321 感谢你的反馈,确实是betterdxcam.create().grab()返回的是RGB格式,在此之前的dxcam是可以默认返回RGB的,我完成了通道转换以后拥有了识别结果 感谢。
,如果是使用正常的yolov5模型预测正常可以输出检测项目,但是目前在该项目中貌似没有检测目标,是需要在单独完成什么插件吗,我已经按照步骤完成环境部署和模型转换,但是没结果哈,但是值得一提的是我使用官方demo,如果是使用读取文件能够正常的绘制图片并且写出,但是我用dxcam实时检测就不能检测数据,这是我的运行结果和环境输出:
环境输出: 官方demo运行结果: