Abstract:Python+OpenCV can meet the design needs of various common machine vision experiment programs, but compared with commercial software such as MATLAB, it lacks a useful visual programming environment. To this end, a data flow-driven visual experiment program development architecture is proposed; GUI interactive controls such as buttons and text boxes, image display, and image processing functions are encapsulated into dual-port components with input and output; through input and output ports between components The direct connection can quickly form a runnable visual experiment program framework; export the dual-port components and the connections between the components to get the Python script of the framework program for users to further improve and modify. Its function is similar to that in MATLAB App Designer. In order to facilitate understanding, a framework program for rapid generation and modification of gesture detection visual experiments is finally given.