Text this: Moving object tracking in clinical scenarios: application to cardiac surgery and cerebral aneurysm clipping