会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Zero
站在巨人的肩膀上。。。
博客园
首页
新随笔
联系
订阅
管理
2020年1月11日
c++的第一个程序-Helloworld
摘要: 第一个程序 #include<iostream> using namespace std; int main() { cout<<"Helloworld"<<endl; return 0; }
阅读全文
posted @ 2020-01-11 17:34 Aiden_Shao
阅读(375)
评论(0)
推荐(0)
2019年12月20日
opencv
摘要: #include <opencv2/opencv.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> using namespace cv; us
阅读全文
posted @ 2019-12-20 13:39 Aiden_Shao
阅读(651)
评论(0)
推荐(0)
简单的遍历xml
摘要: #include <opencv2\opencv.hpp> #include <opencv2\highgui\highgui.hpp> #include <opencv2\features2d\features2d.hpp> #include <opencv2\core\core.hpp> usi
阅读全文
posted @ 2019-12-20 13:37 Aiden_Shao
阅读(453)
评论(0)
推荐(0)
基于opencv简单的图片截取
摘要: import xml.etree.ElementTree as ET import os, cv2 from tqdm import tqdm annota_dir = 'C:\\Users\\Administrator\\Desktop\\1_stage_template\\Annotations
阅读全文
posted @ 2019-12-20 12:04 Aiden_Shao
阅读(2578)
评论(0)
推荐(0)
opencv练习
摘要: //图像的二值化 #include <opencv2/opencv.hpp> using namespace std; IplImage *g_pGrayImage = NULL; IplImage *g_pBinaryImage = NULL; const char *pstrWindowsBin
阅读全文
posted @ 2019-12-20 11:59 Aiden_Shao
阅读(578)
评论(0)
推荐(0)
2019年12月1日
opencv中对图片的二值化操作并提取特定颜色区域
摘要: 一、最近因为所在的实习公司要求用opencv视觉库来写一个对图片识别并提取指定区域的程序。看了很多资料,只学会了皮毛,下面附上简单的代码。运行程序之前需要安装opencv库,官网地址为:https://opencv.org/。直接下载安装包到本地,解压即可。本人的opencv版本为24.10 。集成
阅读全文
posted @ 2019-12-01 13:54 Aiden_Shao
阅读(4238)
评论(1)
推荐(0)
2019年10月11日
并发编程之IO模型
摘要: 了解新知识之前需要知道的一些知识 同步(synchronous):一个进程在执行某个任务时,另外一个进程必须等待其执行完毕,才能继续执行 异步(asynchronous): 阻塞(blocking): 非阻塞(non-blocking): #非阻塞和阻塞的概念相对应,指在不能立刻得到结果之前也会立刻
阅读全文
posted @ 2019-10-11 08:06 Aiden_Shao
阅读(222)
评论(0)
推荐(0)
python并发编程之进程池、线程池、协程
摘要: 一、Python标准模块--concurrent.futures(并发未来) 那么什么是线程池呢?我们来了解一下 二、线程池 应用线程池(下载网页并解析) map函数的应用 三、协程介绍 协程:单线程下实现并发(提高效率) 说到协成,我们先说一下协程联想到的知识点 1 2 3 4 5 6 7 8 9
阅读全文
posted @ 2019-10-11 08:00 Aiden_Shao
阅读(391)
评论(0)
推荐(0)
2019年10月5日
死锁与递归锁、信号量等
摘要: 一、死锁现象与递归锁 进程也是有死锁的 所谓死锁: 是指两个或两个以上的进程或线程在执行过程中,因争夺资源而造成的一种互相等待的现象,若无外力作用, 它们都将无法推进下去。此时称系统处于死锁状态或系统产生了死锁,这些永远在互相等待的进程称为死锁进程, 如下就是死锁 那么怎么解决死锁现象呢? 解决方法
阅读全文
posted @ 2019-10-05 15:25 Aiden_Shao
阅读(274)
评论(0)
推荐(0)
利用threading模块开线程
摘要: 一多线程的概念介绍 threading模块介绍 threading模块和multiprocessing模块在使用层面,有很大的相似性。 二、开启多线程的两种方式 在一个进程下开启多个线程与在一个进程下开启多个子进程的区别 进程之间是互相隔离的,不共享。需要借助第三方来完成共享(借助队列,管道,共享数
阅读全文
posted @ 2019-10-05 15:20 Aiden_Shao
阅读(337)
评论(0)
推荐(0)
下一页
公告