TODOPIC
Lenguajes de programación para PC => Visual Basic => Mensaje iniciado por: chyun3 en 05 de Julio de 2006, 14:28:15
-
Do anyone know how to perform image recognition or pattern recognition in VB?
I want to capture a image using webcam and perform some recognition process..help...
(sory for writing in English...beacause i donnot know Spanish)
-
I have never developed such a kind of application, but I think these books could help you:
*Algorithms for Image Processing and Computer Vision
http://www.amazon.com/gp/product/0471140562/ref=pd_sxp_elt_l1/104-8825011-2635952?n=283155
*Practical Algorithms for Image Analysis
http://www.amazon.com/gp/product/0521660653/ref=pd_sim_b_1/104-8825011-2635952?%5Fencoding=UTF8&v=glance&n=283155
Both use C (not VB) because image processing is a very intensive computer task.
Good luck
-
If you're trying to do real time image processing captured with a Webcam, you should start thinking changing to other programming lenguage. VB is really slow...
Basically, you can get a pixel value of a PictureBox control using the Point function.
Ex.:
Msgbox Picture1.Point(100,100)
It will return the pixel 100,100 color value as a Long.
Starting from there, you can implement algorithms to detect patterns or movement(ammount of pixels changed since previous image).
Se yaaa!
-
You can also turn to specialized libraries, like Victor for VB, although this option is not cheap.
Perhaps this link about pattern recognition with Victor will interest you.
http://www.webcom.com/~victor/howto/findmark.html
-
I'm using LEADTOOLS for image processing
http://www.leadtools.com
Welcome! LEAD Technologies, Inc. is the world-leading supplier of imaging development sdks. The LEADTOOLS family of toolkits is designed to help programmers integrate color, grayscale, document, medical, multimedia, Internet and vector imaging into their applications quickly and easily. LEAD's award-winning imaging technology has been chosen by Microsoft, Hewlett Packard, Intel, Boeing, Xerox, Kodak, Ford Motor Company and thousands of other companies for use in their high volume applications and internal systems.