PDA

View Full Version : Difficulty accessing data from mvp



Unregistered
August 23, 2005, 19:31:45
I am currently developing in a VB6 enviroment, and im having difficulty reading the position of a blob finder into VB. Any help would be greatly appreciated.
Thanks!

J.N.

Bernd Peretzke
August 24, 2005, 16:22:13
Hi J.N.,

What kind of difficulties you have? You can use the IMVBlobFinder::BoundingRect property
to get an rectangle from the object. Therefore you have to define the CV_RECT structure in VB.

Regards
Bernd

JayN
August 24, 2005, 20:41:14
I guess im just having difficulties with the sepcific coding. Ive looked over the findobject sample program quite a bit, and I feel like I understand it, but when I go to apply the concept to my application I always get an error saying 'User Defined Type not Allowed', that being the type of variable im defining. Perhaps im not including the proper files with my application or im missing some sort of backend operation or thread. Thanks for your help.

Jay