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

automatic_region_of_interest.py failed: AttributeError #638

Closed
2 tasks done
katsunori-waragai opened this issue Jun 21, 2024 · 1 comment
Closed
2 tasks done

automatic_region_of_interest.py failed: AttributeError #638

katsunori-waragai opened this issue Jun 21, 2024 · 1 comment
Labels
bug_report closed_for_stale Issue closed for inactivity Stale

Comments

@katsunori-waragai
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

The following sample scripts in the ZED SDK could not be executed.
zed-sdk/depth sensing/automatic region of interest/python/automatic_region_of_interest.py

Steps to Reproduce

  1. git clone git@github.com:stereolabs/zed-sdk.git
  2. cd "depth sensing/automatic region of interest/python"
  3. python3 automatic_region_of_interest.py
    ...

Expected Result

should not raise error just after starting the script.

Actual Result

python3 automatic_region_of_interest.py 
[Sample] Using default resolution
[2024-06-20 09:32:21 UTC][ZED][INFO] Logging level INFO
[2024-06-20 09:32:22 UTC][ZED][INFO] Using USB input... Switched to default resolution HD720
[2024-06-20 09:32:22 UTC][ZED][INFO] [Init]  Depth mode: NEURAL
[2024-06-20 09:32:23 UTC][ZED][INFO] [Init]  Camera successfully opened.
[2024-06-20 09:32:23 UTC][ZED][INFO] [Init]  Camera FW version: 1523
[2024-06-20 09:32:23 UTC][ZED][INFO] [Init]  Video mode: HD720@60
[2024-06-20 09:32:23 UTC][ZED][INFO] [Init]  Serial Number: S/N 32045770
Press 'a' to apply the ROI
Press 'r' to reset the ROI
Press 's' to save the ROI as image file to reload it later
Press 'l' to load the ROI from an image file
Traceback (most recent call last):
  File "automatic_region_of_interest.py", line 173, in <module>
    main()
  File "automatic_region_of_interest.py", line 108, in main
    roi_param.auto_apply = True
AttributeError: 'pyzed.sl.RegionOfInterestParameters' object has no attribute 'auto_apply'

ZED Camera model

ZED2i

Environment

OS: Ubuntu 20.04 LTS
CPU: ARM
GPU: Nvidia Jetson AGX orin
ZED SDK version: 4.1.1
Other info: JetPack 5.1, python3.8.10

Anything else?

No response

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days

@github-actions github-actions bot added Stale closed_for_stale Issue closed for inactivity labels Jul 22, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug_report closed_for_stale Issue closed for inactivity Stale
Development

No branches or pull requests

1 participant