This repository provides packages for modifying cranial imlants using a KUKA LBR iiwa robot. An RGBD camera is attached to the robot's end-effector. The robot can perform automatic implant localization using the RGBD sensor and register the CT space to the robot space, then resizes the implant based on the generated cutting toolpath.
- Hardware
- RGBD Sensor (Intel RealSense D400 Series or Primesense)
- KUKA LBR iiwa
- Software
- Windows 10/Ubuntu 18.04/20.04
- librealsense or primesense
- robodk
- KUKA Sunrise.Workbench 1.13
- Windows 10/Ubuntu 18.04/20.04
- Python >= 3.7 with NumPy, SciPy, OpenCV, pyrealsense2, robodk, pytransform3d. These can be quickly installed/updated by running the following:
pip install pyrealsense2 / primesensepip install numpy scipy opencv-python robodkFor plotting hand-calibration result using matplotlib, pytransform3d is required:
pip install pytransform3dTo run volumetric TSDF Fusion of RGB-D images in Python, you need to install the following packages:
pip install scikit-image numbaIf using GPU acceleration, it requires an NVIDIA GPU with CUDA and PyCUDA:
pip install pycuda- Smooth the output mesh/pointcloud to create a cleaner results
- Hand Eye Calibration
- TSDF
- Python_OpenNI2 for Primesense