Search This Blog

Sunday, July 4, 2010

AForge.NET <> Visual Studio 2010 Setup (Tutorial)

 

First we have to download AForge.NET from here ---> AForge.NET library Download. Assuming we are using a Windows OS, download the latest .exe. After downloading install it.

Once installed we will be able to see the binaries in here

C:\Program Files (x86)\AForge.NET\Framework\Release   - For 64 bit OS

C:\Program Files\AForge.NET\Framework\Release  - For 32 bit OS

image


Now I assume we already have Visual studio installed in you computer. I will be demoing with VS2010 (even 2008 is compatible).

File –> New –> Project

Select “Windows Forms Application”

image

 

Then we get a window like this

 

image

Add AForge.NET libraries as reference. To do this right click on Reference (in Solution explorer).

 

image

The browse to the folder where we installed the AForge.NET libraries

C:\Program Files (x86)\AForge.NET\Framework\Release   - For 64 bit OS

C:\Program Files\AForge.NET\Framework\Release  - For 32 bit OS

image

 

Since our next tutorial is going to be on using AForge.NET with Webcam, we are going to add only the required binaries (.dll) namely Aforge.Video.dll and Aforge.DirectShow.dll.

image

On click “OK” we should be able to see the binaries (.dll) listed in the solution explorer under the reference folder like this

image

 

Done !!!! Now we have our environment ready to do some basic webcam stuff.

See you in next tutorial.

 

~Prem

24 comments:

  1. great thanks for this man!!
    hope to get more tutorials soon

    ReplyDelete
  2. thanks for these informations
    it's verry helpful ^^

    ReplyDelete
  3. Thanks very much. Exactly what I was looking for.

    ReplyDelete
  4. Awesome man...! this helped me lot. Thanx a lot. keep it up good work and good luck!

    ReplyDelete
  5. Thanks...can you pls help me how to do image processing with that...i want to develop a project on hand written character recognition..
    I am waiting for you positive reply... thanks in advance...

    ReplyDelete
  6. nice post, but just wonder, is there any way to set up the reference files as default vs settings?

    ReplyDelete
  7. I believe
    C:\Program Files (x86)\AForge.NET\Framework\Release - For 32 bit OS
    and
    C:\Program Files\AForge.NET\Framework\Release - For 64 bit OS

    ReplyDelete
  8. no hommie you incorrect @ anonymous now with that said will this work for IP Camera or network cam with live view i plan to control a robot with auduino and Wishield with a netcam/ipcam attached

    ReplyDelete
  9. thanxx a lot...bt pls can u tell me how to convert image into directed graph

    ReplyDelete
  10. thanxxxxxxxxxx
    that was very helpful to me at this time

    ReplyDelete
  11. Muchas gracias.

    Un saludo desde España.

    ReplyDelete
  12. its very very helpful
    thanks a lot

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. Stay Blessed, it is really helpful, where is the next tutorial.

    ReplyDelete
  15. Hola quiesiera saber si se puede utilizarlo como motor de inferencia

    ReplyDelete
  16. This framework works only in windows application ?? now i am doing a image processing project with Aforge.NET...How it can be use in webApplication ??/plz help..

    ReplyDelete
  17. Oh really good stuff you have created.
    thanxs a lot.

    ReplyDelete