RRobertH
- Oct 20, 2024
- Joined Jan 30, 2024
- 0 best answers
Hi @RobertH
RobertH From depth_preview_sr.py source code, no explicit CAM* terms are specified
It's set to "left" and "right" which corresponds to cam_b and cam_c.
RobertH Wonder if I have more than OAK camera connected to PC simultaneously, how I specify which one I want to control?
Not sure what you mean. For multiple devices: https://docs.luxonis.com/projects/api/en/latest/samples/mixed/multiple_devices/.
Thanks,
JakaHi @RobertH
RobertH (Question 1) If I don't want to double-click invoke D:\Python\Python311\Scripts\depthai-viewer.exe dirtectly and use prompt to invoke it instead, what commands do I type in prompt command environment?
You would need to add the the viewer and the site-packages to system PATH, they don't get added automatically.
RobertH (Question 2) Depthai Viewer is to use SDK or API (or both) and to use Rust(listed in GitHub) or Python language to implement this application?
The viewer uses SDK. The depthai side is python based, while the viewer (RERUN) side is written in Rust (window updates and dynamic changes..).
RobertH (Question 3) I would like to trace the source code of depthai-viewer porject (what functions in SDK or API are used one by one) for my application of depth information extraction from 2D camera frame. Do you think depthai-viewer is a good starting-point project or any other project you suggest? My preferenced programming language is Python.
There is a bunch... Here they are. The viewer is not a good starting point unless you like pain
. For python starting point and getting used to depthai, I'd recommend our examples: https://docs.luxonis.com/projects/api/en/latest/tutorials/code_samples/.
Should be much easier to learn not having to deal with rust's quirks.Thanks,
Jaka