首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在RTMP中使用yolo3?

如何在RTMP中使用yolo3?
EN

Stack Overflow用户
提问于 2019-11-15 08:48:04
回答 1查看 185关注 0票数 1

我想在RTMP上用YOLO实时检测物体。我已经使用了这个:https://github.com/MarcoBay/darknet-rtmp,但是当我使用它时,错误发生如下:

代码语言:javascript
复制
*darknet.exe detector demo cfg/coco.data yolo.cfg yolov3_gpu_4000.weights -dont_show -rtmp_fps 15 -rtmp_bps 2000000 rtmp://192.168.110.48:1935/live/001*
Demo
layer     filters    size              input                output
    0 TH conv     32  3 x 3 / 1   608 x 608 x   3   ->   608 x 608 x  32
    1 TH conv     64  3 x 3 / 2   608 x 608 x  32   ->   304 x 304 x  64
    2 TH conv     32  1 x 1 / 1   304 x 304 x  64   ->   304 x 304 x  32
    3 TH conv     64  3 x 3 / 1   304 x 304 x  32   ->   304 x 304 x  64
    4 Shortcut Layer: 1
   ...
   95 route  91
   96 TH conv    128  1 x 1 / 1    38 x  38 x 256   ->    38 x  38 x 128
   97 upsample            2x    38 x  38 x 128   ->    76 x  76 x 128
   98 route  97 36
   99 TH conv    128  1 x 1 / 1    76 x  76 x 384   ->    76 x  76 x 128
  100 TH conv    256  3 x 3 / 1    76 x  76 x 128   ->    76 x  76 x 256
  101 TH conv    128  1 x 1 / 1    76 x  76 x 256   ->    76 x  76 x 128
  102 TH conv    256  3 x 3 / 1    76 x  76 x 128   ->    76 x  76 x 256
  103 TH conv    128  1 x 1 / 1    76 x  76 x 256   ->    76 x  76 x 128
  104 TH conv    256  3 x 3 / 1    76 x  76 x 128   ->    76 x  76 x 256
  105 TH conv    171  1 x 1 / 1    76 x  76 x 256   ->    76 x  76 x 171
  106 detection
Loading weights from yolov3_gpu_4000.weights...
 seen 64
Done!
video file: rtmp://192.168.110.48:1935/live/001
**Couldn't connect to webcam.
: Invalid argument**

我该如何解决这个问题?请帮我在RTMP上使用YOLO的体验。

EN

回答 1

Stack Overflow用户

发布于 2019-11-15 17:37:48

您能检查一下您的摄像头连接/配置吗?摄像头连接出现错误,模型权重看起来已加载。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58868743

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档