chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:23 +08:00
commit 10df941303
2913 changed files with 455804 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Copyright (C) CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
import cvat_sdk.auto_annotation as cvataa
import cvat_sdk.models as models
import PIL.Image
spec = cvataa.DetectionFunctionSpec(
labels=[
cvataa.label_spec("car", 0),
],
)
def detect(
context: cvataa.DetectionFunctionContext, image: PIL.Image.Image
) -> list[models.LabeledShapeRequest]:
return [
cvataa.rectangle(0, [1, 2, 3, 4]),
]