Click here to Skip to main content
11,721,385 members (85,706 online)
Rate this: bad
good
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;
iu.Dispose();
Posted 26-Apr-13 22:14pm
Edited 27-Apr-13 0:05am
(no name)502.4K
v2
Comments
ThePhantomUpvoter at 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
0 Sergey Alexandrovich Kryukov 510
1 OriginalGriff 249
2 Mika Wendelius 170
3 F-ES Sitecore 80
4 cyycoish 70
0 Sergey Alexandrovich Kryukov 2,209
1 OriginalGriff 969
2 F-ES Sitecore 660
3 Maciej Los 609
4 Richard MacCutchan 560


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 27 Apr 2013
Copyright © CodeProject, 1999-2015
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