VB.NET Developer Getting Started
|
VB.NET Developer Getting Started |
Assuming that you have already run the Face Detection SDK ActiveX Control installation program and started visual studio 2010, the next step is create New Project, select Windows Form Application.
In Toolbox, Right Click mouse and Select Choose Items... , Select Face Detection Control in COM Components Tab.
Now you will see the Face Detection Control on Toolbox, Drag the Face Detection Control from Toolbox to form and add button on form.
Add following code in Button click event. It will count the total detected face from our sample demo1.png file.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim iTotalFace As Integer End Sub |
Now you can run the sample and click the button to get the total detected face.