File size: 491 Bytes
42310ef
 
00c0329
 
 
 
 
 
 
 
 
 
42310ef
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Benchmark:
  name: "Text Detection Benchmark"
  data:
    path: "benchmark/data/text"
    files: ["1.jpg", "2.jpg", "3.jpg"]
  metric:
    sizes: # [[w1, h1], ...], Omit to run at original scale
      - [640, 480]
    warmup: 3
    repeat: 10
    batchSize: 1
    reduction: 'median'
  backend: "default"
  target: "cpu"

Model:
  name: "DB"
  modelPath: "models/text_detection_db/text_detection_db.onnx"
  binaryThreshold: 0.3
  polygonThreshold: 0.5
  maxCandidates: 200
  unclipRatio: 2.0