The invention discloses a bearing detecting and sorting device based on machine vision. The bearing detecting and sorting device comprises a charging mechanism, a detecting mechanism and a sorting mechanism; a to-be-detected workpiece sequentially passes through the charging mechanism, the detecting mechanism and the sorting mechanism; the charging mechanism is used for conveying the to-be-detected workpiece to the detecting mechanism; the detecting mechanism detects the to-be-detected workpiece by adopting a machine vision mode; the sorting mechanism sorts the corresponding to-be-detected workpiece according to a detecting signal of the detecting mechanism. The detecting mechanism comprises a supporting disc, a feeding rotation disc, a servo motor, a first unfolding disc, a first servo motor, a first detecting camera, a turnover mechanism, a second unfolding disc, a second servo motor and a second detecting camera; the turnover mechanism comprises a push rod, a tray and a turnover channel. According to the invention, the machine vision mode is adopted for detecting surface defects of a bearing, so that the surface of the bearing is subjected to complete vision covering so as to guarantee the detection accuracy; a rotation disc type structure capable of detecting continuously is adopted, so that the detecting efficiency is improved.