# Connect external appareil to 3D Slicer

**URL:** <https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774>\
**Category:** Support\
**Created:** [August 15, 2022, 7:18pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774 "2022-08-15T19:18:41Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdoullah](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@abdoullah](https://discourse.slicer.org/u/abdoullah)\
**Post date:** [August 15, 2022, 7:18pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/1 "2022-08-15T19:18:41Z")

</div>

Operating system:Mac OS 12.4  
Slicer version:5.0.3  
Expected behavior:  
Actual behavior:

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 15, 2022, 7:19pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/2 "2022-08-15T19:19:26Z")

</div>

3D Slicer can be connected to a wide range of devices. What would you like to achieve?

---

<div class="post-metadata">

**Author:** ![abdoullah](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@abdoullah](https://discourse.slicer.org/u/abdoullah)\
**Post date:** [August 15, 2022, 10:19pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/3 "2022-08-15T22:19:49Z")

</div>

I would like to transform an image of a part of body into a scanner image. So, I thought of two solutions:

1. either take the photo with a smartphone then import it into 3D slicer

2. connect the smartphone to 3D slider and activate the camera to see the scanner images in real time on 3D slicer like this tutorial [TUSS-guided Nephrostomy - YouTube](https://www.youtube.com/watch?v=BZ2OsMOnXlk) (in the tutorial he did not connect a smartphone to 3D slicer)

What is the best solution ?

Regards

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 16, 2022, 1:39pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/4 "2022-08-16T13:39:03Z")

</div>

You can certainly load a photo (jpg, png, tif, …) into Slicer.

If you want to stream images into Slicer then I would not recommend connecting a phone (it costs at hundreds of $ or more, needs to be recharged, needs network connection configuration, etc). It is much easier to connect a good-quality webcam and stream the image via [Plus toolkit](https://plustoolkit.github.io/) and [SlicerOpenIGTLink extension](https://github.com/openigtlink/SlicerOpenIGTLink). You can find lots of detailed tutorials at [SlicerIGT website](http://www.slicerigt.org/wp/user-tutorial/).

---

<div class="post-metadata">

**Author:** ![abdoullah](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@abdoullah](https://discourse.slicer.org/u/abdoullah)\
**Post date:** [August 16, 2022, 1:52pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/5 "2022-08-16T13:52:01Z")

</div>

Thank you.

I’ll try that.

---

<div class="post-metadata">

**Author:** ![abdoullah](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@abdoullah](https://discourse.slicer.org/u/abdoullah)\
**Post date:** [August 18, 2022, 1:51pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/6 "2022-08-18T13:51:09Z")

</div>

Hi,

Please, how can I install Plus Toolkit on Mac OS ?

Regards

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 18, 2022, 5:56pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/7 "2022-08-18T17:56:09Z")

</div>

We only provide pre-built Plus packages for Windows, as almost all medical device manufacturers (imaging, tracking devices, sensors, etc.) only provide drivers for Windows.

You have a couple of options:

- You can build Plus on macOS or Linux. Note that only a small number of hardware devices support these operating systems.
- You can run the user interface (3D Slicer) on macOS or linux computer, but you do the data acquisition on a separate Windows box. Depending on the connected hardware, it may be a compute stick or mini-PC.
- You switch to Windows so that you can have both data acquisition and user interface on one system.

---

<div class="post-metadata">

**Author:** ![PaoloZaffino](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paolozaffino/32/81052_2.png) [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)\
**Post date:** [August 18, 2022, 6:21pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/8 "2022-08-18T18:21:01Z")

</div>

If it can help, there is also the multi-OS possibility to connect Arduino with Slicer.

> **[Slicer Arduino Controller](https://pzaffino.github.io/SlicerArduinoController/)**
>
> Extension for 3D Slicer that allows connecting and receiving/sending data from/to Arduino boards

> **[GitHub - pzaffino/SlicerArduinoController: Extension for 3D Slicer that...](https://github.com/pzaffino/SlicerArduinoController)**
>
> Extension for 3D Slicer that allows connecting and receiving/sending data from/to Arduino boards - GitHub - pzaffino/SlicerArduinoController: Extension for 3D Slicer that allows connecting and rece...

---

<div class="post-metadata">

**Author:** ![abdoullah](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@abdoullah](https://discourse.slicer.org/u/abdoullah)\
**Post date:** [August 25, 2022, 10:40pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/9 "2022-08-25T22:40:07Z")

</div>

How can I configure a webcam into Slicer 3D ?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 27, 2022, 10:05pm UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/10 "2022-08-27T22:05:53Z")

</div>

You can connect the webcam via Plus toolkit.

If you don’t want to use Plus then you can acquire an image using some Python package and import the numpy array into a volume node (see [example](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#combine-multiple-volumes-into-one)).

---

<div class="post-metadata">

**Author:** ![abdoullah](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@abdoullah](https://discourse.slicer.org/u/abdoullah)\
**Post date:** [September 4, 2022, 12:59am UTC](https://discourse.slicer.org/t/connect-external-appareil-to-3d-slicer/24774/11 "2022-09-04T00:59:17Z")

</div>

Can I do a realtime 3D volume reconstruction using python and an external webcam ?
