• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






任重道远-HSY

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
1 2 3 4 5 ··· 19 下一页

2022年2月7日

切片方式格式总结
摘要: 阅读全文
posted @ 2022-02-07 10:29 任重道远-HSY 阅读(125) 评论(0) 推荐(0)
 

2022年1月24日

计算文件长度
摘要: std::ifstream ifile; std::ifstream ifile; ifile.open(path, std::ios::binary); int mLength = 0; if (ifile.fail())std::ifstream ifile; ifile.open(path, 阅读全文
posted @ 2022-01-24 09:28 任重道远-HSY 阅读(175) 评论(0) 推荐(0)
 

2021年11月30日

install vcpkg
摘要: Installation of VCPKG Go to https://github.com/microsoft/vcpkg For windows user, follow the Quick Start: Windows instruction. Press Window+R, type “cm 阅读全文
posted @ 2021-11-30 13:30 任重道远-HSY 阅读(85) 评论(0) 推荐(0)
 

2021年10月13日

稳定的访问GitHub网站
摘要: 原理:修改C:\Windows\System32\drivers\etc下的hosts文件,不需要粘贴如下图太多的网址,一条就够,因为github的网址隔一段时间修改一回。 点击链接,查看github的IP信息:如图 复制最新的IP,添加到hosts文件中:如图,注意空格 如140.82.114.4 阅读全文
posted @ 2021-10-13 10:02 任重道远-HSY 阅读(1250) 评论(0) 推荐(0)
 

2021年9月14日

并发与并行
摘要: 你吃饭吃到一半,电话来了,你一直到吃完了以后才去接,这就说明你不支持并发也不支持并行。你吃饭吃到一半,电话来了,你停了下来接了电话,接完后继续吃饭,这说明你支持并发。你吃饭吃到一半,电话来了,你一边打电话一边吃饭,这说明你支持并行。 并发的关键是你有处理多个任务的能力,不一定要同时。并行的关键是你有 阅读全文
posted @ 2021-09-14 09:31 任重道远-HSY 阅读(18) 评论(0) 推荐(0)
 

2021年8月30日

OpenCV 图像集合操作
摘要: dst=5*img1;//增加曝光 dst=img1/5;//降低曝光 bitwise_and(img1,img2,dst);//逻辑与,求交集 bitwise_or(img1,img2,dst);//逻辑或,求并集 bitwise_not(img1,dst);//逻辑非,求补集 bitwise_x 阅读全文
posted @ 2021-08-30 17:12 任重道远-HSY 阅读(116) 评论(0) 推荐(0)
 

2021年8月10日

C++ 输出时间
摘要: time_t timer; time(&timer); tm* t_tm = localtime(&timer); std::string str = std::to_string(t_tm->tm_year + 1900) + std::to_string(t_tm->tm_mon + 1) + 阅读全文
posted @ 2021-08-10 10:31 任重道远-HSY 阅读(253) 评论(0) 推荐(0)
 

2021年8月5日

绘制模型图
摘要: #模型绘制为图形不带节点 keras.utils#模型绘制为图形不带节点 keras.utils.plot_model(autoencoder, "my_first_model.png") #在绘制的图形中显示每一层的输入和输出形状: keras.utils.plot_model(autoencod 阅读全文
posted @ 2021-08-05 09:55 任重道远-HSY 阅读(139) 评论(0) 推荐(0)
 

2021年8月3日

检测图像文件是否损坏
摘要: import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers import os num_skipped = 0 for folder_name in ("Cat", "Dog"): 阅读全文
posted @ 2021-08-03 08:41 任重道远-HSY 阅读(221) 评论(0) 推荐(0)
 

2021年7月21日

QImage,Mat ,QByteArray转换
摘要: QImage 转为Mat void QImageToMat(QImage image, cv::Mat& mat) { switch (image.format()) { case QImage::Format_ARGB32: case QImage::Format_RGB32: case QIma 阅读全文
posted @ 2021-07-21 16:36 任重道远-HSY 阅读(2113) 评论(0) 推荐(0)
 
1 2 3 4 5 ··· 19 下一页