Neural Object Detection for 4D-STEM: High-Throughput Sub-Pixel Electron Diffraction Pattern Recognition
High-throughput analysis of multidimensional transmission electron microscopy (TEM) datasets remains a significant challenge, restricting TEM's broader applicability in strategic materials research. Conventional workflows typically involve sequential, modular processing steps that necessitate extensive manual intervention and offline parameter tuning. In this work, we introduce an end-to-end post-processing framework for large-scale four-dimensional scanning transmission electron microscopy (4D-STEM) datasets, built around a highly efficient neural network-based object detection model. Central to our method is a sub-pixel accurate object center localization algorithm, which serves as the foundation for high-precision and high-throughput analysis of electron diffraction patterns. We demonstrate a strain measurement precision of 5x10-4, quantified by the standard deviation of strain values within the strain-free Si substrate of a Si/SiGe multilayer TEM sample. Furthermore, by implementing an asynchronous, non-blocking object detection workflow, we achieve speeds exceeding 100 frames per second (fps), substantially accelerating the crystallographic phase identification and strain mapping in complex multiphase metallic alloys.