Created
January 19, 2020 08:53
-
-
Save HsimWong/3987d71f987fab2dc59e56b6beff18e0 to your computer and use it in GitHub Desktop.
Sample: Getting file list, number normalization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image_path="./images" | |
image_list=$(ls image_path) | |
for((i=1; i<=10; i++)) | |
do | |
f="$(printf '%03d' $i)" | |
./test_jpeg_facedetect densebox_320_320 ${image_path}/$f.jpg | |
#mv facedetect_bb_output_12_0.bin ${f}_facedetect_bb_output_12_0.bin | |
#mv facedetect_pixel_conv_13_0.bin ${f}_facedetect_pixel_conv_13_0.bin | |
done | |
remove certain string
echo $out | sed 's/***//g
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
grep exclude certain string
-v