Page 1 of 1

Detection of Unwanted Things

PostPosted: Thu Dec 09, 2010 5:02 pm
by ironhulkman
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

Re: Detection of Unwanted Things

PostPosted: Fri Dec 10, 2010 5:18 am
by DaleStan
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.

Re: Detection of Unwanted Things

PostPosted: Fri Dec 10, 2010 3:59 pm
by ironhulkman
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

Re: Detection of Unwanted Things

PostPosted: Wed Jan 19, 2011 3:27 pm
by ironhulkman
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

Re: Detection of Unwanted Things

PostPosted: Wed Jan 19, 2011 9:31 pm
by DaleStan
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.