摘要:
CASE 搜索条件 CASE分组条件 阅读全文
摘要:
import cv2import numpy as npgreen = np.uint8([[[152, 245, 255]]]) # 输入待转换颜色的BGR值hsv_green = cv2.cvtColor(green, cv2.COLOR_BGR2HSV)print(hsv_green) 阅读全文
摘要:
未能添加对“***/***.dll”的引用。请确保此文件可访问并且是一个有效的程序集或 COM 组件。 原因:dll文件使用其他语言生成,C#无法识别 解决方法: 添加using System.Runtime.InteropServices; dll导入后声明函数之后即可使用 [DllImport( 阅读全文
摘要:
byte[] arry = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }; arry[0] = (byte)(arry[0] | 1); string result = String.Join("", arry); Console.WriteLine(result); 阅读全文
摘要:
1. 工具pyinstaller (pip install pyinstaller) 2.生成exe (pyinstaller -F -w Capturing_PDFs.py) 参数 -F 生成单个文件 -w 去除控制台dos窗口 阅读全文
摘要:
0.json文件 1.Read 2.Write 阅读全文
摘要:
Server: Client: 阅读全文
摘要:
参考: 1.http://www.cnblogs.com/jinjiangongzuoshi/p/3383878.html 2.https://www.jb51.net/article/11313.htm 3.https://blog.csdn.net/clever101/article/detai 阅读全文
摘要:
winform的Textbox设置只读之后设置ForeColor更改颜色无效。这是 TextBox 默认的行为。 解决方法:设置为只读之后,修改控件的BackColor,再设置ForeColor就可以了。 阅读全文
摘要:
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; class Program { static void Main(string[] args) { Stopwatch stopWatch = new Stop... 阅读全文