上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 96 下一页
摘要: QCamera #include <QCamera> Public Types class FrameRateRange enum CaptureMode { CaptureViewfinder, CaptureStillImage, CaptureVideo } flags CaptureMode 阅读全文
posted @ 2023-06-21 20:10 西北逍遥 阅读(64) 评论(0) 推荐(0)
摘要: QException #include <QException> Public Functions virtual ~QException() virtual QException * clone() const virtual void raise() const Detailed Descrip 阅读全文
posted @ 2023-06-20 19:47 西北逍遥 阅读(477) 评论(0) 推荐(0)
摘要: QGLWidget #include <QGLWidget> Public Functions QGLWidget(QWidget *parent = nullptr, const QGLWidget *shareWidget = nullptr, Qt::WindowFlags f = ...) 阅读全文
posted @ 2023-06-19 20:27 西北逍遥 阅读(99) 评论(0) 推荐(0)
摘要: QGeoPolygon #include <QGeoPolygon> Public Functions QGeoPolygon() QGeoPolygon(const QList<QGeoCoordinate> &path) QGeoPolygon(const QGeoPolygon &other) 阅读全文
posted @ 2023-06-18 20:03 西北逍遥 阅读(59) 评论(0) 推荐(0)
摘要: int point_id2 = 2; int point_id3 = 3; int point_id4 = 4; int point_id5 = 5; int point_id8 = 8; int point_id9 = 9; int point_id10 = 10; int point_id11 阅读全文
posted @ 2023-06-17 20:13 西北逍遥 阅读(94) 评论(0) 推荐(0)
摘要: 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 西北逍遥 阅读(22) 评论(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 西北逍遥 阅读(76) 评论(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 西北逍遥 阅读(305) 评论(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 西北逍遥 阅读(112) 评论(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 西北逍遥 阅读(154) 评论(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 西北逍遥 阅读(89) 评论(0) 推荐(0)
摘要: Bumblebee XB3是一款由昆仑镜头、英飞凌主控、索尼 IMX766 传感器组成的双目视觉相机,主要作用和功能包括: 立体成像:相机内置两台或三台数字相机,可实时得到场景深度信息和三维模型,实现立体成像功能。 实时视频输出:相机支持实时视频输出,可将拍摄到的立体影像显示在屏幕上,或通过连接显示 阅读全文
posted @ 2023-06-09 19:39 西北逍遥 阅读(233) 评论(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 西北逍遥 阅读(36) 评论(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 西北逍遥 阅读(269) 评论(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 西北逍遥 阅读(120) 评论(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 西北逍遥 阅读(206) 评论(0) 推荐(0)
摘要: 判断一个点是否在一个特定的区域内或外,通常需要你具备区域的数学表达(例如,方程、不等式等)以及要判断的点的坐标。 例如,如果你有一个圆的方程 (x-h)² + (y-k)² = r²,其中 (h, k) 是圆心,r 是半径,你要判断点 (a, b) 是否在此圆内或外。你可以将点 (a, b) 的坐标 阅读全文
posted @ 2023-06-05 12:57 西北逍遥 阅读(290) 评论(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 西北逍遥 阅读(433) 评论(0) 推荐(1)
摘要: widget->setStyleSheet("background-color: rgba(255,255,255,0.3);"); #################### 阅读全文
posted @ 2023-06-03 18:52 西北逍遥 阅读(87) 评论(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 西北逍遥 阅读(452) 评论(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 西北逍遥 阅读(66) 评论(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 西北逍遥 阅读(1286) 评论(0) 推荐(0)
摘要: threejs绘制球体 在Three.js中,可以使用geometry对象和geometryMaterial对象来创建和渲染球体几何体。下面是一个绘制球体的示例代码: // 创建一个立方体几何体 var cubeGeometry = new THREE.BoxGeometry( 0.5, 0.5, 阅读全文
posted @ 2023-05-30 20:28 西北逍遥 阅读(1056) 评论(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 西北逍遥 阅读(915) 评论(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 西北逍遥 阅读(79) 评论(0) 推荐(0)
摘要: threejs创建圆柱体 创建一个几何体(geometry):使用Three.js的几何体类创建一个几何体,该类将定义您的几何体的形状和大小。例如,您可以使用以下代码创建一个圆柱体: var geometry = new THREE.CylinderGeometry(5, 32, 32); 这将创建 阅读全文
posted @ 2023-05-27 19:40 西北逍遥 阅读(540) 评论(0) 推荐(0)
摘要: https://download.qt.io/archive/qt/ ############## 阅读全文
posted @ 2023-05-26 20:16 西北逍遥 阅读(47) 评论(0) 推荐(0)
摘要: 实现不同软件之间的信息交换:IFC作为一个标准的公开的数据表达和存储方法,不同软件通过对接IFC标准接口,便可以与其他软件系统交换信息,畅通无阻。 提升建筑项目中的沟通、生产力、时间、成本和质量:通过IFC,可以在建筑项目的整个生命周期中提升沟通、生产力、时间、成本和质量,为全球的建筑专业与设备专业 阅读全文
posted @ 2023-05-26 16:32 西北逍遥 阅读(95) 评论(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 西北逍遥 阅读(37) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 96 下一页