From the Tools menu, select Library Package Manager and then click Package Manager Console
use conjurati :
PM> Install-Package Accord.Imaging
add btn control

Imports Accord.Imaging
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myimage As Bitmap

myimage = New Bitmap("C:\s1.bmp")
Dim dd As New Accord.Imaging.HarrisCornersDetector
Dim l1 As List(Of AForge.IntPoint)
l1 = dd.ProcessImage(myimage)
End Sub
End Class

l1 contains the edges coordinates

read more :

MB over and out emp it up