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

VB6 RC6 Cam-Streaming (with local QRCode-Decoding)

$
0
0
Just a little demo, which shows how to use the new cVidCap-Class of the RC6-lib (a version >= 6.0.7 is needed).

It is relatively simple to set-up (basically only a connect-MethodCall with a few init-params is needed) -
and it then throws a single event at the host-form, which transports the decoded VideoFrame as a cCairoSurface-type.

This incoming Image-Surface-Object is then already pre-processed internally,
according to the different "Flip" and "Rotate"-Property-Settings on cVidCap.

Upon request, this demo also includes a "live-decoding" of QR-Codes
(not doing any "online-calls", but using cQRDecode from RC6Widgets.dll - which in turn uses the statically linked "libQuirc" from cairo_sqlite.dll)

Here is a ScreenShot:


Some advice for using the QR-Decoding:
- the Label which shows the info, is "clickable" (then placing the decoded String on the ClipBoard)
- it has 3 "BackColor-Modes" to visualize the "live-capture-status"
- <grey> nothing was found so far
- <yellow> partial success (but ECC-checksum did not yet match)
- <green> a successful decoding took place (with a matching ECC-checksum)

Ok, here the Demo-Code:
VidCapRC6.zip

Have fun,

Olaf
Attached Files

Viewing all articles
Browse latest Browse all 1449

Trending Articles



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