C# implements face recognition preprocessing source code