Python+数据库测试常用关键字

A1-1-video_frame_extractor
(1)cv2.VideoCapture
(2)video.read()
(3)cv2.imwrite
(4)release()
(5)'frames_output'
(6)extract_frames
A1-2-rename
(1)cv2
(2)os.makedirs
(3)input_folder
(4)cv2.imread
(5)new_filename
(6)'frames_output_png'
A1-3-analysis
(1)cv2.cvtColor
(2)plt.hist
(3)plt.title
(4)plt.xlabel
(5)plt.ylabel
(6)analyze_images
A1-4-augmentation
(1)random.choice
(2)Image.fromarray
(3)cv2.COLOR_RGB2BGR
(4)image.rotate
(5)image.crop
(6)Brightness
A2-1-标注结果界面
(1)减速慢行:slow_down
(2)施工标志:construction
(3)人行横道:pedestrian_crossing
(4)停止标识:stop
(5)十字路口:intersection
(6)注意儿童:children_crossing
A2-2-格式文件
在图像标注文件夹下全部存放xml格式文件,正确存放得0.5分,存放其他格式不得分
在图像文件夹中全部存放png格式文件,正确存放得0.5分,存放其他格式不得分
A3-1-split_dataset
(1)[0.8, 0.1, 0.1]
(2)random.shuffle(filenames)
(3)int(total_files * ratio[0])
(4)int(total_files * ratio[1])
A3-2Main目录下查看生成test.txt、train.txt、val.txt文件
A3-3-voc_label
(1)size.find('width')
(2)size.find('height')
(3)getcwd()
(4)convert_annotation
B1-1-yolo.names
(1)slow_down
(2)construction
(3)pedestrian_crossing
(4)stop
(5)intersection
(6)children_crossing
B1-2-yolo.data
(1)6
(2)scripts/2007_train.txt
(3)scripts/2007_val.txt
(4)data/yolo.names
B1-3-yolo.cfg
(1)2
(2)3
(3)33
(4)6
(5)33
(6)6
B2-1、1920*1080
B2-2、PNG或png
B2-3、与yolo.cfg文件中的轮数一致

 

posted @ 2024-08-03 05:11  博学精思  阅读(22)  评论(0)    收藏  举报