Fix for problems with Bundler Photogrammetry Package and .JPG images
Bundler Photogrammetry Package gave me problems when using images with a capitalised .JPG extension (i.e. not '.jpg'). If this occurs, you can try the following -
Find the file C:\SFM\2_RunBunder.gpu.sh and open it in a text editor (e.g. Notepad++)
At line 47 add :
# Rename ".JPG" to ".jpg" for d in `ls -1 $IMAGE_DIR | egrep ".JPG$"` do mv $IMAGE_DIR/$d $IMAGE_DIR/`echo $d | sed 's/\.JPG/\.jpg/'` doneSo the file should read :
.... if [ $# -eq 1 ] then echo "Using directory '$1'" IMAGE_DIR=$1 fi # Rename ".JPG" to ".jpg" for d in `ls -1 $IMAGE_DIR | egrep ".JPG$"` do mv $IMAGE_DIR/$d $IMAGE_DIR/`echo $d | sed 's/\.JPG/\.jpg/'` done # Rename ".jpg.key" to ".key" for d in `ls -1 $IMAGE_DIR | egrep ".jpg.key$"` do mv $IMAGE_DIR/$d $IMAGE_DIR/`echo $d | sed 's/\.jpg.key/\.key/'` done ....Save and close the file and try Bundler Photogrammetry Package again.