上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页
摘要: import cv2 from pathlib import Path import numpy as np Workspace = r"F:\pythonProject\测试\bag包测试\color_directory" fourcc = cv2.VideoWriter.fourcc(*"MJP 阅读全文
posted @ 2021-09-10 15:45 不能说的秘密 阅读(209) 评论(0) 推荐(0) 编辑
摘要: import argparse import pyrealsense2 as rs import numpy as np import cv2 import os """ this is a file for convert .bag files to .png files for RealSens 阅读全文
posted @ 2021-09-07 10:33 不能说的秘密 阅读(912) 评论(0) 推荐(0) 编辑
摘要: def img2pdf(img_files, name): doc = fitz.open() for file in img_files: page = doc.new_page() img_doc = fitz.open(file) pdf_bytes = img_doc.convert_to_ 阅读全文
posted @ 2021-09-02 08:58 不能说的秘密 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 如何使用ffmpy从文件中获取元数据 import subprocess import ffmpy import json tup_resp = ffmpy.FFprobe( inputs={source_path: None}, global_options=[ '-v', 'quiet', '- 阅读全文
posted @ 2021-08-25 09:36 不能说的秘密 阅读(120) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*-# # # Name: num2chinese # Author: yunhgu # Date: 2021/8/24 14:51 # Description: # _MAPPING = (u'零', u'一' 阅读全文
posted @ 2021-08-24 15:03 不能说的秘密 阅读(669) 评论(0) 推荐(0) 编辑
摘要: textgrid文件说明 第一行是固定的:File type = "ooTextFile" 第二行也是固定的:Object class = "TextGrid" 空一行 xmin = xxxx.xxxx # 表示开始时间 xmax = xxxx.xxxx # 表示结束时间 tiers? <exist 阅读全文
posted @ 2021-08-24 11:30 不能说的秘密 阅读(2076) 评论(1) 推荐(0) 编辑
摘要: import cv2 import numpy as np parameter_mapping = { # 内参 'internal_reference': [[25714.104851, 0.000000, 1847.417942], [0.000000, 2586.842593, 1152.89 阅读全文
posted @ 2021-08-23 16:28 不能说的秘密 阅读(518) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-# # # Name: 点云降维处理 # Author: yunhgu # Date: 2022/1/26 11:17 # Description: # import copy import logging import random import st 阅读全文
posted @ 2021-08-23 13:38 不能说的秘密 阅读(442) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*-# # # Name: 图片模糊度计算 # Author: yunhgu # Date: 2021/8/20 11:01 # Description: # import shutil from traceba 阅读全文
posted @ 2021-08-20 11:42 不能说的秘密 阅读(317) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*-# import re s = "你好2021" content = re.sub(r"(\S+?)(\d+)", r"**\1** ##\2##", s) print(content) 阅读全文
posted @ 2021-08-12 16:08 不能说的秘密 阅读(75) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页