Fix --source 'path/*.jpg' glob example (#8927)

* Fix `--source 'path/*.jpg'` glob example

* Update README_cn.md

* Update tutorial.ipynb
This commit is contained in:
Glenn Jocher 2022-08-10 21:53:12 +02:00 committed by GitHub
parent 4c6bdbfcde
commit 259e055b42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ python detect.py --source 0 # 网络摄像头
img.jpg # 图像
vid.mp4 # 视频
path/ # 文件夹
path/*.jpg # glob
'path/*.jpg' # glob
'https://youtu.be/Zgi9g1ksQHc' # YouTube
'rtsp://example.com/media.mp4' # RTSP, RTMP, HTTP 流
```

View File

@ -108,7 +108,7 @@ python detect.py --source 0 # webcam
img.jpg # image
vid.mp4 # video
path/ # directory
path/*.jpg # glob
'path/*.jpg' # glob
'https://youtu.be/Zgi9g1ksQHc' # YouTube
'rtsp://example.com/media.mp4' # RTSP, RTMP, HTTP stream
```

4
tutorial.ipynb vendored
View File

@ -448,7 +448,7 @@
" img.jpg # image \n",
" vid.mp4 # video\n",
" path/ # directory\n",
" path/*.jpg # glob\n",
" 'path/*.jpg' # glob\n",
" 'https://youtu.be/Zgi9g1ksQHc' # YouTube\n",
" 'rtsp://example.com/media.mp4' # RTSP, RTMP, HTTP stream\n",
"```"
@ -1139,4 +1139,4 @@
"outputs": []
}
]
}
}