Patent ID: 9538170
Date: 2017-01-03
CPC Classifications: A46B,B08B,G06K,G06T,H04N

Claim:
1. A camera lens cleaning system comprising: a bracket; a camera secured to the bracket and configured to capture a plurality of different color images from color testing disk located below the camera; a cleaning device rotatably attached to the bracket; a processing unit configured to process pairs of adjacent different color images on the testing disk and to determine a difference color value each pair; and an executing unit configured to rotate the color testing disk and the cleaning device; wherein the processing unit is configured to compare the different color value with a reference color value to determine whether dirt is located on a camera lens of the camera, and when the dirt is located on the camera lens, the executing unit is configured to control the cleaning device to clean the camera lens, further comprising a storing unit, wherein the plurality of different color images is stored in the storing unit; wherein the processing unit comprises an obtain module, a calculating module and a determining module, the obtain module is configured to obtain RGB color values of the plurality of pixel points of each color image in the storing unit to transform the RGB color values to 3D coordinate point values, the calculating module is configured to calculate the difference color value of a same pixel point position between every two adjacent color images according to the 3D coordinate point values, and the determining module is configured to compare the different color value with the reference color value; wherein the different color value is obtained by the calculating module according to the formula wherein when the difference color value is less than or equal to the reference color value, a record number is added one time by the determining module, and when the difference color value is higher than the reference color value, a record number is not added one time by the determining module.