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

align_filter_viewer.py example does not work #74

Open
lionbur opened this issue Oct 9, 2024 · 2 comments
Open

align_filter_viewer.py example does not work #74

lionbur opened this issue Oct 9, 2024 · 2 comments

Comments

@lionbur
Copy link

lionbur commented Oct 9, 2024

It fails on line 89:

            frames = align_filter.process(frames)

Calling process always return None.

Running on Raspberry Pi 5 with latest Raspberry Pi OS 64-bit with Orbbec Astra 2 attached via USB 3 port.

Is there a workaround for this (aligning color and depth frames with some code)?

Full output:

[10/09 17:30:36.112454][info][30149][Context.cpp:68] Context created with config: /home/admin/work/pyorbbecsdk/config/OrbbecSDKConfig_v1.0.xml
[10/09 17:30:36.112491][info][30149][Context.cpp:73] Work directory=/home/admin/work/pyorbbecsdk/examples, SDK version=v1.10.12-20240809-69b687f
[10/09 17:30:36.112500][info][30149][LinuxPal.cpp:32] createObPal: create LinuxPal!
[10/09 17:30:36.243129][info][30149][LinuxPal.cpp:143] Create PollingDeviceWatcher!
[10/09 17:30:36.243157][info][30149][DeviceManager.cpp:15] Current found device(s): (1)
[10/09 17:30:36.243163][info][30149][DeviceManager.cpp:24] 	- Name: Orbbec Astra 2, PID: 0x0660, SN/ID: AARJ73P0065, Connection: USB2.0
[10/09 17:30:36.243169][info][30149][Pipeline.cpp:15] Try to create pipeline with default device.
[10/09 17:30:36.355937][info][30149][Astra2Device.cpp:343] Create command done!
[10/09 17:30:36.357892][info][30149][Astra2Device.cpp:410] init sensor map start!
[10/09 17:30:36.359873][info][30149][AbstractDevice.cpp:121] 	- Firmware version: 2.8.20
[10/09 17:30:36.394496][info][30149][Astra2Device.cpp:157] Astra2 device created! PID: 0x0660, SN: AARJ73P0065
[10/09 17:30:36.394510][info][30149][DeviceManager.cpp:150] Device created successfully! Name: Orbbec Astra 2, PID: 0x0660, SN/ID: AARJ73P0065
[10/09 17:30:36.394531][info][30149][Pipeline.cpp:47] Pipeline created with device: {name: Orbbec Astra 2, sn: AARJ73P0065}, @0x2EF1E710
[10/09 17:30:36.403385][info][30149][Astra2Device.cpp:625] Rgb sensor has been created!
[10/09 17:30:36.410276][info][30149][VideoSensor.cpp:384] Query stream profile! size= 120, SensorType=OB_SENSOR_COLOR
[10/09 17:30:36.410291][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 720, fps: 30}
[10/09 17:30:36.410296][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 180, fps: 30}
[10/09 17:30:36.410300][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 180, fps: 15}
[10/09 17:30:36.410305][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 180, fps: 10}
[10/09 17:30:36.410309][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 180, fps: 5}
[10/09 17:30:36.410312][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 240, fps: 30}
[10/09 17:30:36.410316][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 240, fps: 15}
[10/09 17:30:36.410320][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 240, fps: 10}
[10/09 17:30:36.410324][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 320, height: 240, fps: 5}
[10/09 17:30:36.410328][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 400, height: 300, fps: 30}
[10/09 17:30:36.410332][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 400, height: 300, fps: 15}
[10/09 17:30:36.410336][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 400, height: 300, fps: 10}
[10/09 17:30:36.410340][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 400, height: 300, fps: 5}
[10/09 17:30:36.410344][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 360, fps: 30}
[10/09 17:30:36.410349][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 360, fps: 15}
[10/09 17:30:36.410357][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 360, fps: 10}
[10/09 17:30:36.410361][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 360, fps: 5}
[10/09 17:30:36.410366][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 480, fps: 30}
[10/09 17:30:36.410371][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 480, fps: 15}
[10/09 17:30:36.410374][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 480, fps: 10}
[10/09 17:30:36.410378][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 640, height: 480, fps: 5}
[10/09 17:30:36.410382][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 800, height: 600, fps: 10}
[10/09 17:30:36.410386][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 800, height: 600, fps: 5}
[10/09 17:30:36.410390][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 1280, height: 720, fps: 10}
[10/09 17:30:36.410394][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_YUYV, width: 1280, height: 720, fps: 5}
[10/09 17:30:36.410397][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 320, height: 240, fps: 30}
[10/09 17:30:36.410401][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 320, height: 240, fps: 15}
[10/09 17:30:36.410405][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 320, height: 240, fps: 10}
[10/09 17:30:36.410408][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 320, height: 240, fps: 5}
[10/09 17:30:36.410412][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 360, fps: 30}
[10/09 17:30:36.410416][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 360, fps: 15}
[10/09 17:30:36.410419][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 360, fps: 10}
[10/09 17:30:36.410423][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 360, fps: 5}
[10/09 17:30:36.410427][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 480, fps: 30}
[10/09 17:30:36.410431][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 480, fps: 15}
[10/09 17:30:36.410434][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 480, fps: 10}
[10/09 17:30:36.410438][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 640, height: 480, fps: 5}
[10/09 17:30:36.410442][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 800, height: 600, fps: 30}
[10/09 17:30:36.410445][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 800, height: 600, fps: 15}
[10/09 17:30:36.410449][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 800, height: 600, fps: 10}
[10/09 17:30:36.410453][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 800, height: 600, fps: 5}
[10/09 17:30:36.410456][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 720, fps: 15}
[10/09 17:30:36.410460][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 720, fps: 10}
[10/09 17:30:36.410465][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 720, fps: 5}
[10/09 17:30:36.410469][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 960, fps: 30}
[10/09 17:30:36.410473][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 960, fps: 15}
[10/09 17:30:36.410478][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 960, fps: 10}
[10/09 17:30:36.410482][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 960, fps: 5}
[10/09 17:30:36.410486][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1440, height: 1080, fps: 30}
[10/09 17:30:36.410489][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1440, height: 1080, fps: 15}
[10/09 17:30:36.410493][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1440, height: 1080, fps: 10}
[10/09 17:30:36.410497][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1440, height: 1080, fps: 5}
[10/09 17:30:36.410501][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1920, height: 1080, fps: 30}
[10/09 17:30:36.410504][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1920, height: 1080, fps: 15}
[10/09 17:30:36.410508][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1920, height: 1080, fps: 10}
[10/09 17:30:36.410512][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1920, height: 1080, fps: 5}
[10/09 17:30:36.410517][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 320, height: 240, fps: 30}
[10/09 17:30:36.410521][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 320, height: 240, fps: 15}
[10/09 17:30:36.410524][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 320, height: 240, fps: 10}
[10/09 17:30:36.410528][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 320, height: 240, fps: 5}
[10/09 17:30:36.410532][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 360, fps: 30}
[10/09 17:30:36.410536][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 360, fps: 15}
[10/09 17:30:36.410539][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 360, fps: 10}
[10/09 17:30:36.410543][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 360, fps: 5}
[10/09 17:30:36.410547][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 480, fps: 30}
[10/09 17:30:36.410550][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 480, fps: 15}
[10/09 17:30:36.410554][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 480, fps: 10}
[10/09 17:30:36.410558][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 640, height: 480, fps: 5}
[10/09 17:30:36.410561][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 800, height: 600, fps: 30}
[10/09 17:30:36.410565][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 800, height: 600, fps: 15}
[10/09 17:30:36.410569][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 800, height: 600, fps: 10}
[10/09 17:30:36.410573][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 800, height: 600, fps: 5}
[10/09 17:30:36.410584][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 720, fps: 30}
[10/09 17:30:36.410588][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 720, fps: 15}
[10/09 17:30:36.410592][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 720, fps: 10}
[10/09 17:30:36.410597][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 720, fps: 5}
[10/09 17:30:36.410601][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 960, fps: 30}
[10/09 17:30:36.410605][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 960, fps: 15}
[10/09 17:30:36.410609][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 960, fps: 10}
[10/09 17:30:36.410612][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1280, height: 960, fps: 5}
[10/09 17:30:36.410616][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1440, height: 1080, fps: 30}
[10/09 17:30:36.410620][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1440, height: 1080, fps: 15}
[10/09 17:30:36.410624][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1440, height: 1080, fps: 10}
[10/09 17:30:36.410627][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1440, height: 1080, fps: 5}
[10/09 17:30:36.410631][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1920, height: 1080, fps: 30}
[10/09 17:30:36.410635][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1920, height: 1080, fps: 15}
[10/09 17:30:36.410639][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1920, height: 1080, fps: 10}
[10/09 17:30:36.410642][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_RGB888, width: 1920, height: 1080, fps: 5}
[10/09 17:30:36.410646][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 320, height: 240, fps: 30}
[10/09 17:30:36.410650][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 320, height: 240, fps: 15}
[10/09 17:30:36.410654][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 320, height: 240, fps: 10}
[10/09 17:30:36.410658][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 320, height: 240, fps: 5}
[10/09 17:30:36.410662][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 360, fps: 30}
[10/09 17:30:36.410666][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 360, fps: 15}
[10/09 17:30:36.410670][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 360, fps: 10}
[10/09 17:30:36.410673][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 360, fps: 5}
[10/09 17:30:36.410677][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 480, fps: 30}
[10/09 17:30:36.410681][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 480, fps: 15}
[10/09 17:30:36.410685][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 480, fps: 10}
[10/09 17:30:36.410689][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 640, height: 480, fps: 5}
[10/09 17:30:36.410694][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 800, height: 600, fps: 30}
[10/09 17:30:36.410698][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 800, height: 600, fps: 15}
[10/09 17:30:36.410702][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 800, height: 600, fps: 10}
[10/09 17:30:36.410709][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 800, height: 600, fps: 5}
[10/09 17:30:36.410713][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 720, fps: 30}
[10/09 17:30:36.410717][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 720, fps: 15}
[10/09 17:30:36.410720][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 720, fps: 10}
[10/09 17:30:36.410724][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 720, fps: 5}
[10/09 17:30:36.410728][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 960, fps: 30}
[10/09 17:30:36.410732][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 960, fps: 15}
[10/09 17:30:36.410735][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 960, fps: 10}
[10/09 17:30:36.410739][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1280, height: 960, fps: 5}
[10/09 17:30:36.410743][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1440, height: 1080, fps: 30}
[10/09 17:30:36.410747][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1440, height: 1080, fps: 15}
[10/09 17:30:36.410750][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1440, height: 1080, fps: 10}
[10/09 17:30:36.410754][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1440, height: 1080, fps: 5}
[10/09 17:30:36.410758][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1920, height: 1080, fps: 30}
[10/09 17:30:36.410761][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1920, height: 1080, fps: 15}
[10/09 17:30:36.410765][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1920, height: 1080, fps: 10}
[10/09 17:30:36.410769][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1920, height: 1080, fps: 5}
[10/09 17:30:36.414389][warning][30149][PropertyAccessor.cpp:114] Check Property Permission failed!, propertyId: 75, permission=2
[10/09 17:30:36.414395][warning][30149][ObException.cpp:5] Check Property Permission failed!, propertyId: 75, permission=2
[10/09 17:30:36.414440][warning][30149][AbstractDevice.cpp:407] Execute failure! A libobsensor_exception has occurred!
	 - where:407#setupDefaultDepthUnit
	 - msg:Check Property Permission failed!, propertyId: 75, permission=2
	 - type:N11libobsensor31unsupported_operation_exceptionE
[10/09 17:30:36.414444][warning][30149][AbstractDevice.cpp:407] Set depth precision to 1.0mm failed!
[10/09 17:30:36.415502][info][30149][Astra2Device.cpp:581] Depth sensor has been created!
[10/09 17:30:36.415641][info][30149][VideoSensor.cpp:384] Query stream profile! size= 27, SensorType=OB_SENSOR_DEPTH
[10/09 17:30:36.415647][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 400, height: 300, fps: 30}
[10/09 17:30:36.415654][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 400, height: 300, fps: 15}
[10/09 17:30:36.415658][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 400, height: 300, fps: 10}
[10/09 17:30:36.415662][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 400, height: 300, fps: 5}
[10/09 17:30:36.415666][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 800, height: 600, fps: 30}
[10/09 17:30:36.415670][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 800, height: 600, fps: 15}
[10/09 17:30:36.415675][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 800, height: 600, fps: 10}
[10/09 17:30:36.415678][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 800, height: 600, fps: 5}
[10/09 17:30:36.415682][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 1600, height: 1200, fps: 5}
[10/09 17:30:36.415686][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 400, height: 300, fps: 30}
[10/09 17:30:36.415690][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 400, height: 300, fps: 15}
[10/09 17:30:36.415694][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 400, height: 300, fps: 10}
[10/09 17:30:36.415697][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 400, height: 300, fps: 5}
[10/09 17:30:36.415701][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 800, height: 600, fps: 30}
[10/09 17:30:36.415705][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 800, height: 600, fps: 15}
[10/09 17:30:36.415709][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 800, height: 600, fps: 10}
[10/09 17:30:36.415712][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 800, height: 600, fps: 5}
[10/09 17:30:36.415716][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_RLE, width: 1600, height: 1200, fps: 5}
[10/09 17:30:36.415720][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 400, height: 300, fps: 30}
[10/09 17:30:36.415724][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 400, height: 300, fps: 15}
[10/09 17:30:36.415728][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 400, height: 300, fps: 10}
[10/09 17:30:36.415732][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 400, height: 300, fps: 5}
[10/09 17:30:36.415735][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 800, height: 600, fps: 30}
[10/09 17:30:36.415739][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 800, height: 600, fps: 15}
[10/09 17:30:36.415743][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 800, height: 600, fps: 10}
[10/09 17:30:36.415747][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 800, height: 600, fps: 5}
[10/09 17:30:36.415750][info][30149][VideoSensor.cpp:386]  - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 1600, height: 1200, fps: 5}
[10/09 17:30:36.415794][info][30149][Pipeline.cpp:188] Check and set config start!
[10/09 17:30:36.415815][info][30149][Pipeline.cpp:223] Check and set config done!
[10/09 17:30:36.419148][info][30149][Pipeline.cpp:288] Try to start streams!
[10/09 17:30:36.419182][info][30149][VideoSensor.cpp:646] start OB_SENSOR_COLOR stream with profile: {type: OB_STREAM_COLOR, format: OB_FORMAT_MJPG, width: 1280, height: 720, fps: 30}, Backend Format: OB_FORMAT_MJPG
[10/09 17:30:36.423241][info][30149][VideoSensor.cpp:646] start OB_SENSOR_DEPTH stream with profile: {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y14, width: 400, height: 300, fps: 30}, Backend Format: OB_FORMAT_Y14
[10/09 17:30:36.433681][info][30149][Pipeline.cpp:301] Start streams done!
[10/09 17:30:36.433689][info][30149][Pipeline.cpp:277] Pipeline start done!
[10/09 17:30:36.433750][warning][30149][NeonAlign.cpp:343] NeonAlign create.
[10/09 17:30:36.439775][warning][30160][VideoSensor.cpp:453] This frame will be dropped because the data size does not match the expectation! size=12152, expected=210000 @OB_SENSOR_DEPTH
strmh->payload_header_hold_bytes is invalid,size:0
[10/09 17:30:36.497779][warning][30159][VideoSensor.cpp:443] This frame will be dropped because jpg format verification failure! @OB_SENSOR_COLOR
strmh->payload_header_hold_bytes is invalid,size:0
strmh->payload_header_hold_bytes is invalid,size:0
[10/09 17:30:36.533840][warning][30149][Pipeline.cpp:377] Wait for frame timeout, you can try to increase the wait time! current timeout=100
[10/09 17:30:36.603611][warning][30149][ObException.cpp:5] Can not find matched camera param!
[10/09 17:30:36.603716][warning][30149][FrameProcessingBlock.cpp:43] Execute failure! A libobsensor_exception has occurred!
	 - where:43#process
	 - msg:Can not find matched camera param!
	 - type:N11libobsensor31unsupported_operation_exceptionE
[10/09 17:30:36.603722][error][30149][FrameProcessingBlock.cpp:43] Process failed!
[10/09 17:30:36.616958][info][30149][Pipeline.cpp:411] Try to stop pipeline!
[10/09 17:30:36.617005][info][30149][Pipeline.cpp:383] Try to stop streams!
[10/09 17:30:36.627265][info][30149][VideoSensor.cpp:734] Video sensor stopped, @OB_SENSOR_DEPTH
[10/09 17:30:36.627277][info][30149][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_DEPTH
[10/09 17:30:36.637171][info][30149][VideoSensor.cpp:734] Video sensor stopped, @OB_SENSOR_COLOR
[10/09 17:30:36.637193][info][30149][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_COLOR
[10/09 17:30:36.637198][info][30149][Pipeline.cpp:402] Stop streams done!
[10/09 17:30:36.638307][info][30149][Pipeline.cpp:443] Stop pipeline done!
[10/09 17:30:36.638321][info][30149][Pipeline.cpp:75] Pipeline destroyed! @0x2EF1E710
[10/09 17:30:36.638335][info][30149][Astra2Device.cpp:161] Astra2 device destroyed! PID: 0x0660, SN: AARJ73P0065
[10/09 17:30:36.638349][info][30149][VideoSensor.cpp:303] VideoSensor destroyed, @OB_SENSOR_COLOR
[10/09 17:30:36.638460][info][30149][VideoSensor.cpp:303] VideoSensor destroyed, @OB_SENSOR_DEPTH
[10/09 17:30:36.641940][info][30149][ObLibuvcDevicePort.cpp:70] uvc_close done.
[10/09 17:30:36.641965][info][30149][ObLibuvcDevicePort.cpp:71] ~ObLibuvcDevicePort done
[10/09 17:30:36.644469][info][30149][ObLibuvcDevicePort.cpp:70] uvc_close done.
[10/09 17:30:36.644496][info][30149][ObLibuvcDevicePort.cpp:71] ~ObLibuvcDevicePort done
[10/09 17:30:36.646166][info][30149][Context.cpp:84] Context destroyed
[10/09 17:30:36.646286][warning][30162][VideoSensor.cpp:443] This frame will be dropped because jpg format verification failure! @OB_SENSOR_COLOR [**3 logs in 148ms, last: 17:30:36.554363**]
[10/09 17:30:36.646398][warning][30161][VideoSensor.cpp:453] This frame will be dropped because the data size does not match the expectation! size=36736, expected=210000 @OB_SENSOR_DEPTH [**8 logs in 206ms, last: 17:30:36.508084**]
@zhonghong322
Copy link
Contributor

zhonghong322 commented Oct 14, 2024

Right now, The align_filter_viewer.py sample only supports the Gemini 330 series. For Astra2, please use the depth_color_sync_align_viewer.py sample.

@mightypanda
Copy link

Can we build and use the pyorbbecsdk for a Gemini 2 on a Raspberry Pi 5 without problems?

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

3 participants