Commit 66d9436e authored by Thomas Dowrick's avatar Thomas Dowrick

Issue #90: Add example for tracked reslice viewer with Aruco

parent 5b53722e
import sys
from PySide2 import QtWidgets
from sksurgeryvtk.widgets.vtk_reslice_widget import TrackedSliceViewer
from sksurgeryarucotracker.arucotracker import ArUcoTracker
qApp = QtWidgets.QApplication([])
dicom_path = 'tests/data/dicom/LegoPhantom'
tracker = ArUcoTracker({})
tracker.start_tracking()
slice_viewer = TrackedSliceViewer(dicom_path, tracker)
slice_viewer.start()
qApp.exec_()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment