# Opensource 3D Tracker

**URL:** <https://discourse.slicer.org/t/opensource-3d-tracker/30372>\
**Category:** Development\
**Tags:** surgical-navigation\
**Created:** [July 3, 2023, 3:40pm UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372 "2023-07-03T15:40:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agung\_Alfiansyah1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/agung_alfiansyah1/32/66611_2.png) [@Agung\_Alfiansyah1](https://discourse.slicer.org/u/Agung_Alfiansyah1)\
**Post date:** [July 3, 2023, 3:40pm UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/1 "2023-07-03T15:40:11Z")

</div>

Dear all,  
Sorry I’m new to this forum and a bit unsure of the question I’m going to ask. But well, I still dare to ask it. 🙂

If I have a stereo pair of cameras (quite good), is there any open source libraries that would allow me to build my own 3D tracker?

It would be ideal if the tracker is also compatible with the IGT Slicer 🙂

Thanks for all the help.

---

<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:** [July 3, 2023, 3:59pm UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/2 "2023-07-03T15:59:26Z")

</div>

Probably it only makes sense to make your own tracker if your main interest is designing and building tracking systems yourself. If you just want to have a tracker then it is much simpler and less expensive to buy a tracker.

Cameras is a very small part of a tracking system. You need to have a lot of additional hardware (a solid frame that can hold the cameras in place, with strong mounting point(s), built-in ring lighting, memory to store calibration data, power supply, communication interface to the computer, etc. all in a compact enclosure) and software (for calibration, marker tracking, 3D pose computation with filtering, automatic camera control, interfacing with drivers and operating system). While you can use off-the-shelf components and open-source libraries (e.g., calibrate cameras using OpenCV, detect/track markers using ArUco), you need to still spend a lot on buying all the hardware pieces and develop and maintain the software.

You can get accurate, convenient, integrated, factory-calibrated optical trackers with built-in infrared lighting and tracking software at very affordable price. For example, an [OptiTrack Duo](https://www.optitrack.com/cameras/v120-duo/) costs just $3000.

---

<div class="post-metadata">

**Author:** ![Agung\_Alfiansyah1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/agung_alfiansyah1/32/66611_2.png) [@Agung\_Alfiansyah1](https://discourse.slicer.org/u/Agung_Alfiansyah1)\
**Post date:** [July 14, 2023, 6:31am UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/3 "2023-07-14T06:31:48Z")

</div>

Hi Andras,  
Thank you for your reply. Your suggestion to take a commercial tracker with wwoer cost makes a lot of sense for me.

One more question if you don’t mind, how about Optitrack Duo, is it compatble also with Slicer IGSTK ?

Thanks \

---

<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:** [July 14, 2023, 4:02pm UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/4 "2023-07-14T16:02:16Z")

</div>

Yes, Optitrack Duo is supported by Plus/SlicerIGT.

---

<div class="post-metadata">

**Author:** ![Agung\_Alfiansyah1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/agung_alfiansyah1/32/66611_2.png) [@Agung\_Alfiansyah1](https://discourse.slicer.org/u/Agung_Alfiansyah1)\
**Post date:** [July 15, 2023, 12:38am UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/5 "2023-07-15T00:38:54Z")

</div>

Sorry, I made a typo. I wanted to ask about Optotrack Trio actually. Is it also supported?

Thanks

---

<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:** [July 15, 2023, 1:18am UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/6 "2023-07-15T01:18:24Z")

</div>

Yes, the Optitrack Trio is supported as well.

---

<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:** [July 15, 2023, 2:50am UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/7 "2023-07-15T02:50:39Z")

</div>

What about Flex 3, is IGT supported?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/f/2fef09274f6a3a6c8460f12972cc8251acd38b20.png)

---

<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:** [July 15, 2023, 3:08am UTC](https://discourse.slicer.org/t/opensource-3d-tracker/30372/8 "2023-07-15T03:08:14Z")

</div>

All Motive2 compatible trackers are supported.

Note that setting up a system of multiple cameras is more complicated and more expensive than getting a Duo. You need to buy a calibration tool, power supply, networking equipment, buy license, etc. With the Duo the setup is really easy, you just plug it in, and it works (it is recalibrated and perpetual license key is a included).
