Real-time approach for thermal non destructive testing