forked from cvat-ai/cvat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
function.yaml
35 lines (31 loc) · 853 Bytes
/
function.yaml
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
metadata:
name: openvino-omz-intel-text-detection-0004
namespace: cvat
annotations:
name: Text detection v4
type: detector
spec: |
[
{ "id": 1, "name": "text", "type": "mask" }
]
spec:
description: Text detector based on PixelLink architecture with MobileNetV2-like as a backbone for indoor/outdoor scenes.
runtime: 'python:3.8'
handler: main:handler
eventTimeout: 30s
build:
image: cvat.openvino.omz.intel.text-detection-0004
baseImage: cvat.openvino.omz.intel.text-detection-0004.base
triggers:
myHttpTrigger:
maxWorkers: 2
kind: 'http'
workerAvailabilityTimeoutMilliseconds: 10000
attributes:
maxRequestBodySize: 33554432 # 32MB
platform:
attributes:
restartPolicy:
name: always
maximumRetryCount: 3
mountMode: volume