Skip to content
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

OBProperty Not Writable #107

Open
yehuda-1m opened this issue Jan 12, 2025 · 1 comment
Open

OBProperty Not Writable #107

yehuda-1m opened this issue Jan 12, 2025 · 1 comment

Comments

@yehuda-1m
Copy link

yehuda-1m commented Jan 12, 2025

In the Orbbec Viewer there are several properties that can be tuned, including Auto Exposure ROI, min/ max depth, which are very helpful for our application. However, when I try to set them via the sdk as show here in section 4.2.2.5, I get this error:

Cell In[3], [line 5](vscode-notebook-cell:?execution_count=3&line=5)
      [3](vscode-notebook-cell:?execution_count=3&line=3) device = pipeline.get_device()
      [4](vscode-notebook-cell:?execution_count=3&line=4) # Set the min Depth value, and the Depth less than the modified value will be set to 0,Unit: mm
----> [5](vscode-notebook-cell:?execution_count=3&line=5) device.set_int_property(OBPropertyID.OB_PROP_MIN_DEPTH_INT , 100)
      [6](vscode-notebook-cell:?execution_count=3&line=6) # Set the max Depth value, the Depth greater than the modified value will be set to 0, unit mm
      [7](vscode-notebook-cell:?execution_count=3&line=7) device.set_int_property(OBPropertyID.OB_PROP_MAX_DEPTH_INT , 1000)

OBError: Property not writable

Has anyone been able to set these values using python?
I'm running python3.11 with pyorbbec 2.0.5 on ubuntu

@zhonghong322
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants