摘要:
测试 clc; clear; M2=[]; TIME2={}; %fid = fopen('2020-12-27-16-19-52.txt'); %fid = fopen('2020-12-17-09-21-11-1.txt'); %fid = fopen('2020-12-17-09-21-11- 阅读全文
摘要:
QCamera Header: #include <QCamera>qmake: QT += multimediaInherits: QMediaObject Public Types class FrameRateRangeenum CaptureMode { CaptureViewfinder, 阅读全文
摘要:
Header: #include <QSize>qmake: QT += core Public Functions QSize() QSize(int width, int height) QSize boundedTo(const QSize &otherSize) const QSize ex 阅读全文
摘要:
QPainter Class The QPainter class performs low-level painting on widgets and other paint devices. Header: #include <QPainter> qmake: QT += gui Inherit 阅读全文
摘要:
enum PenStyle { // pen style NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, CustomDashLine#ifndef Q_MOC_RUN , MPenStyle = 0x0f#endi 阅读全文
摘要:
Qt绘制虚线 QPainter painterObj; QPen tmp; QVector<qreal>dashes; qreal space = 4; dashes << 3 << space << 3 << space << 3 << space << 3 << space << 3 << sp 阅读全文
摘要:
Qt报错报错 #1. 打开Visual Studio Installer(一般在C:\Program Files (x86)\Microsoft Visual Studio\Installer这个路径下),找到Visual Studio 2019选择并升级到最新版本。 #2. 尝试登出账号再重新登入 阅读全文
摘要:
QString list2 = "1,4,6,9"; QScriptValueList args3; //调用js方法时传入的参数 args3 << list2; QScriptValue func3; func3 = engine.globalObject().property("addNums" 阅读全文
摘要:
gl-matrix.js /** * @fileoverview gl-matrix - High performance matrix and vector operations * @author Brandon Jones * @author Colin MacKenzie IV * @ver 阅读全文
摘要:
Qt 3d basicshapes-cpp.pro android|ios|tvos|winrt { warning( "This example is not supported for android, ios, tvos, or winrt." ) } !include( ../example 阅读全文
摘要:
yolov5 检测图片里面的对象 这是比较早的代码,偶尔碰见了打开看看,运行结果如下: import argparse import time from pathlib import Path import cv2 import torch import torch.backends.cudnn a 阅读全文
摘要:
QTreeWidget双击事件 #include <QtWidgets/QWidget> public slots: void OnlineTreeViewDoubleClick(QTreeWidgetItem*,int); private: QTreeWidget* treeWidget_set; 阅读全文
摘要:
Qt QPainter QBrush 填充区域 QBrush brush; brush.setColor(Qt::red);//设置颜色 brush.setStyle(Qt::SolidPattern); painter.setBrush(brush); painter.drawRect(rect3 阅读全文
摘要:
Qt QWidget保存为图片 QPixmap pixmap = QPixmap::grabWidget(this); pixmap.save("D://1.jpg","JPG"); ################################### 阅读全文
摘要:
Qt绘图面板中的对象拖拽 qdrawwidget.h #ifndef QDRAWWIDGET_H #define QDRAWWIDGET_H #include <QObject> #include <QWidget> #include <QFrame> #include <QPainter> #in 阅读全文
摘要:
Qt绘制网格 mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QPainter> #include <QDebug> namespace Ui { class MainWi 阅读全文
摘要:
ubuntu中编译好的Qt程序运行 luo@luo-ThinkPad-W540:QtProject$ luo@luo-ThinkPad-W540:QtProject$ cd build-HGD_ES-Desktop_Qt_5_12_0_GCC_64bit-Debug luo@luo-ThinkPad 阅读全文
摘要:
ubuntu qt5 编译libqsqlmysql.so 首先确保已经安装了mysql, 然后打开 /opt/Qt5.12.0/5.12.0/Src/qtbase/src/plugins/sqldrivers/mysql 目录查看是否存在 如果存在,进行libmysql.so文件的编译 root@l 阅读全文
摘要:
Qt mysql 确保mysql已经安装 luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ whereis mysql.h mysql: /usr/bin/mysql /usr/lib/mysql /etc/mysql /usr/include/my 阅读全文
摘要:
win10 cuda11.1 paddlepaddle-gpu (base) F:\> (base) F:\> (base) F:\> (base) F:\>conda create -n wind_paddle python==3.7 Collecting package metadata (cu 阅读全文
摘要:
桩是一种细长的木材、混凝土或钢结构构件,打入、喷射或以其他方式嵌入地面,以支撑荷载。桩也被称为深基础,其中荷载被转移到更深的地下层。 注:根据ISO 6707-1的定义:细长结构构件,基本位于地下,用于将力传递到地面以下的承重地层中。 注:浅基础将荷载转移到靠近其表面的地面上,用IfcFooting 阅读全文
摘要:
java遍历文件 package com.vfsd.test; import java.io.File; import java.io.IOException; public class ListFileName { public static void main(String[] args) { 阅读全文
摘要:
torch.nn.modules.module.py from collections import OrderedDict, namedtuple import itertools import warnings import functools import torch from ..param 阅读全文
摘要:
计算mAP """ Mask R-CNN Configurations and data loading code for MS COCO. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE 阅读全文
摘要:
mask_rcnn调用训练好的模型 # -*- coding: utf-8 -*- import os import sys import random import math import numpy as np import skimage.io import matplotlib import 阅读全文
摘要:
class list class_names = ['bg','worker_helmet','worker_nohelmet','rebar_working','rebar_material', 'steel','concrete_pouring','formwork_working','form 阅读全文
摘要:
dataset prepare """Mask R-CNNCommon utility functions and classes. Copyright (c) 2017 Matterport, Inc.Licensed under the MIT License (see LICENSE for 阅读全文
摘要:
zzt笔记本环境配置 done # # To activate this environment, use # # $ conda activate wind_2021 # # To deactivate an active environment, use # # $ conda deactiva 阅读全文
摘要:
Configurations: BACKBONE resnet101 BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 2 BBOX_STD_DEV [0.1 0.1 0.2 0.2] COMPUTE_BACKBONE_SHAPE None DETECTI 阅读全文
摘要:
Anaconda安装日志 Output folder: F:\Anaconda\install\Lib Extract: _nsis.py Extract: _system_path.py Output folder: F:\Anaconda\install\conda-meta Extract: 阅读全文