AR/VR device technology is evolving fast thus metrology and measurements must be adapted at the same pace as the process development in closed loop analysis. To answer such constraint, we propose a pipeline based on deep learning able to measure gratings structures from cross section and top-down views. This pipeline was updated in parallel to the process development includes additional measurements, new variations of the structures not covered by the algorithm and user feedback for improved metrology. Deep learning can account for such variability, where classic approaches are not able to handle complex 2D structures displaying many degrees of freedom such as size, material and design among others. We illustrate all these challenges with the performances of the pipeline alongside the development cycle requiring modifications of the pipeline. Large batches of data can be processed thanks to the robustness and the speed of the analysis.