mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 17:14:26 +03:00
stationary objects won't have embeddings
This commit is contained in:
parent
7f31a94520
commit
debd21ed41
@ -487,7 +487,8 @@ class NorfairTracker(ObjectTracker):
|
|||||||
detection = Detection(
|
detection = Detection(
|
||||||
points=points,
|
points=points,
|
||||||
label=label,
|
label=label,
|
||||||
embedding=obj[6],
|
# TODO: stationary objects won't have embeddings
|
||||||
|
embedding=obj[6] if len(obj) > 6 else None,
|
||||||
data={
|
data={
|
||||||
"label": label,
|
"label": label,
|
||||||
"score": obj[1],
|
"score": obj[1],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user