Abstract:This paper presents an image acquisition and cropping technique for industrial inspection systems. Initially, it identifies the transmission bottleneck in existing industrial optical detection and elaborates on the algorithmic principle of dynamic ROI cropping based on edge points. By performing real-time Canny edge detection to localize feature points, vertical ROI windows with configurable pixel widths are generated to achieve data compression. Subsequently, modifications to the GVSP are proposed, including the addition of Index packets and adaptation of Leader packets to accommodate dynamic ROI-based image data transmission. The implementation of the dynamic ROI algorithm on an FPGA platform is then detailed, where BRAM substitution for 1 280-bit registers optimizes storage resources, and a 128-bit bus design eliminates internal bandwidth bottlenecks. Experimental verification and industrial deployment demonstrate that the system significantly reduces effective data volume while preserving raw grayscale precision, enabling reliable multi-camera data transmission.