Visual inspection machine that allows anyone to perform quantitative inspection simply by inserting a workpiece