上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 96 下一页
摘要: python清空cmd命令行 import os os.system('cls') ################### 阅读全文
posted @ 2023-03-23 21:58 西北逍遥 阅读(69) 评论(0) 推荐(0)
摘要: def convert(size, box): dw = 1. / (size[0]) dh = 1. / (size[1]) x = (box[0] + box[1]) / 2.0 - 1 y = (box[2] + box[3]) / 2.0 - 1 w = box[1] - box[0] h 阅读全文
posted @ 2023-03-22 14:33 西北逍遥 阅读(99) 评论(0) 推荐(0)
摘要: matlab查找数组中大于某个数的位置 >> k2=[1,4,2,7,6.6,7.8,3.2,5.6,9,11,14,17,2,7] k2 = 1.0000 4.0000 2.0000 7.0000 6.6000 7.8000 3.2000 5.6000 9.0000 11.0000 14.0000 阅读全文
posted @ 2023-03-21 19:12 西北逍遥 阅读(1629) 评论(0) 推荐(0)
摘要: # for inference class LoadImages: def __init__(self, path, img_size=640): p = str(Path(path)) # os-agnostic p = os.path.abspath(p) # absolute path if 阅读全文
posted @ 2023-03-20 22:06 西北逍遥 阅读(62) 评论(0) 推荐(0)
摘要: opencv修改图像像素值 point_cloud_img.at<cv::Vec3b>(row1, col1)[0] = 255; point_cloud_img.at<cv::Vec3b>(row1, col1)[1] = 255; point_cloud_img.at<cv::Vec3b>(ro 阅读全文
posted @ 2023-03-19 21:25 西北逍遥 阅读(66) 评论(0) 推荐(0)
摘要: 计算斜率k double calculate_k(float x1,float y1,float x2,float y2) { double k1 = 0.00001; if (x1 == x2 && y1 == y2)//1.共位 { k1 = 0.00001; } else if (x1 == 阅读全文
posted @ 2023-03-18 21:21 西北逍遥 阅读(107) 评论(0) 推荐(0)
摘要: 绘制点数据 import os import matplotlib.pyplot as plt import cv2 import math def loadTxtData(uwb_data_file): list_x = [] list_y = [] #txtFile = open("2.txt" 阅读全文
posted @ 2023-03-17 20:21 西北逍遥 阅读(45) 评论(0) 推荐(0)
摘要: osg创建立方体 osg::Geode* createBox(double minX, double maxX, double minY, double maxY, double minZ, double maxZ) { double X1 = minX; double X2 = maxX; dou 阅读全文
posted @ 2023-03-16 21:33 西北逍遥 阅读(118) 评论(0) 推荐(0)
摘要: 训练yolov5 模型 (wind_2021) H:\PytorchProject\yolov5_train_xiaotian_2023031401> (wind_2021) H:\PytorchProject\yolov5_train_xiaotian_2023031401>python trai 阅读全文
posted @ 2023-03-15 07:35 西北逍遥 阅读(72) 评论(0) 推荐(0)
摘要: dict1 = {} dict2={"id":12,"x":23} dict1[str(1)] = dict2 print(dict1) print(dict1[str(1)]) ############## 阅读全文
posted @ 2023-03-14 21:11 西北逍遥 阅读(19) 评论(0) 推荐(0)
摘要: python 全排列 import itertools # 利用itertools库中的permutations函数,给定一个排列,输出他的全排列 def all_permutation_fun(permutation): # itertools.permutations返回的只是一个对象,需要将其 阅读全文
posted @ 2023-03-13 17:04 西北逍遥 阅读(109) 评论(0) 推荐(0)
摘要: 绘制矩形框 def plot_one_box_PIL4(box,img, fontSize1,color=None, label=None, line_thickness=None): img = Image.fromarray(img) draw = ImageDraw.Draw(img) #li 阅读全文
posted @ 2023-03-12 20:20 西北逍遥 阅读(190) 评论(0) 推荐(0)
摘要: ifc4x3 IfcActuatorType 1语义定义 分配控制元件类型IfcActuatorType定义了致动器出现的共同共享信息。共享信息集可以包括: 具有共享属性集的公共财产 共同表示法 普通材料 元素的共同组成 公用端口 它用于定义致动器类型规范,指示该产品类型的所有事件所共有的特定产品信 阅读全文
posted @ 2023-03-11 19:52 西北逍遥 阅读(57) 评论(0) 推荐(0)
摘要: IfcAddress 1语义定义 这个抽象实体表示各种邮政和电信地址。 注:根据ISO 10303-41中定义的地址改编的实体。 IFC1.5.1中的新实体。 2实体继承 3实体属性 #AttributeTypeDescription IfcAddress (5) 1 Purpose OPTIONA 阅读全文
posted @ 2023-03-10 19:48 西北逍遥 阅读(50) 评论(0) 推荐(0)
摘要: 1语义定义 高级B-rep是一种边界表示模型,其中所有面、边和顶点都被显式表示。它是一个具有显式拓扑和基本或自由几何体的实体。B-rep的面类型为IfcAdvancedFace。高级B-rep必须满足与流形实体B-rep相同的拓扑约束。 注:已引入高级B-rep,以支持越来越多的应用程序,这些应用程 阅读全文
posted @ 2023-03-09 20:19 西北逍遥 阅读(91) 评论(0) 推荐(0)
摘要: IfcAdvancedBrepWithVoids 1语义定义 IfcAdvancedBrepWithVoids是高级B-rep的一种专门化,其内部包含一个或多个空隙。空隙表示为闭合壳,其定义使得壳法线指向空隙。 注:根据ISO 10303-42中定义的advanced_brep_shape_pres 阅读全文
posted @ 2023-03-08 21:47 西北逍遥 阅读(114) 评论(0) 推荐(0)
摘要: ubuntu后台运行jar包,关闭远程命令终端不退出 cd /home/myfile/pic_system nohup java -jar zqy_system_2023022301.jar >log.txt 2>&1 & ps -ef |grep zqy_system_2023022301.jar 阅读全文
posted @ 2023-03-07 19:30 西北逍遥 阅读(351) 评论(0) 推荐(0)
摘要: alphapose win10运行日志 (base) H:\PytorchProject\AlphaPose-master> (base) H:\PytorchProject\AlphaPose-master> (base) H:\PytorchProject\AlphaPose-master>co 阅读全文
posted @ 2023-03-06 21:22 西北逍遥 阅读(522) 评论(0) 推荐(0)
摘要: ifc4x3 IfcActuator 1语义定义 致动器是用于移动或控制机构或系统的机械装置。致动器吸收通常由空气、电或液体产生的能量,并将其转换成某种运动。 IFC4中的新实体 2实体继承 3属性 #AttributeTypeDescription IfcRoot (4) 1 GlobalId I 阅读全文
posted @ 2023-03-05 20:47 西北逍遥 阅读(50) 评论(0) 推荐(0)
摘要: YOLOv7_OBB 运行异常记录 (wind_2021) H:\PytorchProject\YOLOv7_OBB-main> (wind_2021) H:\PytorchProject\YOLOv7_OBB-main>python detect.py --weights 'models/yolo 阅读全文
posted @ 2023-03-04 19:08 西北逍遥 阅读(921) 评论(2) 推荐(0)
摘要: QMap #include <QMap> Public Functions QMap() QMap(std::initializer_list<std::pair<Key, T> > list) QMap(const QMap<Key, T> &other) QMap(QMap<Key, T> && 阅读全文
posted @ 2023-03-03 16:17 西北逍遥 阅读(404) 评论(0) 推荐(0)
摘要: (wind_2021) H:\PytorchProject\AlphaPose-master> (wind_2021) H:\PytorchProject\AlphaPose-master> (wind_2021) H:\PytorchProject\AlphaPose-master>python 阅读全文
posted @ 2023-03-02 13:55 西北逍遥 阅读(137) 评论(0) 推荐(0)
摘要: QQuickStyle QQuickStyle类用来配置应用程序样式 Header: #include <QQuickStyle> Since: Qt 5.7 List of all members, including inherited members Static Public Members 阅读全文
posted @ 2023-03-01 14:49 西北逍遥 阅读(188) 评论(0) 推荐(0)
摘要: ifc 实验数据 ISO-10303-21; HEADER; /****************************************************************************************** * STEP Physical File produc 阅读全文
posted @ 2023-02-28 21:25 西北逍遥 阅读(66) 评论(0) 推荐(0)
摘要: import redis r = redis.StrictRedis(host='localhost', port=6379, db=0) r.set('test1', 'test1') value1 = r.get('car') print(value1) all_keys = r.keys() 阅读全文
posted @ 2023-02-27 22:01 西北逍遥 阅读(29) 评论(0) 推荐(0)
摘要: # -*- coding:utf-8 -*- import cv2 import numpy as np import sys #origin_img_path = "J:\\Select_pic\\20230203\\1001123756063.jpg" origin_img_path = "J: 阅读全文
posted @ 2023-02-26 15:10 西北逍遥 阅读(80) 评论(0) 推荐(0)
摘要: ifc4x3 IfcActorRole 定义: 该实体表示由行为者(个人、组织或与组织相关的人员)执行的角色。 注:Role属性枚举值的角色列表永远不可能完整。因此,使用枚举值USERDEFINED,用户可以提供任何角色作为属性UserDefinedRole的值。 注:根据ISO 10303-41中 阅读全文
posted @ 2023-02-25 11:47 西北逍遥 阅读(45) 评论(0) 推荐(0)
摘要: Qt遍历目录下的文件 QList<QString> getAllPCDFileName(QString dirPath) { QList<QString> list1; QDir dir1(dirPath); dir1.setFilter(QDir::Files | QDir::Hidden | Q 阅读全文
posted @ 2023-02-24 19:05 西北逍遥 阅读(221) 评论(0) 推荐(0)
摘要: ifc4x3 IfcActor 语义定义 IfcActor定义了项目整个生命周期中涉及的所有参与者或人类代理。它便于在IFC对象模型的资源部分中使用人员和组织定义。这包括姓名、地址、电信地址和角色。 IFC2.0中的新实体 实体继承 Attributes #AttributeTypeDescript 阅读全文
posted @ 2023-02-23 13:06 西北逍遥 阅读(46) 评论(0) 推荐(0)
摘要: IfcActionRequest 6.5.3.1.1语义定义 请求是要求某些东西的行为或实例,例如要求提供信息、提交标书或执行工作。 根据需要,请求可以采取多种形式,包括维修故障报告、小型工程请求和购买请求(通过服务台或购买功能提出)。 历史IFC2x2中的新实体。 IFC4-CHANGE属性Req 阅读全文
posted @ 2023-02-22 13:47 西北逍遥 阅读(50) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 96 下一页