上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 94 下一页
摘要: python绘制wav音频文件波形图 #-*- coding: utf-8 -*- import wave import pylab as pl import numpy as np print('working') #打开wav文档 file = wave.open(r"02.wav", "rb" 阅读全文
posted @ 2023-03-26 20:51 西北逍遥 阅读(355) 评论(0) 推荐(0) 编辑
摘要: pip install gtts (wind_2021) J:\test>pip install gtts Collecting gtts Downloading gTTS-2.3.1-py3-none-any.whl (28 kB) Collecting requests<3,>=2.27 Usi 阅读全文
posted @ 2023-03-25 20:01 西北逍遥 阅读(53) 评论(0) 推荐(0) 编辑
摘要: OpenCV提供了两种计算图像相似度的方法:结构相似性(SSIM)和均方误差(MSE)。其中,SSIM是一种更加准确的方法,它不仅考虑了像素之间的差异,还考虑了人眼对图像的感知。而MSE则只是简单地计算像素之间的差异。 import cv2 # 读取图片 img1 = cv2.imread('pat 阅读全文
posted @ 2023-03-24 16:29 西北逍遥 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: python清空cmd命令行 import os os.system('cls') ################### 阅读全文
posted @ 2023-03-23 21:58 西北逍遥 阅读(47) 评论(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 西北逍遥 阅读(22) 评论(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 西北逍遥 阅读(1221) 评论(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 西北逍遥 阅读(23) 评论(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 西北逍遥 阅读(55) 评论(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 西北逍遥 阅读(60) 评论(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 西北逍遥 阅读(24) 评论(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 西北逍遥 阅读(72) 评论(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 西北逍遥 阅读(15) 评论(0) 推荐(0) 编辑
摘要: dict1 = {} dict2={"id":12,"x":23} dict1[str(1)] = dict2 print(dict1) print(dict1[str(1)]) ############## 阅读全文
posted @ 2023-03-14 21:11 西北逍遥 阅读(8) 评论(0) 推荐(0) 编辑
摘要: python 全排列 import itertools # 利用itertools库中的permutations函数,给定一个排列,输出他的全排列 def all_permutation_fun(permutation): # itertools.permutations返回的只是一个对象,需要将其 阅读全文
posted @ 2023-03-13 17:04 西北逍遥 阅读(89) 评论(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 西北逍遥 阅读(159) 评论(0) 推荐(0) 编辑
摘要: ifc4x3 IfcActuatorType 1语义定义 分配控制元件类型IfcActuatorType定义了致动器出现的共同共享信息。共享信息集可以包括: 具有共享属性集的公共财产 共同表示法 普通材料 元素的共同组成 公用端口 它用于定义致动器类型规范,指示该产品类型的所有事件所共有的特定产品信 阅读全文
posted @ 2023-03-11 19:52 西北逍遥 阅读(22) 评论(0) 推荐(0) 编辑
摘要: IfcAddress 1语义定义 这个抽象实体表示各种邮政和电信地址。 注:根据ISO 10303-41中定义的地址改编的实体。 IFC1.5.1中的新实体。 2实体继承 3实体属性 #AttributeTypeDescription IfcAddress (5) 1 Purpose OPTIONA 阅读全文
posted @ 2023-03-10 19:48 西北逍遥 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1语义定义 高级B-rep是一种边界表示模型,其中所有面、边和顶点都被显式表示。它是一个具有显式拓扑和基本或自由几何体的实体。B-rep的面类型为IfcAdvancedFace。高级B-rep必须满足与流形实体B-rep相同的拓扑约束。 注:已引入高级B-rep,以支持越来越多的应用程序,这些应用程 阅读全文
posted @ 2023-03-09 20:19 西北逍遥 阅读(28) 评论(0) 推荐(0) 编辑
摘要: IfcAdvancedBrepWithVoids 1语义定义 IfcAdvancedBrepWithVoids是高级B-rep的一种专门化,其内部包含一个或多个空隙。空隙表示为闭合壳,其定义使得壳法线指向空隙。 注:根据ISO 10303-42中定义的advanced_brep_shape_pres 阅读全文
posted @ 2023-03-08 21:47 西北逍遥 阅读(46) 评论(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 西北逍遥 阅读(271) 评论(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 西北逍遥 阅读(419) 评论(0) 推荐(0) 编辑
摘要: ifc4x3 IfcActuator 1语义定义 致动器是用于移动或控制机构或系统的机械装置。致动器吸收通常由空气、电或液体产生的能量,并将其转换成某种运动。 IFC4中的新实体 2实体继承 3属性 #AttributeTypeDescription IfcRoot (4) 1 GlobalId I 阅读全文
posted @ 2023-03-05 20:47 西北逍遥 阅读(19) 评论(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 西北逍遥 阅读(795) 评论(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 西北逍遥 阅读(239) 评论(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 西北逍遥 阅读(77) 评论(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 西北逍遥 阅读(99) 评论(0) 推荐(0) 编辑
摘要: ifc 实验数据 ISO-10303-21; HEADER; /****************************************************************************************** * STEP Physical File produc 阅读全文
posted @ 2023-02-28 21:25 西北逍遥 阅读(41) 评论(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 西北逍遥 阅读(18) 评论(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 西北逍遥 阅读(46) 评论(0) 推荐(0) 编辑
摘要: ifc4x3 IfcActorRole 定义: 该实体表示由行为者(个人、组织或与组织相关的人员)执行的角色。 注:Role属性枚举值的角色列表永远不可能完整。因此,使用枚举值USERDEFINED,用户可以提供任何角色作为属性UserDefinedRole的值。 注:根据ISO 10303-41中 阅读全文
posted @ 2023-02-25 11:47 西北逍遥 阅读(20) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 94 下一页