Jump Start LIPSedge AE400 Development with Python


In this article, we would like to demonstrate how to write a simple program that get the depth of the center point of the camera frame using Python with LIPSedge AE400.



Chose your favorite IDE or text editor to create source code file hello-lips-ae.py with content below . The code simply create a RealSense API object for video streaming. Get one frame and retrieve the depth data on the center of that frame. You can see the comment for line by line explanation.

  • hello-lips-ae.py



  • Python module conflict - If you install pyrealsense2 through package manager like pip. The module you installed is located at the default module search path. Set environment variable PYTHONPATH to the directory where LIPSedge AE400 RealSense SDK built for Python to search the module we built.

The original article is from LIPS Help Center. If you have any questions, please post them to LIPS Forum.

75 views0 comments

Recent Posts

See All