The computerized heat-sealing and cold-cutting bag-making machine uses a variable-frequency motor for its main motor, saving energy and enabling flexible speed adjustment. A high-performance color tracker ensures more accurate sealing and cutting lengths with minimal errors. The advanced computer allows for convenient and precise length adjustment.