Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webcam models that work well with VFP
Message
From
07/10/2023 10:08:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/10/2023 00:43:52
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
01687108
Message ID:
01687109
Views:
89
>Hi All,
>
>I would like to ask our community who has already worked with webcams using VFP for picture taking or capturing videos.
>
>Kindly suggest webcam models that work seamlessly with VFP.

I've seen it done, and used it myself (still have a few selfies done with it), from VFP, but each time it required and activeX which interfaces with the driver. Most cameras use the Twain driver, but recently (i.e. after, say, 2013) I've seen M$ force some other family of drivers, name of which I forgot, probably contains an X in it, that's all I remember. Some newer OCXes would probably support both. The exposed PEMs of the OCX should give you everything - a live preview of the picture, button to take a shot, a method to save the image (possibly in a few formats, with options to choose the compression rate, resolution and a few other parameters). The one I met the most (starting with 1999) was from LeadTools, but I've seen and used others too, though I don't remember their names.

So you should subclass an ActiveX host control with that particular OCX set, embed it in your form, and just use its PEMs. Camera model doesn't matter, I've used cameras priced between 20$ and 120$ and they all work equally well, it's the driver protocol that matters.

p.s. Sorry for replying to this in Philippino time... I was busy.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform