2020年7月21日

mfc +opencv 读取图片显示到对话框

摘要: int ShowMat(cv::Mat img, HWND hWndDisplay) { if (img.channels() < 3) { return -1; } //构造将要显示的Mat版本图片 RECT rect; ::GetClientRect(hWndDisplay, &rect); c 阅读全文

posted @ 2020-07-21 17:40 Maddock 阅读(1146) 评论(0) 推荐(0) 编辑

python 获取系统时间,新建时间目录

摘要: import datetime import os theTime = datetime.datetime.now() print(theTime) theTime = str(theTime) date_split = theTime.strip().split(' ') date_today = 阅读全文

posted @ 2020-07-21 09:22 Maddock 阅读(408) 评论(0) 推荐(0) 编辑

导航