摘要: import cv2 import numpy as np def euler_view_transformation(image, angle, scale, dx, dy): # 获取图像尺寸 (h, w) = image.shape[:2] # 设置旋转矩阵 center = (w // 2, 阅读全文
posted @ 2024-06-30 21:37 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import sqlite3 # 连接到数据库 conn = sqlite3.connect('example.db') # 创建一个Cursor对象 cursor = conn.cursor() # 执行查询语句 cursor.execute('SELECT * FROM some_table') 阅读全文
posted @ 2024-06-27 23:50 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: function timestampToDate(timestamp) { const date = new Date(timestamp); const year = date.getFullYear(); const month = String(date.getMonth() + 1).pad 阅读全文
posted @ 2024-06-26 13:44 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import cv2 # 读取图像 image = cv2.imread('input.jpg') # 获取原始图像的宽度和高度 height, width = image.shape[:2] # 定义新的大小 new_width = 640 # 新宽度 new_height = int(new_w 阅读全文
posted @ 2024-06-24 23:45 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: self._conn = sqlite3.connect(dbName) ############################# 阅读全文
posted @ 2024-06-20 23:35 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: python opencv创建空图片 import cv2 import numpy as np # 定义图片的宽度和高度 width = 640 height = 480 # 创建一个全黑的图片,numpy的zeros函数返回给定形状和类型的新数组,用零填充 # OpenCV使用BGR颜色空间,所 阅读全文
posted @ 2024-06-19 22:30 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: clc; clear; % 定义边列表(源节点,目标节点,权重) w1=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]; s1= [1,1,1, 阅读全文
posted @ 2024-06-18 23:06 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: (wind_2021) J:\PytorchProject\yolov5_train_pest_2024061501> (wind_2021) J:\PytorchProject\yolov5_train_pest_2024061501> (wind_2021) J:\PytorchProject\ 阅读全文
posted @ 2024-06-17 09:25 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 错误 C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See 阅读全文
posted @ 2024-06-15 10:41 西北逍遥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Body SurfaceOrSolidModel Geometry 实体曲面或实体模型几何图形是通过曲面或实体建模a56爆大奖在线娱乐产品的三维形状,并允许混合a56爆大奖在线娱乐。应使用保持该几何a56爆大奖在线娱乐的IfcShapeResentation的以下属性值: IfcShapeRepresentation.Representation 阅读全文
posted @ 2024-06-14 20:30 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: CD实验 Qt环境 下载 Qt5.12 https://download.qt.io/archive/qt/ ######################## 阅读全文
posted @ 2024-06-13 22:56 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: conda create -n wind_2021 python==3.7 (base) C:\Users\bim>conda create -n wind_2021 python==3.7 Channels: - defaults Platform: win-64 Collecting packa 阅读全文
posted @ 2024-06-12 22:10 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include <QApplication> #include <QScreen> #include <QDebug> int main(int argc, char *argv[]) { QApplication app(argc, argv); // 获取主屏幕 QScreen *screen 阅读全文
posted @ 2024-06-11 23:32 西北逍遥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Body SweptSolid Composite Geometry 下图显示了应用此概念时使用的泛型类和关系。此外,概念可能对通用或标准化的行业实践和场景具有特别重要的意义。对于这些特定的使用场景,下表显示了用户可能采用的一般使用模式的推荐列表。 ######################### 阅读全文
posted @ 2024-06-10 20:47 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Body CSG Geometry 实体CSG几何是通过构造实体几何模型来a56爆大奖在线娱乐产品的3D形状。应使用保持该几何a56爆大奖在线娱乐的IfcShapeResentation的以下属性值: IfcShapeRepresentation.RepresentationIdentifier = 'Body' IfcShape 阅读全文
posted @ 2024-06-09 22:40 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: import aiohttp import asyncio async def fetch(session, url, data): async with session.post(url, json=data) as response: return await response.text() a 阅读全文
posted @ 2024-06-08 10:24 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Body SweptSolid CompositeCurve Geometry 下图显示了应用此概念时使用的泛型类和关系。此外,概念可能对通用或标准化的行业实践和场景具有特别重要的意义。对于这些特定的使用场景,下表显示了用户可能采用的一般使用模式的推荐列表。 #################### 阅读全文
posted @ 2024-06-07 18:25 西北逍遥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: (wind_2021) J:\PytorchProject\yolov5_train_car_2024060501> (wind_2021) J:\PytorchProject\yolov5_train_car_2024060501>python train_20230320.py --img-si 阅读全文
posted @ 2024-06-06 11:49 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Body AdvancedBrep Geometry Body Brep Geometry是通过边界a56爆大奖在线娱乐模型(包括NURBS)a56爆大奖在线娱乐产品的三维形状。应使用保持该几何a56爆大奖在线娱乐的IfcShapeResentation的以下属性值: IfcShapeRepresentation.RepresentationId 阅读全文
posted @ 2024-06-05 21:12 西北逍遥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Body Brep Geometry Body Brep Geometry是通过分面边界a56爆大奖在线娱乐模型来a56爆大奖在线娱乐产品的3D形状。应使用保持该几何a56爆大奖在线娱乐的IfcShapeResentation的以下属性值: IfcShapeRepresentation.RepresentationIdentifier = 'Bo 阅读全文
posted @ 2024-06-04 10:20 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: PEnum_DistributionSystemElectricalCategory Type values TypeDescription EXTRALOWVOLTAGE No description available. HIGHVOLTAGE No description available. 阅读全文
posted @ 2024-06-03 21:54 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: IfcUnit 类型定义注:ISO/CD 10303-41:1992中的定义单位是一个物理量,其值为1,用作a56爆大奖在线娱乐其他量的标准。注意:IFCMonetaryUnit是ISO 10303-41中增加的。注:ISO 10303的对应名称:单位,请参考ISO/IS 10303-41以获取正式标准的最终定义。 阅读全文
posted @ 2024-05-25 23:25 西北逍遥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: IfcContextDependentUnit 实体定义注:定义依据ISO/CD 10303-41:1992上下文相关单位是指与国际单位制无关的单位。注:组件中的零件数量是以单位测量的物理量,可以称为“零件”,但不能与国际单位制相关。注:对应的ISO 10303名称:context_dependen 阅读全文
posted @ 2024-05-24 23:45 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 在C++中,你可以将类的成员函数(也称为方法)作为参数传递,但这通常涉及到使用函数指针或者更现代的C++11及以后版本的std::function和lambda表达式。不过,更常见的是传递成员函数指针,但请注意,成员函数指针与常规函数指针在语法和使用上有所不同,因为成员函数需要访问类的特定实例(即对 阅读全文
posted @ 2024-05-23 21:06 西北逍遥 阅读(184) 评论(0) 推荐(0) 编辑
摘要: class MyClass { public: void func1() { // 实现 } void func2() { // 实现 } // 成员函数指针类型 typedef void (MyClass::*MemberFuncPtr)(); // 一个成员函数指针成员变量 MemberFunc 阅读全文
posted @ 2024-05-22 23:06 西北逍遥 阅读(9) 评论(0) 推荐(0) 编辑
摘要: IfcValue 类型定义IfcValue是a56爆大奖在线娱乐选择类型,用于在更专业的选择类型IFcSimpleValue、IFcMeasureValue和IFcDerivedMeasureValue之间进行选择。 IfcSimpleValue 简单数据类型的基本定义类型的选择类型。IfcMeasureValue 阅读全文
posted @ 2024-05-14 10:19 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: IfcDimensionalExponents 实体定义注:定义依据ISO/CD 10303-41:1992任何量的维数都可以a56爆大奖在线娱乐为基本量的维数的幂的乘积。维度指数实体定义基本量的维度的幂。所有物理量都基于七个基本量(ISO 31(第2条))。注:长度、质量、时间、电流、热力学温度、物质量和发光强度 阅读全文
posted @ 2024-05-13 22:25 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: (wind_2021) J:\PytorchProject\yolov5_train_car_2024051001> (wind_2021) J:\PytorchProject\yolov5_train_car_2024051001> (wind_2021) J:\PytorchProject\yo 阅读全文
posted @ 2024-05-11 16:55 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: IfcStateEnum 类型定义IfcStateEnum枚举标识对象的状态或可访问性(例如,读/写、锁定)。有效的枚举为:IFC2.0中的新枚举。IFC2x3 这个概念最初在IFC2.0中被引入为类型为BINARY(3)FIXED的IfcModifiedFlag,并在R2x3中被修改为枚举。它最初 阅读全文
posted @ 2024-05-10 23:41 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Livox mid70雷达 c++ SDK 官方demo能正常调用,但封装后回调函数错误 ########################### 阅读全文
posted @ 2024-05-08 22:26 西北逍遥 阅读(6) 评论(0) 推荐(0) 编辑