Files
2026-05-20 15:05:35 +08:00

29 lines
1.5 KiB
Plaintext
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 相关程序所在位置:./1_Preprocess_pics已加入路径
1.对于图片批量重命名(允许只输入-i或-l一个参数
1_rename_pics.sh -i <ori_image_directory> -l <ori_label_directory> [-h]
2.对于图片大小批量修改(允许只输入-i或-l一个参数
2_reformate_pics.sh -i <ori_image_directory> -l <ori_label_directory> [ -w <width_of_pic> -h <height_of_pic> -help]
默认:-w=1920 -h=1080
3.对于原始图片、标签图片进行配对(必须输入-i和-l两个参数文件可带前缀或后缀
3_pair_ori_label.sh -i <ori_image_directory> -l <ori_label_directory> [ -p <prefix> -s <suffix> -h]
默认:-p="" -s=""
4.对于标签图片进行进一步处理
※ 如果Label有变请修改 4_deal_labels.py main 中的 Annotate_CLASSES、Annotate_PALETTE
4_rebuild_labels.sh -l <ori_label_directory> [ -h ]
5.TOOL - 对于image图像、label图片进行堆叠透明度可调文件可带前缀或后缀
5_TOOL_stack_pics.sh -i <ori_image_directory> -l <ori_label_directory> -r <stack_result_directory> [ -a <alpha> -p <prefix> -s <suffix> -h]
默认:-a=0.3 -p="" -s=""
6.TOOL - 对于image图像、label图像进行左右放置文件可带前缀或后缀
6_TOOL_stitch_pics.sh -i <ori_image_directory> -l <ori_label_directory> -r <stitch_result_directory> [ -p <prefix> -s <suffix> -h]
============ 用法 ============
1. 将原始Label与现有label进行匹配查看差异
bash 6_TOOL_stitch_pics.sh -i ./A_Label -l ./A_Label_pro_label_fold -r ./A_Label_Compare -s _label