摘要:
import json with open("config.json", "r") as f: opt = json.load(f) datapath = opt["aaa"]["datapath"] 阅读全文
摘要:
坑 阅读全文
摘要:
import timestrTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())log(logpath, "============"+strTime+"============") tim... 阅读全文
摘要:
可以的 阅读全文
摘要:
def fromCSVGetROI(CSVROIFileName): roi = pd.read_csv(CSVROIFileName,header=None) return roi 阅读全文
摘要:
坑 文档里只有传递一个参数的例子。 阅读全文
摘要:
outputFileName = "Crop_"+fileName.substring(0,lengthOf(fileName)-4)+".tif"; fileName.substring(0,10) 阅读全文
摘要:
cap = cv2.VideoCapture(FilePath)ret, frame = cap.read()gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)cv2.namedWindow('img')coords1... 阅读全文
摘要:
cap = cv2.VideoCapture(FilePath)ret, frame = cap.read()gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)cv2.namedWindow('img')coords1... 阅读全文
摘要:
not True Out[27]: False not False Out[28]: True 阅读全文