/// <summary> /// This functions 'recognises' the given compontent by running its features through /// a neural network. /// </summary> /// <param name="Component"></param> public static void RecogniseWithoutConnectedRepair(ShapeNet ShapeNet, PageComponent Component) { sNeuralOutput Result = new sNeuralOutput(); ShapeNet.NeuralNetwork.ComputeOutput(RecogniseComponent.CalculateNetworkInput(Component), Result); for (int i = 0; i < Result.fOutputs.Count; i++) { if (Result.fOutputs[i] >= 0.01) { Component.AddRecognitionResult(Result.fOutputs[i], ShapeNet.ShapeList[i].Shape); } } }