Vertical packing machine, the material stretching feed device is used for feeding, the plastic film is formed into a barrel through the film cylinder, and the side is sealed by the thermal longitudinal sealing device. At the same time, the packaging is injected into the bag, and the transverse sealing mechanism cuts the length and position of the packaging according to the color code photoelectric detection device.