The invention relates to the technical field of packaging machines, in particular to a visual counting and packaging all-in-one machine comprising a machine table, a barrel film feeding device, a bag opening, cutting and sealing all-in-one device, a lower material supporting device, a bagging device and a precise feeding device. The precise feeding device comprises a feeding hopper, a first feeding mechanism, a second feeding mechanism, a flattening mechanism, a visual counting device and a quantitative hopper, a discharging port of the feeding hopper is located above the first feeding mechanism, the discharging end of the second feeding mechanism is located above the second feeding mechanism, and the quantitative hopper is located above the bagging device. The second feeding mechanism is provided with a rapid material channel and a fine supplementing material channel, the visual counting device is located below the second feeding mechanism, and the quantitative funnel is exposed out of the visual counting device. The quantitative bagging and packaging of materials are automatically achieved, double-channel feeding is achieved, the feeding efficiency is high, the materials can be effectively dispersed, the materials are made to move flatly, the number of the materials is accurately calculated, and the packaging quality of the materials is improved.