update,
This commit is contained in:
18
vinniesniper-54816/task1/_lab/004-haar-classifier.obsolete/create_samples.sh
Executable file
18
vinniesniper-54816/task1/_lab/004-haar-classifier.obsolete/create_samples.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
|
||||
find p -type f > positives.txt
|
||||
|
||||
opencv_createsamples \
|
||||
-info positives.txt \
|
||||
-vec positives.vec \
|
||||
-w 20 -h 20
|
||||
|
||||
find n -type f > negatives.txt
|
||||
|
||||
opencv_createsamples \
|
||||
-bg negatives.txt \
|
||||
-vec negatives.vec \
|
||||
-w 20 -h 20 \
|
||||
-num 100
|
Reference in New Issue
Block a user