Click here to Skip to main content
12,067,928 members (29,888 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# .NET image Recognition
I want to develop a software for recognizing a soft drink bottle in an image.
I am using visual studio 2010. I am confused whether I should use open CV or Aforge for processing images.. with Aforge i am facing some memory related issues.

and I also want to store intermediate processes images for templates in sql server how can i do that.How can I store "temp" or "i2" in sql server database
AForge.Imaging.Filters.FiltersSequence filter2 = new AForge.Imaging.Filters.FiltersSequence();

// add filters to the sequence
filter2.Add(new AForge.Imaging.Filters.Grayscale(0.300, 0.580, 0.2));
filter2.Add(new AForge.Imaging.Filters.OtsuThreshold());
// apply the filter sequence
UnmanagedImage iu = new UnmanagedImage(idata);
UnmanagedImage temp = filter2.Apply(iu);
System.Drawing.Image i2 = temp.ToManagedImage();
// show image
pictureBox1.Image = i2;
pictureBox1.Size = i2.Size;
Posted 26-Apr-13 23:14pm
Edited 27-Apr-13 1:05am
ThePhantomUpvoter 27-Apr-13 6:31am
"How can I store "temp" or "i2" in sql server database", you write some code that is how. What have you tried? Searching google for "save image in sql server" only returns 3,460,000 results so we know you did not try searching for an answer first.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160208.1 | Last Updated 27 Apr 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100