Python image recovery tools