08 2020 档案
摘要:VS2013的简单WInForm控件,通过WebRequest,WebResponse来访问,接收: private void btn_interface_Click(object sender, EventArgs e) { string url = "http://127.0.0.1:5000"
阅读全文
摘要:基于图片和摄像头的识别: import cv2 #opencv库 #读取图片 image=cv2.imread('C:/Users/Pictures/mxhy.jpg') #显示图片窗口 #cv2.imshow('faces',image) #窗口暂停 #cv2.waitKey(0) #销毁窗口资源
阅读全文
摘要:近日有个门店的查询需求,但是有集团下的各个门店,像AD系统的森林-》树-》树杈-》叶子节点。 相关算法扩展思路,以视参考: using System; namespace Arithmetic_c_ { class Program { static void Main(string[] args)
阅读全文
摘要:首先下载百度的LAC(Lexical Analysis of Chinese)包:pip install lac from LAC import LAC # 装载分词模型 lac = LAC(mode='seg') # 单个样本输入,输入为Unicode编码的字符串 text = u"LAC是个优秀
阅读全文
摘要:1, 先安装 pip install selenium from selenium import webdriver driver = webdriver.Chrome() driver.get("http://www.baidu.com") driver.title 2,启动Chrom浏览器 下载
阅读全文