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
|
-
Property svn:executable
set to
*
|
File size:
398 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ $# != 2 ] ; then
|
---|
4 | echo "Usage: ./testClassifier.sh file_name classifier_type" 1>&2
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | folder_name=$1
|
---|
9 | classifier_type=$2
|
---|
10 |
|
---|
11 | for file_name in $folder_name/*.png; do
|
---|
12 | echo $file_name
|
---|
13 | echo ""
|
---|
14 | 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
|
---|
15 | done
|
---|
16 |
|
---|
17 |
|
---|
18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.