Skip to content

Commit 0f52c8c

Browse files
Update README.md -> pass USE_REALSENSE through pip
1 parent 368ff4a commit 0f52c8c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pip install .
2626
> M3T relies on [GLFW](https://www.glfw.org/). Before building ensure it is installed.
2727
> For Ubuntu run `apt-get install libglfw3 libglfw3-dev`
2828
29-
3029
```
3130
git clone https://github.com/agimus-project/pym3t
3231
cd pym3t
@@ -37,6 +36,11 @@ pip install .
3736
pip install .[examples]
3837
```
3938

39+
### Building with realsense support
40+
First ensure that [librealsense](https://github.com/IntelRealSense/librealsense) is installed. It should be the case if you followed the conda-based installation. Then build with:
41+
42+
`pip install . --config-settings="cmake.define.USE_REALSENSE=ON"`
43+
4044
# Example scripts
4145
As example usage of the library, we provide several scripts:
4246
* `run_image_dir_example.py`: single object tracking using color and depth images from filesystem;
@@ -97,4 +101,4 @@ python examples/run_realsense_example.py --use_region --use_depth -b obj_000014
97101
Keyboard commands:
98102
- `q`: exit;
99103
- `d`: initialize object pose;
100-
- `x`: start/restart tracking.
104+
- `x`: start/restart tracking.

0 commit comments

Comments
 (0)