AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Detection of Unwanted Things

Forum to discuss Image Processing Lab (IPLab) application, its features, etc.

Detection of Unwanted Things

Postby ironhulkman » Thu Dec 09, 2010 5:02 pm

Hi all,

I have a project on :

Objectives:
Detect unwanted objects/rubbish in common areas such as in estate or building

Algorithim:
1) Save a reference image of a clear background
2) Stream images from the sample video
3) Compare the images with reference image by motion detection/subtraction of 2 colors

i want to ask that how do the 3 points ? Thank you. :)

Best regards
ironhulkman
ironhulkman
 
Posts: 8
Joined: Sat Nov 06, 2010 1:49 pm

Re: Detection of Unwanted Things

Postby DaleStan » Fri Dec 10, 2010 5:18 am

1) Bitmap.Save()
2) However your camera's documentation says.
3) by motion detection/subtraction of 2 colors, just like you said.

The manual is your friend. Read it.
DaleStan
 
Posts: 86
Joined: Wed Jul 21, 2010 7:23 pm

Re: Detection of Unwanted Things

Postby ironhulkman » Fri Dec 10, 2010 3:59 pm

Hi all,

DaleStan wrote:1) Save a reference image of a clear background
2) Stream images from the sample video
3) Compare the images with reference image by motion detection/subtraction of 2 colors


i mean how to write the basic Algorithims for this three points. Thank you. :)

Best regards
ironhulkman
ironhulkman
 
Posts: 8
Joined: Sat Nov 06, 2010 1:49 pm

Re: Detection of Unwanted Things

Postby ironhulkman » Wed Jan 19, 2011 3:27 pm

Hi all

How to write the basic algorithims for, comparing a image with a reference image by motion detection/subtraction of 2 colors.
Thank you. :)

Best regards
ironhulkman
ironhulkman
 
Posts: 8
Joined: Sat Nov 06, 2010 1:49 pm

Re: Detection of Unwanted Things

Postby DaleStan » Wed Jan 19, 2011 9:31 pm

You open a new project/solution/whatever-you-call-it in your IDE of choice (I generally use Visual Studio 2010), add references to any AForge dlls you need (I'd start with AForge.dll, AForge.Math.dll, and AForge.Imaging.dll.), and start banging on your keyboard until something that approximates your desired result appears.

Then debug and modify until it actually is your desired result.

If you want a better answer, please tell us your problem, not your desire. For an explanation of the difference between these, see this essay. Applying the concepts listed over here would also be wise.
Note that MJD and ESR have very different opinions on the use of not-English. I fall into the "busy hackers" category of recipients of messages in not-English.
DaleStan
 
Posts: 86
Joined: Wed Jul 21, 2010 7:23 pm




Return to IPLab

cron