# How to connect virtual camera to Slicer with Plus ？

**URL:** <https://discourse.slicer.org/t/how-to-connect-virtual-camera-to-slicer-with-plus/20283>\
**Category:** Development\
**Tags:** surgical-navigation, augmented-reality\
**Created:** [October 21, 2021, 11:04am UTC](https://discourse.slicer.org/t/how-to-connect-virtual-camera-to-slicer-with-plus/20283 "2021-10-21T11:04:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Post date:** [October 21, 2021, 11:04am UTC](https://discourse.slicer.org/t/how-to-connect-virtual-camera-to-slicer-with-plus/20283/1 "2021-10-21T11:04:22Z")

</div>

I can load the camera into the Slicer through Plus,

but if I want to capture the surgical field of view under the microscope to the computer through the capture card,

then start the virtual camera to Plus and then transfer it to the Slicer，how to make it possible?

At present ,I cann’t capture the virtual camera by Plus，even I start the virtual camera, the default camera is still the actual camera.

---

<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:** [October 22, 2021, 6:08pm UTC](https://discourse.slicer.org/t/how-to-connect-virtual-camera-to-slicer-with-plus/20283/2 "2021-10-22T18:08:35Z")

</div>

If you use Microsoft Media Foundation video source then you can select the device by adjusting the `CaptureDeviceId` and `CaptureStreamIndex` attributes. See details [here](http://perk-software.cs.queensu.ca/plus/doc/nightly/user/DeviceMicrosoftMediaFoundation.html).
