Changeset 33340 for other-projects/is-sheet-music-encore/trunk/image-identification-terminal/runClassifer.sh
- Timestamp:
- 2019-07-22T16:46:33+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/is-sheet-music-encore/trunk/image-identification-terminal/runClassifer.sh
r33243 r33340 2 2 3 3 if [ $# != 4 ] ; then 4 echo "Usage: ./testClassifier.sh f ile_name classifier_type output_filename type(-a:all -test:100)" 1>&24 echo "Usage: ./testClassifier.sh folder/file_name classifier_type output_filename type(-a:all -test:100 -single:1)" 1>&2 5 5 exit 1 6 6 fi … … 47 47 done 48 48 ;; 49 -single) 50 #Runs javaImagesClassifier on ONE image 51 javac -cp /Scratch/cpb16/opencv-3.4.2/build/bin/opencv-342.jar javaImageClassifier.java; 52 echo $file_name 53 echo $output 54 echo $classifier_type 55 java -cp /Scratch/cpb16/opencv-3.4.2/build/bin/opencv-342.jar:. -Djava.library.path=/Scratch/cpb16/opencv-3.4.2/build/lib/ javaImageClassifier $file_name $classifier_type $output 56 49 57 50 58 esac
Note:
See TracChangeset
for help on using the changeset viewer.