Python+資料庫測試常用關鍵字

博学精思發表於2024-08-03

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檔案中的輪數一致

相關文章