Using cvLine on OpenCV video capture
I have been able to stream video but what I would like to do 开发者_运维技巧is use cvLine to draw a line on the video as it is being recorded. Is there anyway to do this? cvLine seems to only work on static images. Any help would be greatly appreciated.
You will have to capture each frame, draw whatever you like on it, and perform any additional processing as you need, and save the result processed frame.
精彩评论