top of page
  • 執筆者の写真LIPS

Pythonを使用したLIPSedgeAE400開発のジャンプスタート



Overview


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.


Prerequisite


Coding

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

Run



Tip

  • 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.

閲覧数:72回0件のコメント
bottom of page