binary-video
代码说明:
学习使用OpenCV,对输入的一段彩色视频,用OpenCV实现以下功能或要求: 1. 对输入视频的每一帧图像都用同一个阈值进行二值化; 2.在每帧二值化图像上叠加上含自己学号与姓名等信息的版权字幕; 3. 在处理的过程中,实时显示每帧图片处理之后的效果; 4.将所有这些二值化图像按视频原来顺序合成输出一个视频文件,按原输入视频播放速度的两倍合成; 5. 做成如下的命令行格式,xxx.exe 输入视频文件名 二值化阈值 输出视频文件名(例如 MyBiVideo.exe input.avi 50 output.avi ) 这里的二值化有两种选择,可以手动收入阈值,也可以直接用OTSU算法的较优阈值直接二值化。(Learn to use OpenCV, for some color video input, with the OpenCV following functions or requirements: 1. Each frame of the input video images are binarized using the same threshold value 2. superposed on the binarized image of each frame containing the copyright on the number and the name of their own learning subtitles other information 3. During processing, real-time display after processing each frame 4. All of these binarized image by synthesizing the video output of a video sequence of the original document, the original input composite video playback speed twice 5. made the following command line format, xxx.exe input video file name binary threshold value of the output video file name (eg MyBiVideo.exe input.avi 50 output.avi) Here there are two binary choice, you can manually income thresholds, you can directly use the optimum direct binarization threshold through OTSU algorithm.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!