Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webcam models that work well with VFP
Message
From
25/10/2023 08:34:30
 
 
To
07/10/2023 10:08:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
01687108
Message ID:
01687118
Views:
58
Likes (1)
Hi Dragan,

I was able to successfully use the code in this link:

https://github.com/VFPX/Win32API/blob/master/samples/sample_437.md

To take pics in VFP when an employee swipes to log in using his RFID.




>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform