halcon语法程序: dev_open_window (0, 300, -1, -1, 'black', WindowID) read_image (Die4, 'C:/Users/Public/Documents/MVTec/HALCON-12.0/examples/images/die/die_03.png') draw_rectangle1 (WindowID, Row1, Column1, Row2, Column2) gen_rectangle1 (ROI, Row1, Column…