source: other-projects/is-sheet-music-encore/trunk/image-identification-terminal/Makefile@ 33447

Last change on this file since 33447 was 33447, checked in by cpb16, 5 years ago

starting to implement terminal version of new morphology. need to fix. return bariables always returning null

File size: 2.4 KB
RevLine 
[33097]1#https://www.tensorflow.org/install/lang_java
2#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 TestImages/Test.png 1
3
[33170]4testrun-classifier-houghlinesP:
[33141]5 #Compile
[33097]6 javac javaAccuracyCalculator.java
7 javac -cp /Scratch/cpb16/opencv-3.4.2/build/bin/opencv-342.jar javaImageClassifier.java;
[33141]8 #Run javaImageClassifier on all images in TestImages
9 ./runClassifer.sh TestImages houghlinesP
[33097]10 echo "Displaying javaImageClassifier output"
[33141]11 #Display output of javaImageClassifier
[33097]12 less log.txt
[33141]13 #Calculate the Accuracy of the classifier
14 java javaAccuracyCalculator log.txt houghlinesP results.txt
15 #Display output
[33097]16 less results.txt
17 rm log.txt
[33141]18 rm results.txt
[33097]19
[33415]20testrun-classifier-single-cluster:
21 ./runClassifer.sh TestImages/test-coo.31924062612282-9.png cluster logSingle.txt -singleNew
[33340]22 echo "Displaying javaImageClassifier output"
23 #Calculate the Accuracy of the classifier
[33415]24 java javaAccuracyCalculator logSingle.txt houghlinesP resultSingle.txt
[33340]25 #Display output
[33415]26 less resultSingle.txt
27 less logSingle.txt
[33097]28
[33415]29testrun-classifier-single-count:
30 ./runClassifer.sh TestImages/test-coo.31924062612282-9.png count logSingle.txt -singleNew
31 echo "Displaying javaImageClassifier output"
32 #Calculate the Accuracy of the classifier
33 java javaAccuracyCalculator logSingle.txt houghlinesP resultSingle.txt
34 #Display output
35 less logSingle.txt
[33437]36
[33447]37testrun-classifier-single-combo:
38 ./runClassifer.sh TestImages/test-coo.31924062612282-9.png combo logSingle.txt -singleNew
39 echo "Displaying javaImageClassifier output"
40 #Calculate the Accuracy of the classifier
41 java javaAccuracyCalculator logSingle.txt houghlinesP resultSingle.txt
42 #Display output
43 less logSingle.txt
44
[33437]45testrun-classifier-single-morph:
46 javac -cp /Scratch/cpb16/opencv-3.4.2/build/bin/opencv-342.jar javaClassifierComparison.java;
[33447]47 ./runClassifer.sh /Scratch/cpb16/is-sheet-music-encore/hires-download-images/MU/SheetMusic/coo.31924062612282-9.png morphology log-all-hires-new/test/logSingle.txt -singleNew
[33437]48 echo "Displaying javaImageClassifier output"
49 #Calculate the Accuracy of the classifier
[33447]50 java javaAccuracyCalculator log-all-hires-new/test/logSingle.txt morphology-MU log-all-hires-new/test/resultSingle.txt
[33437]51 #Display output
[33447]52 less log-all-hires-new/test/logSingle.txt
[33415]53
54
Note: See TracBrowser for help on using the repository browser.