This blog explains how to get live feed from web cam using c# and Accord Dot net framework.The Accord.Net Framework is a machine learning framework combined with audio and image processing libraries which is completely written in c#. To download accord.net framework follow this link.
By Assuming you installed Accord.Net framework successfully we move on creating our form. Let’s open your visual studio and create a New Windows Form Project. Now your window will look like this.
Under Solution Explorer Right Click on References->Add References. A Reference Manager window will open in that Click on “Browser” button. A browser file dialog will open navigate to the folder where your accord.net framework is installed and select "Accord.dll", "Accord.Video.dll", "Accord.Video.DirectShow.dll" reference files and click “Add” and the Ok.
Add References |
Then Add Picturebox, button and combo box to the form and design it like this.
Then paste the following code in the appropriate event handlers.
No comments :
Post a Comment