04 2020 档案
摘要:此代码是我对maskrcnn的一些修改,基本还原所有内容,但更加简洁,使代码更易解读。里面有很多注释,非常详细,可自己慢慢品味。 若有一些问题,欢迎指正与交流。 此代码为训练文件.py """MASKRCNN algrithm for object detection and instance se
阅读全文
摘要:此代码是我给我朋友写的,如果有人做平行机台订单接受方向或者论文,可以参考此代码,希望对读者有帮助和启示! 可复制直接运行,无需修改! /* PSO algrithm for accept order and schedule Written by tang jun on February 20, 2
阅读全文
摘要:import cv2 as cvimport numpy as npimport osimport skimage.iopath_img=r'D:\data\compay_build\img' # 切割图像路径path_label=r'D:\data\compay_build\label' # 切割
阅读全文
摘要:import ospath = 'C:/Users/tj/Desktop/dd' # path为labelme标注后的.json文件存放的路径json_file = os.listdir(path)for file in json_file: os.system("C:/soft/ev4/venv/
阅读全文
摘要:中文名称读取与保存方式如下主代码: img = cv2.imdecode(np.fromfile(data_root, dtype=np.uint8), -1)#中文名读取方式 cv2.imencode('.jpg', img_draw)[1].tofile(os.path.join(out_img
阅读全文