This paper presents a Real-Time machine vision system based on the NI vision builder for automated inspection (NI-VBAI) platform for automatic dimensions of various shapes. Leveraging advanced machine vision techniques and intelligent NI-VBAI algorithms, the system achieves real-time dimensional accuracy in various forms. Seamless integration with existing industrial setups enables fast and precise measurements without human intervention. Extensive validation and performance evaluation demonstrate the system's robustness, highlighting its potential to revolutionize industrial automation, simplify production processes and ensure timely quality control in manufacturing environments. In this study, we conducted experiments on four objects with two shapes and two sizes. Each measurement process was repeated four times. The processing time for the NI-VBAI experiment can measure an object with 720 ms. The error rate obtained from each measurement process is 1%. Furthermore, the final results show that Ni-VBAI can perform the dimensional measurement process accurately and quickly. The final results can be used directly with configurations in other applications or machines directly for further purposes.