Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ def process(
detections=detections.detections, tracklets=tracklets
):
continue

file_name = f"{cond.name}_{int(time.time())}"
file_group = dai.FileGroup()
file_group.addImageDetectionsPair(file_name, frame, detections)
snap = SnapData(
snap_name=cond.name,
file_name=f"{cond.name}_{int(time.time())}",
frame=frame,
detections=detections,
file_group=file_group,
tags=cond.tags,
extras=cond.make_extras(),
)
Expand Down
2 changes: 1 addition & 1 deletion apps/data-collection/backend/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
depthai==3.2.1
depthai-nodes==0.3.7
depthai-nodes @ git+https://github.com/luxonis/depthai-nodes.git@feat/dai_dev_req
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description states this should be merged after the new depthai_nodes release (0.3.8), but the requirements are pointing to a git branch instead of the version number. This should be updated to use the released version once depthai-nodes 0.3.8 is published to ensure reproducible builds and proper dependency management.

Copilot uses AI. Check for mistakes.
opencv-python-headless~=4.10.0
numpy>=1.22
tokenizers~=0.21.0
Expand Down
3 changes: 2 additions & 1 deletion integrations/hub-snaps-events/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
depthai==3.2.1
depthai-nodes==0.3.7
#depthai-nodes==0.3.7
depthai-nodes @ git+https://github.com/luxonis/depthai-nodes.git@feat/dai_dev_req
Comment on lines +2 to +3
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description states this should be merged after the new depthai_nodes release (0.3.8), but the requirements are pointing to a git branch instead of the version number. This should be updated to use the released version once depthai-nodes 0.3.8 is published to ensure reproducible builds and proper dependency management.

Copilot uses AI. Check for mistakes.
python-dotenv

6 changes: 3 additions & 3 deletions integrations/hub-snaps-events/utils/snaps_producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ def process(
return

if time.time() - self._last_sent >= self._time_interval:
file_group = dai.FileGroup()
file_group.addImageDetectionsPair(None, frame, detections)
snap = SnapData(
snap_name="test_snap",
file_name=None,
frame=frame,
detections=detections,
file_group=file_group,
tags=["test_tag"],
extras={"extra_key": "extra_value"},
)
Expand Down
Loading