-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
57 lines (48 loc) · 1.84 KB
/
config.example.yaml
File metadata and controls
57 lines (48 loc) · 1.84 KB
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
53
54
55
56
57
# openbook Configuration Example
# Copy this file to config.yaml and customize for your setup
aws:
region: us-east-1
rekognition:
collectionId: openbook-faces
minConfidence: 80 # Match threshold (0-100)
searchMethod: faces # "faces" (individual) or "users" (aggregated vectors) or "compare" (direct comparison)
rateLimit:
minTime: 200 # Minimum ms between requests
maxConcurrent: 5 # Max concurrent API calls
indexing:
maxFaces: 1 # Faces to index per reference photo
qualityFilter: AUTO # NONE, AUTO, LOW, MEDIUM, HIGH
detectionAttributes: DEFAULT # DEFAULT or ALL
searching:
maxFaces: 10 # Max faces to search per photo
maxUsers: 10 # Max users to search per photo (when searchMethod: users)
imageProcessing:
maxDimension: 4096 # Max pixel dimension before resizing
jpegQuality: 90 # Quality for JPEG conversion (1-100)
sources:
local:
paths:
- ~/Pictures/Family # Folders to scan for photos
extensions:
- ".jpg"
- ".jpeg"
- ".png"
- ".heic"
- ".HEIC"
training:
referencesPath: ./references # Path to reference photos for training
albums:
prefix: "openbook" # Album naming: "openbook: Mom"
session:
timeoutMinutes: 15 # Session cache validity
display:
photoLimit: 250 # Max photos shown in list output
pageSize: 50 # Results per page (with --page)
progressBarWidth: 20 # Width of progress bar in characters
columns:
personName: 12 # Person name column width
folder: 16 # Folder column width
filename: 35 # Filename column width
scanning:
concurrency: 10 # Parallel AWS requests (1-10)
maxSortBuffer: 100000 # Max files to sort in memory