#include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img4,img_result, img_gray1, img_gray2, ...
分类:
其他好文 时间:
2018-10-02 20:35:31
阅读次数:
621
#re模块 import re # findall 返回列表 找所有的匹配项 # search 匹配就 返回一个变量,通过group取匹配到的第一个值,不匹配就返回None,group会报错 # match 相当于search的正则表达式中加了一个'^' # spilt 返回列表,按照正则规则切割,... ...
分类:
其他好文 时间:
2018-10-02 14:20:14
阅读次数:
144
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette ...
分类:
其他好文 时间:
2018-10-02 14:05:32
阅读次数:
219
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette ...
分类:
其他好文 时间:
2018-10-02 13:50:22
阅读次数:
187
增加sftp 查看openssh的版本# ssh -V使用ssh -V 命令来查看openssh的版本,版本必须大于4.8p1,低于的这个版本需要升级。创建sftp组# groupadd sftp创建一个sftp用户,用户名为mysftp,密码为mysftp修改用户密码和修改Linux用户密码是一样 ...
分类:
其他好文 时间:
2018-10-01 00:10:53
阅读次数:
262
UnityCanvasUI自适应部分 用Canvas下的自适应UI Scale Mode: Constant Pixel Size:固定像素大小,无论如何UI怎么样就怎么样,只能通过 Scale Factor调节。 Scale With Screen Size:需要设置 Reference Reso ...
分类:
编程语言 时间:
2018-10-01 00:09:51
阅读次数:
266
var test = " "; //为空或全部为空格 if (test.match(/^[ ]*$/)) { console.log("all space or empty"); } var test = " \n "; //var test = " "; if(test.match(/^\s+$/... ...
分类:
Web程序 时间:
2018-09-30 18:24:33
阅读次数:
273
一 react 中table报错 validateDOMNesting(...): <tr> cannot appear as a child of <table>. See Zujian > table > tr. Add a <tbody> to your code to match the D ...
分类:
其他好文 时间:
2018-09-29 17:40:19
阅读次数:
125
Returns any documents that match with at least one or more of the provided terms. The terms are not analyzed and thus must match exactly. The number o ...
分类:
其他好文 时间:
2018-09-28 19:10:41
阅读次数:
330