Last change
on this file since 33097 was 33097, checked in by cpb16, 5 years ago |
Have compiled openCV java from terminal. Have created classifier one. Have understood HoughLinesTransformation. Have created general streamline for runnning further classfiers and viewing accuracy rates
|
File size:
574 bytes
|
Line | |
---|
1 | #https://www.tensorflow.org/install/lang_java
|
---|
2 | #testClassifier runs the cmd below
|
---|
3 | #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
|
---|
4 |
|
---|
5 | test-run-classifier01:
|
---|
6 | javac javaAccuracyCalculator.java
|
---|
7 | javac -cp /Scratch/cpb16/opencv-3.4.2/build/bin/opencv-342.jar javaImageClassifier.java;
|
---|
8 | ./testClassifer.sh TestImages 1
|
---|
9 | echo "Displaying javaImageClassifier output"
|
---|
10 | less log.txt
|
---|
11 | java javaAccuracyCalculator log.txt 1 results.txt
|
---|
12 | less results.txt
|
---|
13 | rm log.txt
|
---|
14 |
|
---|
15 |
|
---|
16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.