最新发布第10页
Java实例  给出一个出生日期计算距离现在有多少天-天煜博客

Java实例 给出一个出生日期计算距离现在有多少天

package cn.itianyu.datetest; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; /** * @Author: haoxuan * @Blog:www...
OpenCV-Python快速入门系列21图像旋转-天煜博客

OpenCV-Python快速入门系列21图像旋转

简介 在图像处理领域,旋转操作是常见且重要的基本操作之一。无论是图像校正、数据增强,还是特征提取,旋转都扮演着关键角色。OpenCV 提供了多种方法来实现图像旋转,本文将详细介绍这些方法,...
记录一下在Ubuntu19.10下安装mysql8.0时候踩的坑-天煜博客

记录一下在Ubuntu19.10下安装mysql8.0时候踩的坑

安装mysql8.0之后与网上大多教程不同的是我没有遇到设置root密码的界面。 输入 sudo apt install mysql-server之后直接就安装成功了。 尝试了很多办法,都不能成功的修改root密码,直到参考这篇...
haoxuan的头像-天煜博客haoxuan5年前
09811
OpenCV-Python快速入门系列30案例:实时人脸检测-天煜博客

OpenCV-Python快速入门系列30案例:实时人脸检测

代码 视频和模型库在第一篇文章中有git地址。 import cv2 as cv # 模型路径 MODEL_BIN = 'models/face_detector/opencv_face_detector_uint8.pb' CONFIG_TEXT = 'models/face_detector/opencv_f...
OpenCV-Python快速入门系列04图像像素的读写操作-天煜博客

OpenCV-Python快速入门系列04图像像素的读写操作

修改像素值 通过索引直接修改像素值: 修改单个像素 image[100, 100] = [255, 0, 0] # 将 (100, 100) 位置的像素值改为蓝色 修改一块区域(ROI) image[50:150, 50:150] = [0, 255, 0] # 将 (50...
Ubuntu20.04修改终端字体的方法-天煜博客

Ubuntu20.04修改终端字体的方法

为什么要修改终端字体呢?因为我在使用vimplus的插件时候遇到了一个问题:插件中文显示乱码 在github找到的解决方案: 安装vimplus后Airline等插件有乱码,怎么解决? linux和mac系统需设置终端...
PeopleSoft 9.2 – PeopleTools 8.58 VirtualBox Installation(一)-天煜博客

PeopleSoft 9.2 – PeopleTools 8.58 VirtualBox Installation(一)Getting Started

Here‘s the link to the main post. This post assumes that you have a Windows based host. I had completed the installation on Windows 10 running on a Lenovo laptop with a dual-core ...
PeopleSoft 9.2 – PeopleTools 8.58 VirtualBox Installation(二)-天煜博客

PeopleSoft 9.2 – PeopleTools 8.58 VirtualBox Installation(二)Creating the VM Shell File

Link to the main post Once you’ve pressed the enter key from the Part-1, you’ll start seeing the following on the command prompt: Starting the PeopleSoft Environment Setup Proces...
海思平台vi vpss venc vdec vpss模块中的分辨率总结-天煜博客

海思平台vi vpss venc vdec vpss模块中的分辨率总结

VI、VPSS、VENC、VDEC、VO对这五个模块配置过程中都涉及到分辨率,现在总结如下: 1.VI模块: 涉及到的函数:HI_S32 HI_MPI_VI_SetChnAttr(VI_CHN ViChn, const VI_CHN_ATTR_S *pstAttr); 其中...
解决man手册在deepin环境下资料不全的问题-天煜博客

解决man手册在deepin环境下资料不全的问题

在deepin环境下查阅man手册时候,遇到问题:没有 fopen 的手册页条目 解决方法: sudo apt install manpages-de manpages-de-dev manpages-dev glibc-doc manpages-posix-dev manpages-posix