Edit Template

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

If you’re looking to develop 3D camera applications using LIPSedge AE400 with Python, you’ve come to the right place. In this article, we’ll guide you through the process of writing a simple program that retrieves the depth of the center point of the camera frame.

 

前提条件

Before we begin, you need to install LIPSedge AE400 RealSense SDK . If you haven’t done so already, check out our guide on how to install it.

 

コーディング

Chose your favorite IDE or text editor to create source code file hello-lips-ae.py with content below. The code simply creates 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

hello-lips-ae.py コード

走る

To run the program, open a terminal window or command prompt and navigate to the directory where your “hello-lips-ae.py” file is located. Type python hello-lips-ae.py and press enter. You should see the depth value of the center pixel printed on the console.

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.

Pythonのビルドディレクトリ

 

In this article, we’ve shown you how to develop a simple program that retrieves the depth of the center pixel of the camera frame using Python and LIPSedge AE400 3D camera. We hope this serves as a jumping-off point for your own 3D camera development projects. If you have any questions, please post them to LIPS Forum .

Explore the solutions, products, and resources offered by LIPS

Quickly find what you need!

Enter your work email to download the full LIPSMetric ST115b datasheet.

Enter your work email to download the full LIPSMetric ST130e datasheet.

Enter your work email to download the full LIPSMetric ST110d datasheet.

請提供您的公司電子郵件,以取得 LIPSMetric ST115b 詳細技術資料表。

請提供您的公司電子郵件,以取得 LIPSMetric ST110d 詳細技術資料表。

請提供您的公司電子郵件,以取得 LIPSMetric ST130e 詳細技術資料表。

Get Our Latest Updates

訂閱我們的最新資訊​

チャンネルの登録

LIPSMetric ST130e データシート(完全版)をダウンロードするには、会社用メールアドレスをご入力ください。

LIPSMetric ST110d データシート(完全版)をダウンロードするには、会社用メールアドレスをご入力ください。

LIPSMetric ST115b データシート(完全版)をダウンロードするには、会社用メールアドレスをご入力ください。