Fork me on GitHub
摘要: Ubuntu中文乱码问题 安装中文字体相关依赖: sudo apt-get install language-pack-zh-hans sudo apt-get install fonts-droid-fallback ttf-wqy-zenhei ttf-wqy-microhei fonts-ar 阅读全文
posted @ 2022-10-20 08:28 是阿凯啊 阅读(76) 评论(0) 推荐(0) 编辑
摘要: ### 10.nvidia-docker 安装 #### 1.Centos7.6 - 下载yum源 ``` wget https://nvidia.github.io/nvidia-docker/centos7/x86_64/nvidia-docker.repo ``` - 添加yum仓库 ``` 阅读全文
posted @ 2022-03-28 15:27 是阿凯啊 阅读(1019) 评论(1) 推荐(0) 编辑
摘要: Ubuntu搭建NFS 1.安装依赖 服务端 sudo apt-get install nfs-kernel-server 客户端 sudo apt-get install nfs-common 2.服务端添加NFS共享目录 $ sudo vim /etc/exports /data/NFS 192 阅读全文
posted @ 2022-03-16 11:21 是阿凯啊 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Ubuntu+Yolov5+TensortRT加速部署 0.前序 测试机器Ubuntu18.04 GPU: 3060, CUDA11.4, CUDA10.2均可 1.软件下载 Nvidia驱动安装 , 历史版本下载 CUDA下载安装 CUDNN下载安装 OpenCV3.4.4下载 Anaconda下 阅读全文
posted @ 2022-03-09 21:22 是阿凯啊 阅读(1245) 评论(0) 推荐(1) 编辑
摘要: Ubuntu编译安装FFMPEG 更新 apt-get update -qq && apt-get -y install autoconf automake build-essential cmake git-core libass-dev libfreetype6-dev libgnutls28- 阅读全文
posted @ 2022-02-22 11:09 是阿凯啊 阅读(1095) 评论(0) 推荐(0) 编辑
摘要: ffmpeg视频流转发初探 主机:CentOS 7.6 前置工作 # 下载nginx https://nginx.org/download/nginx-1.14.2.tar.gz # 下载nginx-http-flv-module git clone https://github.com/winsh 阅读全文
posted @ 2022-02-15 15:30 是阿凯啊 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 记录Ubuntu报错:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.6/dist-packages/cv2/qt/plugins" even though it was fo 阅读全文
posted @ 2021-12-02 15:47 是阿凯啊 阅读(1067) 评论(0) 推荐(1) 编辑
摘要: import time import cv2 class CaptView(object): def __init__(self, url, name, delay): self.url = url self.name = name self.capture = cv2.VideoCapture(u 阅读全文
posted @ 2021-11-25 15:43 是阿凯啊 阅读(103) 评论(0) 推荐(0) 编辑
摘要: python打包exe执行文件 1.pyinstaller 打包 这里以打包一个简单fastapi服务为例子 环境 python 3.6.7 pyInstaller 4.7 FastApi 0.70.0 unicorn 0.15.0 extra-hook/hoks-unicorn.py from P 阅读全文
posted @ 2021-11-25 13:45 是阿凯啊 阅读(1409) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- # @Time : 2021/11/22 15:55 # @Author : xujunkai # @File : config_set.py # @Software: PyCharm import psutil import platform imp 阅读全文
posted @ 2021-11-22 17:14 是阿凯啊 阅读(2266) 评论(0) 推荐(0) 编辑