03 2021 档案
摘要:1.使用 https://glad.dav1d.de/ 生成 glad.h 头文件(用来动态加载Opengl函数指针) 2.下载 https://www.glfw.org/ glfw 二进制库(GUI库) #define GLFW_INCLUDE_NONE #include "glad.h" #in
阅读全文
摘要:PlaneVector.hpp #ifndef PlaneVector_h__ #define PlaneVector_h__ template<typename coordinate_type> struct PlaneVector { coordinate_type x; coordinate_
阅读全文
摘要:#include <iostream> #include <string> #include <vector> #include <cmath> //Polar coordinate system using Point = std::pair<double, double>; //https://
阅读全文
摘要:#include <algorithm> //https://en.wikipedia.org/wiki/Feature_scaling std::vector<double> rescaling_normalization(const std::vector<double> &in,double
阅读全文
摘要:// convert to nv21 ffmpeg -i test.png -s 800x480 -pix_fmt nv21 test.yuv // convert to i420 ffmpeg -i test.png -s 800x480 -pix_fmt yuv420p yuv420p.yuv
阅读全文