The invention relates to an online quality monitoring method of dyed products that is based on the computer graphic identification principle, adopts a digital image collector which is arranged and fixed on a slide rod above a rolling wheel or a cloth roller that are related to each technique in the dyeing, a camera shot side of the camera faces to a cloth surface, uninterrupted photographing of the moving cloth surface is implemented according to the set shooting frequency in unit time and repeated motion speed on the slide rod, and collected digital linear array or area array images are transmitted to an in-site processing host in real time; the in-site processing host is internally arranged with a standard cloth sample library and a defect library and implements fabric defect judgment, once a defect is determined, an alarming signal is emitted and leads the machine to halt, defect type on the fabric piece goods is reported, and concrete defect position is computed and indicated. The online quality monitoring method of the invention can implement the uninterrupted quality inspection of the products during the device running process, judge the product defects and indicate the defect type and the defect position.