zoukankan      html  css  js  c++  java
  • OpenCV.用户选择

    1、Pdf.P153(书.P122)

      

    2、

    // 来自:"Creating a video with OpenCV — OpenCV 2.4.13.7 documentation.html"(https://docs.opencv.org/2.4/doc/tutorials/highgui/video-write/video-write.html)
    
    #include <iostream>    // for standard I/O
    #include <string>   // for strings
    
    #include <opencv2/core/core.hpp>        // Basic OpenCV structures (cv::Mat)
    #include <opencv2/highgui/highgui.hpp>  // Video write
    
    using namespace std;
    using namespace cv;
    
    int main_0404_zz(int argc, char *argv[])
    {
        Size S = Size((int) 30,    // Acquire input size
            (int) 50);
    
        VideoWriter outputVideo;                                        // Open the output
            outputVideo.open("z12345.avi", -1, 30, S, true);
    
        return 0;
    }

     2.1、程序运行起来的样子是这样的,可以选择 压缩程序 和 压缩质量

      

     2.2、可以选择的 压缩程序 有如下几种

      ZC:为何只有这几种?是∵ 我机子里面的 解码器比较少的缘故??

      

    3、

    4、

    5、

  • 相关阅读:
    卡牌配对
    SNOI2017 礼物
    【BZOJ2893】征服王
    景中人
    钦点
    杨柳
    兼容IE与firefox、chrome的css 线性渐变(linear-gradient)
    使用C# DES解密java DES加密的字符串
    jQuery插件autoComplete使用
    hadoop SQL使用
  • 原文地址:https://www.cnblogs.com/cppskill/p/10993745.html
Copyright © 2011-2022 走看看