-
Notifications
You must be signed in to change notification settings - Fork 9
/
onlycascade.yml
52 lines (38 loc) · 1.01 KB
/
onlycascade.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
pipeline:
- name: human-face-detector-haar
type: simpledetector
inputs:
- files
params:
model: /root/data/haarcascades/haarcascade_frontalface_default.xml
outputlabel: humanface
# triggerlabels: The list of labels to filter on. Only ROIs with one of these
# labels are considered for detection.
triggerlabels:
- person
- name: cat-face-detector-lbp
type: simpledetector
inputs:
- files
params:
model: /root/data/lbpcascades/lbpcascade_frontalcatface.xml
# Label to give to ROIs of this detector.
outputlabel: catface
# Detection is run only on ROIs which match these labels.
triggerlabels:
- cat
# Optional params for cascade classifier to adjust false positive and false negative
# rates.
scaledown_factor: 1.1
min_neighbors: 0
- name: annotatedphotowriter
type: photowriter
inputs:
- human-face-detector-haar
- cat-face-detector-lbp
params:
format: jpg
size:
width: 640
height: 480