CPC G01N 21/8851 (2013.01) [G06T 7/0004 (2013.01); G01N 2021/8887 (2013.01); G06T 2207/20081 (2013.01)] | 19 Claims |
1. A detecting device for detecting a surface of a product, the detecting device comprising:
a supporting mechanism;
a transmitting mechanism carrying and transmitting the product; wherein the transmitting mechanism is arranged on the supporting mechanism, and an upward side of the product is a front of the product;
a detecting mechanism comprising a detecting frame, a light source assembly, and an camera assembly, wherein the light source assembly is arranged on the detecting frame, and the camera assembly is arranged on the detecting frame; and wherein length direction of the product arranged on the detecting device is defined as a first direction, width direction of the product is defined as a second direction, and the second direction is perpendicular to the first direction; wherein the detecting frame is arranged on the supporting mechanism to move along the first direction and the second direction; the light source assembly comprises two red light strips and one white light strip, an included angle between light emitted by the two red light strips and the front of the product is an acute angle, and the included angle between the white light strip and the front of the product is an acute angle, the two red light strips are arranged along the first direction, and the white light strip is arranged along the second direction; wherein the camera assembly comprises a first camera module and a second camera module, and an image capturing direction of the first camera module is perpendicular to the front of the product, the first camera module obtains a first image under the light of the red light strip; an included angle between an image capturing direction of the second camera module and the front of the product is an acute angle, the second camera module obtains a second image under the light of the white light strip; and
a processor connecting to each of the first camera module and the second camera module, and preprocessing the first image and the second image to obtain a detection result of the front of the product.
|