-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to specify IP address of OAK-D Pro #26
Comments
I don't have any POE device to test and I am realizing that my scripts don't work on POE devices without modification of the scripts.
?
If you don't any get error with empty pipeline, can you in addition replace:
by:
? |
for reference here is my current project which runs fine on the OAK-D pro POE and sends out the landmark data over OSC. https://github.com/stephanschulz/depthai_blazepose/tree/main/depthai_osc adding
produces this error
adding:
causes this error message
|
?
|
here in this test branch i try to first create a pipleline
I had to modify the create_pipeline function to not 'create pipeline' but rather set related values.
Probably 'cam_out' is not seen because it was added too late? |
Actually, in my code, I separated the depthai_blazepose/BlazeposeDepthaiEdge.py Line 104 in a3ce15a
from the: depthai_blazepose/BlazeposeDepthaiEdge.py Line 180 in a3ce15a
because between the 2 lines, I wanted to check if I the device of the user had 2 mono cameras in case he used the '-xyz' argument. it is a bit superfluous test (you can do without it). So I propose in your case to regroup the 2 commands and remove the test. In practice:
|
Thank you very much. In addition i also had to comment out these lines inside
Since these lines are needed for lens calibration i wonder if they should be added somewhere else ? |
The reason of these lines is that when you want to use aligned color and depth frames, you should keep the focus constant (autofocus disabled) and more precisely set the focus value to the same value used during the camera calibration. This value is stored in eeprom with other calibration data. This value does not change, let's say it is 130. In your case, you can hardcode the value and just keep the line: |
I know this might be a question for the depthai github account but their examples do not seem to use your code structure.
I have multiple OAK-D pros connected to the same network, each with their own fixed IP address.
I am hoping to define in the code which device to connect to.
But doing this does not work:
https://github.com/geaxgx/depthai_blazepose/blob/main/BlazeposeDepthaiEdge.py#L104
But in their example they are using a structure that does not seem to match the way you write your code:
The text was updated successfully, but these errors were encountered: