Fork me on github
摘要: 图片的读取、展示与保存 在OpenCV中,图片是在矩阵cv::Mat这种数据结构中储存的。OpenCV在opencv2/imgcodecs.hpp头文件中,为我们提供了cv::imread函数读取图片;在opencv2/highgui.hpp头文件中为我们提供了cv::imshow函数用于在操作系统 阅读全文
posted @ 2022-04-11 21:07 fang-d 阅读(852) 评论(1) 推荐(1)
摘要: dnf install epel-release dnf install gcc gcc-c++ make cmake gdb lldb clang dnf install http://ftp.sjtu.edu.cn/sites/download1.rpmfusion.org/free/el/rp 阅读全文
posted @ 2022-04-11 19:31 fang-d 阅读(380) 评论(0) 推荐(0)
摘要: sudo apt install build-essential ffmpeg ccache libopenblas-openmp-dev \ libgtk-3-dev libgtkglext1-dev libavcodec-dev libavformat-dev libdc1394-dev \ l 阅读全文
posted @ 2022-04-11 19:29 fang-d 阅读(176) 评论(0) 推荐(0)
摘要: dnf install -y gcc git zlib zlib-devel pcre pcre-devel perl-IPC-Cmd git clone --recursive https://hub.fastgit.org/google/ngx_brotli.git cd ngx_brotli/ 阅读全文
posted @ 2022-04-11 19:27 fang-d 阅读(281) 评论(0) 推荐(0)
摘要: 在本文中,我们同时配置阿里源、清华源和豆瓣源,进行平衡负载。这里选择清华源作为主源(据说清华源在教育网内会一些;如果是普通的网络,阿里源也挺好用的)。 方法一 这个方法要求pip版本号≥10.0.0。 在命令行中,输入以下命令: python -m pip config set global.ind 阅读全文
posted @ 2021-10-30 18:06 fang-d 阅读(1865) 评论(0) 推荐(0)
摘要: 原内容似乎不再有效,请参考阿里云官方链接 https://developer.aliyun.com/mirror/anaconda 参考其它教程,main和free似乎是必须,其它的似乎是可选的。 conda config --add channels https://mirrors.aliyun. 阅读全文
posted @ 2021-10-26 18:22 fang-d 阅读(20490) 评论(1) 推荐(1)
摘要: 一个命令搞定: cat /sys/class/thermal/thermal_zone0/temp 输出的结果除以1000即为当前环境温度(单位为摄氏度)。 另附一个检测CPU温度,过高自动关机的C++程序: #include <iostream> #include <fstream> using 阅读全文
posted @ 2020-10-04 12:29 fang-d 阅读(864) 评论(0) 推荐(0)
摘要: Ubuntu Server for Raspberry Pi(64-bit)部署Jenkins 阅读全文
posted @ 2020-10-03 22:36 fang-d 阅读(313) 评论(0) 推荐(0)
摘要: acme.sh部署RSA、ECC双证书(使用阿里云API) 阅读全文
posted @ 2020-10-02 21:20 fang-d 阅读(3544) 评论(0) 推荐(0)
摘要: Ubuntu Server Arm64 for Raspberry Pi安装Arm32软件运行环境(armhf)。 阅读全文
posted @ 2020-10-02 18:17 fang-d 阅读(4569) 评论(0) 推荐(0)