Ok, here's what I got and it's sexy
Yea, much better, much easier to understand, less BS, thanks so muchCode:Public Class Form1 Dim Touchless1 As New TouchlessLib.TouchlessMgr Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load StartCapture() End Sub Public Sub StartCapture() If Touchless1.Cameras.Count = 0 Then MessageBox.Show("This application needs a webcam") : Return Touchless1.CurrentCamera = Touchless1.Cameras.First AddHandler Touchless1.CurrentCamera.OnImageCaptured, AddressOf CaptureInvoke End Sub Private Sub CaptureInvoke() PictureBox1.Image = Touchless1.CurrentCamera.GetCurrentImage() End Sub End Class![]()
![]()





Reply With Quote
