随笔分类 - Python
Python zone
摘要:遍历文件 import os path="E:\\BaiduNetdiskDownload\\result_2021040501" ''' E:\BaiduNetdiskDownload\result_2021040501\0061-01.txt E:\BaiduNetdiskDownload\re
阅读全文
摘要:yolov5测试 import argparse import time from pathlib import Path import cv2 import torch import torch.backends.cudnn as cudnn from numpy import random im
阅读全文
摘要:openpose pytorch 测试 import cv2 import matplotlib.pyplot as plt import copy import numpy as np import torch from src import model from src import util
阅读全文
摘要:win10 anaconda tensorflow gpu openpose done # # To activate this environment, use # # $ conda activate wind_202102 # # To deactivate an active environ
阅读全文
摘要:python realsense 测试 color_image2=cv2.resize(color_image,(424,240)) out2=cv2.resize(out,(424,240)) show_img = np.vstack((color_image2,out2))
阅读全文
摘要:source activate flappbird /home/luo/Desktop/MyFile/Mask_RCNN_Openpose_Realsense python realsense_mask_openpose_2019090801.py
阅读全文
摘要:pyqt5 yolov5运行日志 img = img.half() img = img.float()
阅读全文
摘要:定位数据日志 new socket ID:20 seq:241 g_id:1 s_type:2 x:2359 y:863 z: 994 ID:20 seq:252 g_id:1 s_type:2 x:2335 y:986 z: 946 ID:20 seq:254 g_id:1 s_type:2 x:
阅读全文
摘要:基站数据格式说明 01 49 00 05 04 01 14 00 200A0000 23010000 24020000 01 49 00 06 04 01 14 00 95090000 83010000 88010000 01 43 00 23 04 01 0C 00 FF080000 290200
阅读全文
摘要:数据解析 import sys import time import socket socket_client = socket.socket(socket.AF_INET,socket.SOCK_STREAM) rec_code = socket_client.connect_ex(("192.1
阅读全文
摘要:测试 x02\ x01 \x00 \x02 \x01\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' x02\ x01 \x00 \x05 \x01\x00 \x00\x00\x00\x00\x00\x00\x00\x00\
阅读全文
摘要:yolov5测试 import time start = time.time() import numpy as np import os import six.moves.urllib as urllib import sys import tarfile import socket import
阅读全文
摘要:draw grid def grid(size=1, n=10, width=1): """draw a grid on xz plane""" gl.glLineWidth(width) s = size / float(n) s2 = 0.5 * size batch = pyglet.grap
阅读全文
摘要:cv2 mat numpy # Helper code def load_image_into_numpy_array(image_param): img_shape = image_param.shape im_width = img_shape[1] im_height = img_shape[
阅读全文
摘要:python opencv 读取摄像头数据 import os import cv2 cap = cv2.VideoCapture(2) while True: res, img0 = cap.read() # BGR cv2.imshow("win1",cv2.resize(img0,(640,4
阅读全文
摘要:1.6505762 -0.7863537 3.9770002-0.9023885 -1.1223501 2.1550002 1.6190339 -0.7713266 3.9010003-0.92835045 -1.1546403 2.217 1.609073 -0.7665812 3.877-0.9
阅读全文
摘要:1、git clone https://github.com/ultralytics/yolov5 2、安装 (wind_202103) star@xmatrix:~/Yolov/yolov5-master$ (wind_202103) star@xmatrix:~/Yolov/yolov5-mas
阅读全文
摘要:realsense point cloud # License: Apache 2.0. See LICENSE file in root directory. # Copyright(c) 2015-2017 Intel Corporation. All Rights Reserved. """
阅读全文
摘要:pip error (wind_2021) L:\PytorchProject> (wind_2021) L:\PytorchProject> (wind_2021) L:\PytorchProject>pip install cython_bbox Collecting cython_bbox U
阅读全文