types of ai inspection algorithms