摘要: 1.程序代码 #导入CV模块 import cv2 as cv #读图片 img=cv.imread("face1.jpg") #修改尺寸 resize_img=cv.resize(img,dsize=(200,200)) #显示SRC图片 cv.imshow('img',img) #显示修改后图片 阅读全文
posted @ 2022-04-09 16:01 cqmcu_yth 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1.程序代码 #导入CV模块 import cv2 as cv #读图片 img=cv.imread("face1.jpg") #灰度转换 gray_img=cv.cvtColor(img,cv.COLOR_BGR2GRAY) #显示灰度图片 cv.imshow("gray_img",gray_im 阅读全文
posted @ 2022-04-09 15:59 cqmcu_yth 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 1. 准备 1)集成开发环境pycharm.exe 2)照片文件, (有人脸的照片,放文件夹下) face1.jpg 2.程序代码 01-读图片.py #导入CV模块 import cv2 as cv #读图片 img=cv.imread("face1.jpg") #显示图片 cv.imshow(' 阅读全文
posted @ 2022-04-09 15:57 cqmcu_yth 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 安装opencv pip install opencv-python pip install matplotlib pip install opencv-contrib-python --user 阅读全文
posted @ 2022-04-09 15:49 cqmcu_yth 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 搭建环境, python pip3 install you-get 查看可以下载格式 you-get -i https://www.bilibili.com/video/BV1yN411d7KH?p=3 批量下载 dash-flv480: MP4you-get --format=dash-flv48 阅读全文
posted @ 2022-04-01 20:32 cqmcu_yth 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: 手机做热点: 每片都做STATION 阅读全文
posted @ 2022-03-22 22:14 cqmcu_yth 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-03-19 07:44 cqmcu_yth 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 源代码 https://github.com/2237995998/education 博客说明 https://blog.csdn.net/weixin_45138601/article/details/118239979 视频地址 https://www.bilibili.com/video/B 阅读全文
posted @ 2022-03-12 14:02 cqmcu_yth 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1.建立基于sping-boot的javaweb工程(java1.8) 按结构建立包 2.POM.XML添加支持mybatis-plus,sql,lombok <!--mybatis-plus的springboot支持--> <dependency> <groupId>com.baomidou</g 阅读全文
posted @ 2022-02-28 15:37 cqmcu_yth 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1.参考: 简单整合,会报错误 https://segmentfault.com/a/1190000040467885?utm_source=sf-similar-article 利用maven编译, https://blog.csdn.net/zhiweihongyan1/article/deta 阅读全文
posted @ 2022-02-27 11:33 cqmcu_yth 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1.资源地址及使用说明 https://search.maven.org/artifact/com.github.tocrhz/mqtt-spring-boot-starter/1.2.7/jar 2. POM <dependency> <groupId>com.github.tocrhz</gro 阅读全文
posted @ 2022-02-23 11:16 cqmcu_yth 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 那么在pcDuino上如何用printf函数将数据从串口送出来呢?这就需要修改Arduino上的串口的库文件了。修改 步骤如下: 1、在 pcduino上arduino的库文件路径是:/usr /arduino/hardware/arduino/pcduino/core/arduion我们打开 串口 阅读全文
posted @ 2022-02-18 08:04 cqmcu_yth 阅读(1456) 评论(0) 推荐(0) 编辑
摘要: 1.硬件准备 要求:STM32支持Arduino. 2.程序逻辑结构 3.主流程状态机 4.测试数据抓图 5. 关键程序代码 unsigned char g_ArrTemp[1024]; int AT_SendCmd ( char * atCmd, char * res1,char * res2, 阅读全文
posted @ 2022-02-17 16:55 cqmcu_yth 阅读(637) 评论(0) 推荐(0) 编辑
摘要: 1.搭建烧写环境 烧写器:ST-LINK. 2.启动stm32 flash烧写工具 3.连接识别CPU 4.打开generic-boot20_pc13.bin 5.烧写程序 6.查上miniUSB连接线 7. 驱动程序的安装 资料及程序下载: 链接:https://pan.baidu.com/s/1 阅读全文
posted @ 2022-02-16 15:39 cqmcu_yth 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 1.注册TLINK www.tlink.io 记录下登录的用户名,密码。MQTT需要 2.添加设备 3.设备序列号:clientID 4.mqtt.fx调试器 5.订阅主题 在MQTT.fx上,单击Subscribe。输入订阅主题(设备序列号/+),单击Subscribe。 6.上传信息到服务器 阅读全文
posted @ 2022-02-16 08:27 cqmcu_yth 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.问题 我们需要做实验,将我们设计的W5500实验板上internet, 搭建环境比较麻烦。 1)学校上网需要先HTTP认证; 2)家里经常路由器固定位置,没有足够长的网线; 3)有时候需要临时搭建测试环境。 怎么办? 2.硬件准备 1) 手机开热点: 笔记本通过wifi热点上网 2) W5500 阅读全文
posted @ 2022-02-10 21:58 cqmcu_yth 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: 1.登录(利用微信) https://console.cloud.tencent.com/iothub 2.新建产品 3.添加设备 4.设备详细参数 域名IP固定: iotcloud-mqtt.gz.tencentdevices.com 5.连接腾讯云 阅读全文
posted @ 2022-02-08 21:53 cqmcu_yth 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 1.支付宝登录,进入物联网平台 https://iot.console.aliyun.com/product 2.新建产品 3.添加设备 4.设备连接参数 5.连接到阿里云 阅读全文
posted @ 2022-02-08 21:52 cqmcu_yth 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 1.登录百度智能云 2.进入 物联网接入 https://console.bce.baidu.com/iot2/core/core/list https://iotcore-dev-tool.gz.bcebos.com/mqtt-sign/ 3.计算用户名及密码 4.登录测试 阅读全文
posted @ 2022-02-08 21:51 cqmcu_yth 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1.测试平台原理 2.搭建硬件测试平台 3.软件测试平台 1)串口终端 2)串口监视 3)OneNET后台服务 https://open.iot.10086.cn/passport/login/ 户名:R1XB67t5YWoSBF 密码: @yan123456 4)用户模拟终端simulate-de 阅读全文
posted @ 2022-01-28 17:47 cqmcu_yth 阅读(107) 评论(0) 推荐(0) 编辑