Off-pump Coronary Artery Bypass Grafting (CABG) is still today a technically difficult procedure. In fact, the mechanical stabilizers used to locally suppress the heart excursion have been demonstrated to exhibit significant residual motion. We therefore propose a novel active stabilizer which is able to compensate for this residual motion. The interaction between the heart and a mechanical stabilizer is first assessed in vivo on an animal model. Then, the principle of active stabilization, based on the high speed vision-based control of a compliant mechanism, is presented. In vivo experimental results are given using a prototype which structure is compatible with a minimally invasive approach.