-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big refactor. Visualizer doesn't work, neither does packet syncing. O…
…nly queue/callback should work. Test other options as well (Ros stremaing, recording, etc.)
- Loading branch information
Showing
34 changed files
with
694 additions
and
1,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"platform": "pc", | ||
"frame_shape": [720, 1280], | ||
"config": { | ||
"output": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
{ | ||
"platform": { | ||
"type": "string", | ||
"enum": [ | ||
"pc", | ||
"robothub" | ||
] | ||
}, | ||
"frame_shape": { | ||
"type": "array", | ||
"items": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from depthai_sdk import OakCamera | ||
from depthai_sdk.classes.packets import FramePacket | ||
import cv2 | ||
|
||
with OakCamera() as oak: | ||
color = oak.create_camera('color') | ||
q = oak.create_queue(color, max_size=5) | ||
|
||
oak.show_graph() | ||
oak.start() | ||
|
||
while oak.running(): | ||
oak.poll() | ||
p: FramePacket = q.get(block=True) | ||
cv2.imshow(p.name, p.frame) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.