diff --git a/hugin-gopro-fusion/equalize_all_in_folder.sh b/hugin-gopro-fusion/equalize_all_in_folder.sh index 07e3cda2..6b1ddb96 100644 --- a/hugin-gopro-fusion/equalize_all_in_folder.sh +++ b/hugin-gopro-fusion/equalize_all_in_folder.sh @@ -1,9 +1,9 @@ #!/bin/bash -cd /home/poule/encrypted/stockage-syncable/photos/gopro/hugin/to_equalize +cd /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/hugin/to_equalize for file in * do - magick "$file" -equalize "/home/poule/encrypted/stockage-syncable/photos/gopro/hugin/equalized/$file" + magick "$file" -equalize "/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/hugin/equalized/$file" done diff --git a/hugin-gopro-fusion/hugin_batch.sh b/hugin-gopro-fusion/hugin_batch.sh index 75730422..9efbc9bd 100755 --- a/hugin-gopro-fusion/hugin_batch.sh +++ b/hugin-gopro-fusion/hugin_batch.sh @@ -9,24 +9,26 @@ # exemple ./exif_batch.sh 36077 36159 function batch_exif_photos { - local min=$1 - local max=$2 - local dir="/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/rouen_oct23" +# this is a WIP - echo $(seq $min $max) - - for i in $(seq $min $max); do - filename=$i - file="$dir/GF0$filename.JPG" - file_assemblage="$dir/GF0$filename.JPG" - - if [ -f "$file" ] && [ -f "$file_assemblage" ] ; then - echo "set the tags in assemblage $i from GF0$filename.JPG" - hugin_executor "/home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/output_pto/merging_0$i.pto" --stitching --prefix="assemblage_$i" -t=6 - else - echo "File $file does not exist." - fi - done +# local min=$1 +# local max=$2 +# local dir="/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/rouen_oct23" +# +# echo $(seq $min $max) +# +# for i in $(seq $min $max); do +# filename=$i +# file="$dir/GF0$filename.JPG" +# file_assemblage="$dir/GF0$filename.JPG" +# +# if [ -f "$file" ] && [ -f "$file_assemblage" ] ; then +# echo "set the tags in assemblage $i from GF0$filename.JPG" +# hugin_executor "/home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/output_pto/merging_0$i.pto" --stitching --prefix="assemblage_$i" -t=6 +# else +# echo "File $file does not exist." +# fi +# done } batch_exif_photos $1 $2 \ No newline at end of file