Skip to content

Commit

Permalink
added pyk4a instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
cheng-chi committed Sep 7, 2022
1 parent 0d7251d commit d768372
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ This is the python package to use Kinect (remotely). It has two parts: server an
- Follow [this guide](https://github.com/microsoft/Azure-Kinect-Sensor-SDK) to install the Azure Kinect SDK (K4A).
- On Ubuntu, you’ll need to set up a udev rule to use the Kinect camera without `sudo`. Follow [these instructions](https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/docs/usage.md#linux-device-setup).
- Make sure you can run `k4aviewer` from the terminal without `sudo`.

### Open3d version
- ```pip install open3d aiohttp imageio```.
- If you are running in ssh, make sure that nomachine is running and `export DISPLAY=:1`
- If you are running in ssh, make sure that nomachine is running and `export DISPLAY=:0`
- ```python run_server.py --port PORT```
- (optional) Modify `kinect_config.json`. For further instructions, please refer to [this guide](http://www.open3d.org/docs/latest/tutorial/Basic/azure_kinect.html).

### pyk4a version
- ```pip install pyk4a aiohttp imageio```.
- If you are running in ssh, make sure that nomachine is running and `export DISPLAY=:0`
- ```python run_server.py --port PORT```

## Client Usage
- Option1: browse. Open a browse and visit `IP:PORT/view`. You will see both color image and depth image.
- Option2: python. `KinectClient` can get cam_intr and RGBD image. Please refer to `run_client.py` for more details.

0 comments on commit d768372

Please sign in to comment.