上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 96 下一页
摘要: import xml.etree.ElementTree as ET # 加载XML文档 tree = ET.parse('example.xml') # 获取根元素 root = tree.getroot() # 遍历XML文档中的元素 for child in root: print(child 阅读全文
posted @ 2023-06-16 21:16 西北逍遥 阅读(18) 评论(0) 推荐(0)
摘要: #include <SoftwareSerial.h> int point_id1 = 4; int point_id2 = 9; int point_id3 = 3; int point_id4 = 10; void setup() { // put your setup code here, t 阅读全文
posted @ 2023-06-15 21:57 西北逍遥 阅读(18) 评论(0) 推荐(0)
摘要: # coding: utf-8 # 打开摄像头并灰度化显示 import cv2 as cv camera_id = "rtsp://admin:1222@192.168.0.218:554/jingli/realmonitor?channel=1&subtype=0" # 0表示摄像头的编号 ca 阅读全文
posted @ 2023-06-14 19:46 西北逍遥 阅读(70) 评论(0) 推荐(0)
摘要: pip install open3d (wind_2021) H:\PytorchProject\xinru_project\project_2023051202> (wind_2021) H:\PytorchProject\xinru_project\project_2023051202> (wi 阅读全文
posted @ 2023-06-13 21:04 西北逍遥 阅读(294) 评论(0) 推荐(0)
摘要: CJJC项目实验环境配置 (base) D:\> (base) D:\>conda create -n wind_2022 python==3.7 Solving environment: done ## Package Plan ## environment location: D:\Anacon 阅读全文
posted @ 2023-06-12 18:41 西北逍遥 阅读(105) 评论(0) 推荐(0)
摘要: void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(2,OUTPUT); pinMode(7,OUTPUT); analogWrite(9,255); } void loop() { 阅读全文
posted @ 2023-06-11 19:15 西北逍遥 阅读(153) 评论(0) 推荐(0)
摘要: int led=13; void setup() { // put your setup code here, to run once: pinMode(led,OUTPUT); } void loop() { // put your main code here, to run repeatedl 阅读全文
posted @ 2023-06-10 18:57 西北逍遥 阅读(84) 评论(0) 推荐(0)
摘要: Bumblebee XB3是一款由昆仑镜头、英飞凌主控、索尼 IMX766 传感器组成的双目视觉相机,主要作用和功能包括: 立体成像:相机内置两台或三台数字相机,可实时得到场景深度信息和三维模型,实现立体成像功能。 实时视频输出:相机支持实时视频输出,可将拍摄到的立体影像显示在屏幕上,或通过连接显示 阅读全文
posted @ 2023-06-09 19:39 西北逍遥 阅读(224) 评论(0) 推荐(0)
摘要: python opencv addWeighted import cv2 # Load the image img = cv2.imread('20230222100736979.jpg') # Adjust the brightness brightness = 50 adjusted = cv2 阅读全文
posted @ 2023-06-08 19:47 西北逍遥 阅读(30) 评论(0) 推荐(0)
摘要: python opencv图片旋转任意角度 import cv2 # Load the image img = cv2.imread("20230222100736979.jpg") # Get the image dimensions height, width = img.shape[:2] # 阅读全文
posted @ 2023-06-07 19:50 西北逍遥 阅读(262) 评论(0) 推荐(0)
摘要: python opencv GaussianBlur import cv2 # Load the image img = cv2.imread('20230222100736979.jpg') # Apply a Gaussian blur with a kernel size of 5x5 blu 阅读全文
posted @ 2023-06-06 20:18 西北逍遥 阅读(111) 评论(0) 推荐(0)
摘要: c++实现射线法 点和闭合区域位置关系判断 #include <iostream> #include <vector> struct Point { double x; double y; }; struct Polygon { std::vector<Point> vertices; }; // 阅读全文
posted @ 2023-06-05 13:11 西北逍遥 阅读(188) 评论(0) 推荐(0)
摘要: 判断一个点是否在一个特定的区域内或外,通常需要你具备区域的数学表达(例如,方程、不等式等)以及要判断的点的坐标。 例如,如果你有一个圆的方程 (x-h)² + (y-k)² = r²,其中 (h, k) 是圆心,r 是半径,你要判断点 (a, b) 是否在此圆内或外。你可以将点 (a, b) 的坐标 阅读全文
posted @ 2023-06-05 12:57 西北逍遥 阅读(282) 评论(0) 推荐(0)
摘要: threejs绘制多边形 // 创建一个立方体几何体 var cubeGeometry = new THREE.BoxGeometry( 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ); // 创建一个多边形几何体 var polygonGeometry 阅读全文
posted @ 2023-06-04 21:22 西北逍遥 阅读(418) 评论(0) 推荐(1)
摘要: widget->setStyleSheet("background-color: rgba(255,255,255,0.3);"); #################### 阅读全文
posted @ 2023-06-03 18:52 西北逍遥 阅读(85) 评论(0) 推荐(0)
摘要: import cv2 mask = cv2.imread(r"2.png", 0) mask[mask > 100] = 255 mask[mask != 255] = 0 cnts, _ = cv2.findContours(mask, cv2.RETR_TREE, cv2.CHAIN_APPRO 阅读全文
posted @ 2023-06-02 19:17 西北逍遥 阅读(444) 评论(0) 推荐(0)
摘要: python通过文件操作字典 python把字典保存到文件中 python从文件中加载字典 import json my_dict = { 'Apple': 4, 'Banana': 2, 'Orange': 6, 'Grapes': 11,'area1':[[23,56],[66,12],[68, 阅读全文
posted @ 2023-06-01 12:34 西北逍遥 阅读(59) 评论(0) 推荐(0)
摘要: 在Three.js中,可以使用geometry对象和geometryMaterial对象来创建和渲染多边形几何体。下面是一个绘制多边形平面的示例代码: // 创建一个立方体几何体 var cubeGeometry = new THREE.BoxGeometry( 0.5, 0.5, 0.5, 0.5 阅读全文
posted @ 2023-05-31 20:34 西北逍遥 阅读(1270) 评论(0) 推荐(0)
摘要: threejs绘制球体 在Three.js中,可以使用geometry对象和geometryMaterial对象来创建和渲染球体几何体。下面是一个绘制球体的示例代码: // 创建一个立方体几何体 var cubeGeometry = new THREE.BoxGeometry( 0.5, 0.5, 阅读全文
posted @ 2023-05-30 20:28 西北逍遥 阅读(1042) 评论(0) 推荐(0)
摘要: import pyrealsense2.pyrealsense2 as rs import configparser import numpy as np import time import csv import cv2 config_pro = configparser.ConfigParser 阅读全文
posted @ 2023-05-29 16:18 西北逍遥 阅读(877) 评论(1) 推荐(0)
摘要: def plot_results_overlay(start=0, stop=0): # from utils.plots import *; plot_results_overlay() # Plot training 'results*.txt', overlaying train and va 阅读全文
posted @ 2023-05-28 19:55 西北逍遥 阅读(75) 评论(0) 推荐(0)
摘要: threejs创建圆柱体 创建一个几何体(geometry):使用Three.js的几何体类创建一个几何体,该类将定义您的几何体的形状和大小。例如,您可以使用以下代码创建一个圆柱体: var geometry = new THREE.CylinderGeometry(5, 32, 32); 这将创建 阅读全文
posted @ 2023-05-27 19:40 西北逍遥 阅读(534) 评论(0) 推荐(0)
摘要: https://download.qt.io/archive/qt/ ############## 阅读全文
posted @ 2023-05-26 20:16 西北逍遥 阅读(45) 评论(0) 推荐(0)
摘要: 实现不同软件之间的信息交换:IFC作为一个标准的公开的数据表达和存储方法,不同软件通过对接IFC标准接口,便可以与其他软件系统交换信息,畅通无阻。 提升建筑项目中的沟通、生产力、时间、成本和质量:通过IFC,可以在建筑项目的整个生命周期中提升沟通、生产力、时间、成本和质量,为全球的建筑专业与设备专业 阅读全文
posted @ 2023-05-26 16:32 西北逍遥 阅读(85) 评论(0) 推荐(0)
摘要: import cv2 import numpy as np # 加载图像 img = cv2.imread('image.jpg', 0) # 对图像进行分水岭算法的梯度变换 gx = cv2.Sobel(img, cv2.CV_32F, 1, 0, ksize=3) gy = cv2.Sobel( 阅读全文
posted @ 2023-05-25 20:55 西北逍遥 阅读(30) 评论(0) 推荐(0)
摘要: opencv彩色图转灰度图的理解 OpenCV 中将彩色图像转换为灰度图像的实现原理是基于人眼对于彩色的感知。人眼能够感知的颜色分为三个类别:红色、绿色和蓝色。这三种颜色的波长不同,人眼对它们的感知也不同。在彩色图像中,不同颜色的像素值被连接在一起表示整个图像,但人眼对这种连接并不敏感。相反,人眼对 阅读全文
posted @ 2023-05-24 18:46 西北逍遥 阅读(488) 评论(0) 推荐(0)
摘要: ifc标准发展前景 IFC标准的发展前景是非常广阔的。IFC标准被广泛应用于国际工程项目中,如能源、交通、水利、建筑等领域,为不同国家和地区的工程项目提供了统一的数据交换和共享标准。随着全球经济一体化的不断加深,IFC标准的应用范围还将进一步扩大,为国际贸易、跨国投资等领域提供更多的支持。 此外,I 阅读全文
posted @ 2023-05-23 22:13 西北逍遥 阅读(181) 评论(0) 推荐(0)
摘要: pip install ffmpeg pip install moviepy (wind_2021) L:\> (wind_2021) L:\> (wind_2021) L:\>pip install ffmpeg Looking in indexes: https://pypi.tuna.tsin 阅读全文
posted @ 2023-05-22 14:41 西北逍遥 阅读(77) 评论(0) 推荐(0)
摘要: IFC标准的解析包括以下几个方面: 资源层解析:资源层是IFC标准中最基础的信息层,包含了建筑工程中所需的各种基础信息,如材料、几何、拓扑等。资源层的信息通常是通过定义特性、数量、分类等属性来描述的。 核心层解析:核心层定义了IFC标准中信息模型的整体框架,包括工程对象之间的关系、工程对象的位和几何 阅读全文
posted @ 2023-05-21 19:13 西北逍遥 阅读(284) 评论(0) 推荐(0)
摘要: IFC标准包含大约800个实体(数据对象)、358个属性集和121种数据类型。这些实体和属性集构成了IFC标准的核心内容,其中一些重要的实体包括: 建筑领域实体:包括建筑设计、建筑材料、建筑系统、建筑结构等。 结构分析领域实体:包括结构设计、结构分析方法、结构性能评估等。 电气领域实体:包括电气系统 阅读全文
posted @ 2023-05-20 16:52 西北逍遥 阅读(285) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 96 下一页