---
title: Python
description: "## [https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#examples](https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#examples)Examples | Name | Description | | --- | --- | | [environment_setup](https://dev.lips-hci.com/overview-1/environment_setup/) | Help you verify development environment setting | | [hello-lipsdege-sdk](https://dev.lips-hci.com/overview-1/hello_lipsedge_sdk/) | Connect to the camera and print camera info | | [opencv_viewer](https://dev.lips-hci.com/overview-1/opencv_viewer/) | Retrieve camera frames,…"
url: "https://dev.lips-hci.com/lipsedge-sdk-python/python/"
updated: "2025-07-28"
category: "LIPSedge™ SDK 1.x / LIPSedge™ SDK Languages & Libraries / Python"
tags:
  - LIPSedge SDK
---

# Python

## [https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#examples](https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#examples)Examples

| Name | Description |
| --- | --- |
| [environment_setup](https://dev.lips-hci.com/overview-1/environment_setup/) | Help you verify development environment setting |
| [hello-lipsdege-sdk](https://dev.lips-hci.com/overview-1/hello_lipsedge_sdk/) | Connect to the camera and print camera info |
| [opencv_viewer](https://dev.lips-hci.com/overview-1/opencv_viewer/) | Retrieve camera frames, convert to OpenCV Mat then display |
| [roi](https://dev.lips-hci.com/overview-1/roi-2/) | Region of interest |
| [depth_data](https://dev.lips-hci.com/overview-1/depth_data/) | Get the depth value by pixel coordinate (x,y) |
| [align-depth-color](https://dev.lips-hci.com/overview-1/align-depth-color-2/) | Align depth and RGB frame to the same coordinate |
| [range_filter](https://dev.lips-hci.com/overview-1/range-filter-2/) | Get the data only in desired distance only |
| [remove-background](https://dev.lips-hci.com/overview-1/remove-background-2/) | Use range filter to filter out the background |
| [record](https://dev.lips-hci.com/overview-1/record-2/) | Record camera streams for NiViewer playback |

## Prerequisite

> Make sure to [install OpenNI2 SDK](https://lips-hci.gitbook.io/lips-developer-documentation/lipsedge-tm-sdk-1.x/lipsedge-tm-sdk-1.x) first.

## Install openni python package.

```
pip3 install openni
```

### [https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#import-package](https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#import-package)Import package

```
from openni import openni2
```

### [https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#initialize-with-openni-redist-folder-path](https://dev.lips-hci.com/lipsedge-tm-sdk-languages-and-libraries/overview-1#initialize-with-openni-redist-folder-path)Initialize with `OpenNI REDIST` folder path

```
openni2.initialize(os.environ['OPENNI2_REDIST'])
```
