C# image processing on Kinect video using AForge
My goal : use Kinect video to do shape recognition (large rectangle on the picture), draw rectangle on the picture to highlights the results and display. The techno I use : C# code, AForge and more specifically its shape checker http://www.aforgenet.com/articles/shape_checker/ How the magic should work : Every time a frame is ready I get the frame data as bytes array and transform it to bitmap to allow me to analyze it Apply the shape recognition algorithm Render the result... My problem : The whole process works so far but when I try to render the result in a WPF Image it lags terribly... (1