Griaule Biometrics

Home » Forums » FINGERPRINT SDK » .NET Specific » Stored in Sql Server
No replies
kornosa
Offline
Joined: 2008-10-09
Rate this post:
0
No votes yet
Stored in Sql Server

Hi

I am trying to create a clr function for sql server and want to pass into it the 2 images for comparison. returning a true or false if they match.
I am passing the images in as sqlbinary data type.
How would i get that into the ttemplate to compare them???

I am writing this in c#.

[Microsoft.SqlServer.Server.SqlFunction]
public static SqlBoolean MatchPrints(SqlBinary img1, SqlBinary img2)
{

}

what i am hoping for is to get the function callable from in a stored procedure ie

DECLARE @img1 image, @img1 image

SELECT dbo.MatchPrints(@img1, @img2)

regards

cambot