12 2023 档案
摘要:OpenCv 基础函数 # 读取图片 image = cv2.imread("test01.jpg") # 转灰度 gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # 修改尺寸 resize_image = cv2.resize(image,
阅读全文
摘要:算法与库 1. 决策树: - 库: from sklearn.tree import DecisionTreeClassifier(分类树) from sklearn.tree import DecisionTreeRegressor(回归树) - 计算场景:分类和回归问题 2. 逻辑回归: - 库
阅读全文
摘要:协议 gRPC(Google Remote Procedure Call)是一种高性能、开源的远程过程调用(RPC)框架,由Google开发并开源。它基于HTTP/2协议进行通信,使用Protocol Buffers(protobuf)作为接口定义语言(IDL)。 gRPC提供了跨平台、跨语言的服务
阅读全文
摘要:表设计 # 用户表 class UserInfo(models.Model): username = models.CharField(max_length=32,unique=True,verbose_name="用户名") password = models.CharField(max_leng
阅读全文