发布时间:2021-07-06 17:29:07
import waveimport argparseimport os.pathimport struct#prepare an argument parserparser = argparse.ArgumentParser(description='Convert .wav to .bin or C-style Array.')parser.add_argument('input')parser.add_argument('-o',metavar = '<output>')parser.add_argument('-b',a.........【阅读全文】
发布时间:2021-07-02 17:29:52
# coding: utf-8from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdriver.support import expected_conditions as ECfrom selenium.webdriver.common.keys import Keysfrom selenium.webdri.........【阅读全文】
发布时间:2021-07-01 17:16:53
#python创建并写入新文件,#python统计特定文件夹下的word和pdf的数量import glob,os# path就是你说的特定文件夹path = r"D:\linshi"# 这里的pdf可以换成docxfile=glob.glob(os.path.join(path, "*.pdf"))count = 0for i in file: count = count + 1prin.........【阅读全文】
发布时间:2021-06-30 17:18:05
#include<opencv2\opencv.hpp>#include<opencv2\dnn.hpp>#include <iostream>#include<map>#include<string>#include<time.h>using namespace std;using namespace cv;const char* classNames[]= {"background", "person", "bicycle", "car", "motorcycle", "airplane", "bus", "train",.........【阅读全文】
发布时间:2021-06-29 17:21:09
from pandas import ExcelWriterimport numpy as npimport osimport pandas as pdimport xml.etree.ElementTree as et# UCD_trn xml file pathxml_path = r"..\gcam-v5.2\input\extra" # xml file folderdir_extra = os.listdir(xml_path) # SSP3 uses trn_UCD_SSP3trn_xml_ls = [.........【阅读全文】