# Show a live camera feed.in slicer

**URL:** <https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826>\
**Category:** Support\
**Created:** [September 23, 2021, 2:13pm UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826 "2021-09-23T14:13:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 23, 2021, 2:13pm UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826/1 "2021-09-23T14:13:43Z")

</div>

I am getting real time images from a camera. How can I show them in slicer three d windows? If I try to use load volume function then we will be loaded with a huge number of volumes. So is there a way to just update an image that is already present in slicer. And can we show a image that is opened in python script.

---

<div class="post-metadata">

**Author:** ![pll\_llq](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pll_llq/32/9408_2.png) [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Post date:** [September 23, 2021, 8:08pm UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826/2 "2021-09-23T20:08:31Z")

</div>

You might want to look at how streaming with Plus Toolkit and OpenIGTLink works.

[https://plustoolkit.github.io/](https://plustoolkit.github.io/)  
[http://openigtlink.org/](http://openigtlink.org/)

---

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 24, 2021, 1:24am UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826/3 "2021-09-24T01:24:23Z")

</div>

Can I get Script documentation for these libraries??

---

<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:** [September 24, 2021, 2:35am UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826/4 "2021-09-24T02:35:48Z")

</div>

There is no need for scripting (at least to get started). You create your whole system just by using the GUI, set up connections, specify configuration files, etc. and just save the scene. To start streaming and show the data all you need is to load that scene. Tutorials are available [here](http://www.slicerigt.org/wp/user-tutorial/).

---

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 24, 2021, 3:26am UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826/5 "2021-09-24T03:26:38Z")

</div>

I want to automate the things sir, so I require scripts for my purpose.

---

<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:** [September 24, 2021, 5:01am UTC](https://discourse.slicer.org/t/show-a-live-camera-feed-in-slicer/19826/6 "2021-09-24T05:01:56Z")

</div>

All you need in your script is to [load the scene](https://slicer.readthedocs.io/en/latest/developer_guide/slicer.html#slicer.util.loadScene) that you prepared.

At this level there is step-by-step tutorial and no documentation is generated but you can find description of classes and methods where they are declared (in header files in C++, in the py files in Python). You are also expected to learn from examples, and by reading code, and asking specific questions.

You can find the source code of some existing applications in these repositories:

> **[GitHub - SlicerIGT/LumpNav: Slicer extension for ultrasound-guided breast...](https://github.com/SlicerIGT/LumpNav)**
>
> Slicer extension for ultrasound-guided breast tumor resection (lumpectomy) - GitHub - SlicerIGT/LumpNav: Slicer extension for ultrasound-guided breast tumor resection (lumpectomy)

> **[GitHub - SlicerIGT/ExampleGuideletExtension](https://github.com/SlicerIGT/ExampleGuideletExtension)**
>
> Contribute to SlicerIGT/ExampleGuideletExtension development by creating an account on GitHub.

> **[GitHub - SlicerIGT/OMTCentralLineTraining: Inexpensive open-source system for...](https://github.com/SlicerIGT/OMTCentralLineTraining)**
>
> Inexpensive open-source system for practicing hand-hand coordination for US guided needle insertions. - GitHub - SlicerIGT/OMTCentralLineTraining: Inexpensive open-source system for practicing hand...

> **[GitHub - SlicerIGT/CathNav: A guidelet for 3D Slicer for needle guidance in...](https://github.com/SlicerIGT/CathNav)**
>
> A guidelet for 3D Slicer for needle guidance in breast brachytherapy (catheter navigation). - GitHub - SlicerIGT/CathNav: A guidelet for 3D Slicer for needle guidance in breast brachytherapy (cathe...

> **[GitHub - SlicerIGT/UsNeedleGuide: Software for mechanical needle guide](https://github.com/SlicerIGT/UsNeedleGuide)**
>
> Software for mechanical needle guide. Contribute to SlicerIGT/UsNeedleGuide development by creating an account on GitHub.
