O'Reilly logo

Emgu CV Essentials by Shin Shi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hello World in VB.NET

The Emgu CV library can be called in several programming languages. We can also use VB.NET to do what we did previously. The following VB.NET code is a C# source conversion. This conversion was done manually from C# and it has been smoothly built and executed with Visual Studio 2012 on Windows 8. The process of creating and designing a project is the same as in a C# project. The VB code is given here:

Imports Emgu.CV Imports Emgu.CV.CvEnum Imports Emgu.CV.Structure Public Class Form1 'Set the name of pop-up window Dim winname = "First VB Window" Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'Create a window with the specific name CvInvoke.cvNamedWindow(winname) 'Create an image of 480x200 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required