Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1448

[DSWC+RC5] PicSnap WebCam+Cairo Overlay Demo/Experiment

$
0
0
First, let me say that the heavy lifting in this demo has been done by the hard work of Dilettante (DSWC) and Olaf Schmidt (vbRichClient5). I've decided to experiment a bit with Olaf's RC5 widget and form classes by putting an overlay layer over the webcam work that Dilettante did in this thread: http://www.vbforums.com/showthread.p...m-Minimal-Code

Here's a screenshot to whet your appetite:

Name:  PicSnap.jpg
Views: 147
Size:  35.9 KB

As you can see we get a nice transparent overlay with semi-transparent widgets over our (now scaled to the window-size) live webcam preview. Click/Tap the top icon to cycle through your available cams (e.g. front and back cameras). Click/tap the bottom icon to take a snapshot. When you take a snapshot, the window will "flash" to indicate that the snap was taken, and a JPEG will be saved in your My Pictures folder.

This has only been tested on a Surface Pro 3 with Windows 10, and only lightly at that, so bugs are quite possible. Report issues here and I will see what I can do.

So just a bit of a fun attempt to make a camera application for dummies. Thanks once again to Olaf and Dilettante for doing the difficult stuff.

Here's the source code:

PicSnap.zip

Once you've extracted the source code, you will also need to have the vbRichClient5 library and the FSFWrap library registered on your development machine. Enjoy!
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 1448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>