• ketan-b's avatar
    Add multi-stream saving feature (#3864) · 9d86b54e
    ketan-b 提交于
    * Added the recording feature for multiple streams
    
    Thanks for the very cool repo!!
    I was trying to record multiple feeds at the same time, but the current version of the detector only had one video writer and one vid_path!
    So the streams were not being saved and only were initialized with one frame and this process didn't record the whole thing.
    
    Fix:
    I made a list of `vid_writer` and `vid_path` and the `i` from the loop over the `pred` took care of the writer which need to work!
    
    I hope this helps, Thanks!
    
    * Cleanup list lengths
    
    * batch size variable
    
    * Update datasets.py
    Co-authored-by: 's avatarGlenn Jocher <glenn.jocher@ultralytics.com>
    9d86b54e
名称
最后提交
最后更新
.github 正在载入提交数据...
data 正在载入提交数据...
models 正在载入提交数据...
utils 正在载入提交数据...
.dockerignore 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
Dockerfile 正在载入提交数据...
LICENSE 正在载入提交数据...
README.md 正在载入提交数据...
detect.py 正在载入提交数据...
export.py 正在载入提交数据...
hubconf.py 正在载入提交数据...
requirements.txt 正在载入提交数据...
test.py 正在载入提交数据...
train.py 正在载入提交数据...
tutorial.ipynb 正在载入提交数据...