Automatic fire foam gun fire extinguishing consists of fire gun body, signal processor and field manual control panel. It combines micro-control technology, infrared / ultraviolet sensing detection technology, mechanical rotation control technology, image transmission technology, automatically find the accurate location of the ignition point and effectively and quickly extinguish the fire source. According to the ignition point, DC or spray can be used to put out the fire effectively, but also to protect the safety of person and property, and has the function of manual operation control and image display on the spot. The fire source can be detected by forced start according to the linkage signal of other fire alarm systems, and the ability of anti-environmental interference can be improved by using infrared / ultraviolet dual-band detection technology to detect the fire source effectively and at the same time to improve the ability to resist environmental interference. The ground sensitivity parameters can be set and debugged.