| CPC G06T 15/00 (2013.01) | 19 Claims |

|
1. A machine vision detection method, comprising:
receiving a three-dimensional image of a part to be detected comprising a cell aluminum shell and a cell top cover of a battery;
determining a plurality of sampling positions that satisfy sampling conditions;
acquiring first sample data of the three-dimensional image of the cell aluminum shell at the sampling positions and second sample data of the three-dimensional image of the cell top cover at the sampling positions;
calculating a first height difference between a plurality of first sample data and a second height difference between a plurality of second sample data;
calculating a third height difference between the first sample data and the second sample data; and
determining that the part to be detected is unqualified when any one of the first height difference, the second height difference, and the third height difference fails to meet a preset detection criterion.
|