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 阅读全文
posted @ 2021-03-04 17:30 學海無涯 阅读(399) 评论(0) 推荐(0)
摘要:PlaneVector.hpp #ifndef PlaneVector_h__ #define PlaneVector_h__ template<typename coordinate_type> struct PlaneVector { coordinate_type x; coordinate_ 阅读全文
posted @ 2021-03-04 10:18 學海無涯 阅读(159) 评论(0) 推荐(0)
摘要:#include <iostream> #include <string> #include <vector> #include <cmath> //Polar coordinate system using Point = std::pair<double, double>; //https:// 阅读全文
posted @ 2021-03-04 10:15 學海無涯 阅读(782) 评论(0) 推荐(0)
摘要:#include <algorithm> //https://en.wikipedia.org/wiki/Feature_scaling std::vector<double> rescaling_normalization(const std::vector<double> &in,double 阅读全文
posted @ 2021-03-04 10:03 學海無涯 阅读(216) 评论(0) 推荐(0)
摘要:// 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 阅读全文
posted @ 2021-03-01 15:10 學海無涯 阅读(314) 评论(0) 推荐(0)