Python realsense slow

I’m using pyrealsense in my project and I have noticed that the execution time of the decimation filter on Jetson Xavier NX is very slow (80 ms for frame), while on the same machine a corresponding CPP code runs much faster(5ms).
The same python code on PC runs fast as the CPP code does.
What can I do to improve the performance of pyrealsense python module on the jetson machine?

You may need to confirm the sensor mode been selected is the same.

it is the same. Also, the problem s not in the sensor, but in the post-processing steps of alignment and decimation.

Sorry got no idea may need more clue for it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.