上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: import subprocess import os import whisper import zhconv import json def time2ffmpeg_time(ti): h=int(ti//3600) ti%=3600 m=int(ti//60) ti%=60 s=int(ti) 阅读全文
posted @ 2025-01-08 18:02 园糯 阅读(9) 评论(0) 推荐(0) 编辑
摘要: (特典代扣外壳改版本) 一:代扣各触点功能解释(以特典代扣改为例): 各触点编号(下同) 插卡识别————————————(1号脚) 组合/分离————————————(2号脚) 触发变身/必杀————————(3号脚) 功能键——————————————(4号脚) 台词键————————————— 阅读全文
posted @ 2024-12-27 18:17 园糯 阅读(60) 评论(0) 推荐(0) 编辑
摘要: import wave import sys import json from vosk import Model, KaldiRecognizer, SetLogLevel # You can set log level to -1 to disable debug messages SetLog 阅读全文
posted @ 2024-12-26 16:47 园糯 阅读(490) 评论(0) 推荐(0) 编辑
摘要: def download_file(url, filename): """将链接中的数据存储入文件中。 Args: url: 链接。 filename: 文件路径名。 Raises: KeyboardInterrupt: 用户按^C引发异常。 Exception: 发生异常。 """ if os.p 阅读全文
posted @ 2024-12-25 17:42 园糯 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 寻找扬声器声音的可录制接口 import sounddevice as sd import wave import os devices=sd.query_devices() print(devices) for i in range(len(devices)): wf=wave.open(f'te 阅读全文
posted @ 2024-12-22 22:16 园糯 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 2412201542 阅读全文
posted @ 2024-12-20 15:44 园糯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: DIM数据获取页 https://ruisan.blog.jp/b.html 教学原帖 https://ruisan.blog.jp/archives/9756028.html 以上为原文作者所贴,鉴于网络问题,价值不太大 bin数据获取:https://vbevo.wordpress.com/20 阅读全文
posted @ 2024-12-20 15:37 园糯 阅读(25) 评论(0) 推荐(0) 编辑
摘要: import fitz # PyMuPDF import re from pathlib import Path from colorama import Fore import sys import os def search_pdf(pdf_path, format,keywords,conte 阅读全文
posted @ 2024-12-04 21:09 园糯 阅读(6) 评论(0) 推荐(0) 编辑
摘要: def isIncrement(ls,guanxing=0.1): if len(ls)<2: return False o=0 score=0 cha=[ls[i+1]-ls[i] for i in range(len(ls)-1)] for i in range(len(cha)): if o* 阅读全文
posted @ 2024-12-04 20:46 园糯 阅读(7) 评论(0) 推荐(0) 编辑
摘要: from functools import wraps import time class CacheManager: def __init__(self): self._cache = {} def get_cache_obj(self, key): """获取缓存对象""" return sel 阅读全文
posted @ 2024-11-19 15:35 园糯 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页
点击右上角即可分享
微信分享提示