Questions tagged [aforge]

AForge.NET is a C# framework for computer vision and artificial intelligence. Applications include image processing, neural networks, genetic algorithms, machine learning, and robotics.

AForge.NET is a C# framework designed for developers and researchers in the fields of computer vision and artificial intelligence. Starting from version 2.0.0, the AForge.NET framework is published under the LGPL v3 license.

The AForge.NET framework consists of several libraries which include:

  • AForge.Imaging, which is the biggest library of the framework so far, contains different image processing routines, which are aimed to help in image enhancement/processing, as well as in some computer vision tasks.
  • AForge.Vision library consists of different motion detection and motion processing routines.
  • AForge.Video library contains different classes, which provide access to video data. Nice to have it taking into account the amount of image processing stuff in the framework.
  • AForge.Robotics library contains some classes to manipulate some robotics kits
  • AForge.Neuro library consists of some common artificial neural network (ANN) architectures' implementations and their learning algorithms
  • AForge.Genetic library consists of classes aimed to solve different tasks from genetic algorithms (GA), genetic programming (GP) and gene expression programming (GEP) areas
  • AForge.Fuzzy library consists of classes to perform different fuzzy computations, starting from using basic fuzzy sets and linguistic variables and continuing with complete inference system, which is capable of running set of fuzzy rules evaluating requested fuzzy variable.
  • AForge.MachineLearning

As of October 2016, the latest release is version 2.1.6:

  • Bug fixes in the AForge.Imaging component
  • New features in the AForge.Video.DirectShow component
  • Licensing update
  • Other updates and fixes
679 questions
69
votes
7 answers

Image sequence to video stream?

Like many people already seem to have (there are several threads on this subject here) I am looking for ways to create video from a sequence of images. I want to implement my functionality in C#! Here is what I wan't to do: /*Pseudo code*/ void…
Hauns TM
  • 1,909
  • 2
  • 22
  • 38
52
votes
4 answers

Differences between AForge and OpenCV

I am just learning about computer vision and C#. It seems like two prominent image processing libraries are OpenCV and AForge. What are some of the differences of the two? I am making a basic image editor in C# and while researching I have come…
vrish88
  • 20,047
  • 8
  • 38
  • 56
31
votes
5 answers

Automatic enhancement of scanned images

I'm developing a routine for automatic enhancement of scanned 35 mm slides. I'm looking for a good algorithm for increasing contrast and removing color cast. The algorithm will have to be completely automatic, since there will be thousands of images…
Anlo
  • 3,228
  • 4
  • 26
  • 33
26
votes
1 answer

Error in blob's returned coordinates

I am trying to detect and crop a photo out of a blank page, at unknown random locations using AForge, following the article Here I have downloaded a passport photo from google images and stuck in onto a white sheet: AForge gets the job…
Banana
  • 7,424
  • 3
  • 22
  • 43
18
votes
7 answers

image focus calculation

I'm trying to develop an image focusing algorithm for some test automation work. I've chosen to use AForge.net, since it seems like a nice mature .net friendly system. Unfortunately, I can't seem to find information on building autofocus algorithms…
Oren Mazor
  • 4,437
  • 2
  • 29
  • 28
14
votes
4 answers

Matlab vs Aforge vs OpenCV

I am about to start a project in visual image-processing and have no had experience with Matlab, Aforge, OpenCV and was wondering if anyone had any experiences with these different software packages. I was also wondering which of the three packages…
Jamie
  • 1,005
  • 5
  • 16
  • 25
11
votes
2 answers

The type exists in both DLLs

I wanted to use something from Accord library as well as the AForge library. But when I installed it, I started getting the following error: Error CS0433 The type 'IntPoint' exists in both 'AForge, Version=2.2.5.0, Culture=neutral,…
Mateen Ulhaq
  • 24,552
  • 19
  • 101
  • 135
11
votes
1 answer

Unsupported Pixel Format of source or template image. AForge Imaging

I am getting the following Exception at ProcessImage(bitmap1, bitmap2); Unsupported Pixel Format of source or template image and this is my code: public static double FindComparisonRatioBetweenImages( System.Drawing.Image one,…
Charlie
  • 4,827
  • 2
  • 31
  • 55
11
votes
8 answers

Could not load or assembly or one of its dependencies

I am using Aforge.net frame work for doing image processing work. I have add 'AForge.Video.FFMPEG.dll' as a referance to my project. I am using VS2012 and 32 bit build target. When Buiding i get System.IO.FileNotFoundException was unhandled …
Prathibha Chiranthana
  • 822
  • 1
  • 10
  • 28
11
votes
4 answers

Implementing a WebCam on a WPF App using AForge.Net

I'm writing an WPF application where I need to show a Webcam feed. I was able to do this easly with the AForge framework.But when I've changed from a computer to a another computer the same code doesn't work the same way. In the first one the…
João Cardoso
  • 351
  • 3
  • 5
  • 13
10
votes
2 answers

Get Webcam stream using Aforge.NET in C# and WPF

I want to capture a webcam feed using my camera. For that I am using the 2 references: AForge.Video.dll and AForge.Video.DirectShow.dll. Here's a snippet I found: public FilterInfoCollection CamsCollection; public VideoCaptureDevice Cam =…
Sagar
  • 455
  • 2
  • 5
  • 19
10
votes
1 answer

How to crop tilt image in c#

I have tilt image capture by mobile. I want to cut section/portion of image in between two rectangles of both sides to find out circles in between them. I have all 4 co-ordinates of middle section like (x0,y0),(x1,y1),(x2,y2),(x3,y3). My Image is…
Aamir
  • 345
  • 4
  • 24
10
votes
2 answers

Error: An unhandled exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll

I am trying to capture the frames from a video stream and I am trying to use AForge library for that purpose. But when i try to call any of the API's of the library from my project it gives me the above error. My research shows that it could be due…
G droid
  • 956
  • 5
  • 13
  • 36
10
votes
4 answers

Picturebox getting big red X but I can't detect or fix it

I am currently working with AForge, and have an on new frame event that posts the frame, as a bitmap, into a picturebox. 90% of the time it works great... UNLESS I fiddle with something on the winform. Changing a combo box, moving the window, or…
C Smith
  • 778
  • 2
  • 14
  • 31
10
votes
10 answers

Program wont close and aforge camera keeps running, threading trouble

I have a bit strange problem, which I find hard to debug Sometimes I can't close my program and it freezes when I try to close it. I made a large program for video image recognition. I made a special button to close the camera. This button works…
user613326
  • 2,140
  • 9
  • 34
  • 63
1
2 3
45 46