Going somewhere with a coffee.
This commit is contained in:
1 parent
84b9c2674c
commit
f5b8e24e01
6 files changed
+191
-5
No files matched your search
@@ -10,11 +10,11 @@ def tensor_of(data_type: pa.DataType, cols: list[str]) -> pa.DataFrameSchema:
|
||||
return pa.DataFrameSchema({col: pa.Column(data_type) for col in cols})
|
||||
|
||||
|
||||
DetectedObject_ = tensor_of(Float32, ["xmin", "ymin", "xmax", "ymax", "score",
|
||||
DetectedObject = tensor_of(Float32, ["xmin", "ymin", "xmax", "ymax", "score",
|
||||
"category"])
|
||||
|
||||
TrackedDetectedObject = tensor_of(Float64,
|
||||
list(DetectedObject_.columns) + ["object_id", "index"])
|
||||
list(DetectedObject.columns) + ["object_id", "index"])
|
||||
|
||||
|
||||
Color = tuple[int, int, int]
|
||||
Reference in new issue
Block a user