techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Programming & Webmastering

Reply
 
Thread Tools
Old Apr 28, 2012, 07:54 PM   #1
Flash
75 Posts
 
Join Date: Jan 2009
Posts: 144 (0.09/day)
Thanks: 10
Thanked 2 Times in 2 Posts

System Specs

Face recognition in ASP.net

Hi guys,

I'm trying to implement the following open source face recognition: http://www.codeproject.com/Articles/...ion-in-real-ti as a ASP.net web application.
It's for a school projects. First I would like to know if it's possible to do so, and if yes, if I could come with some additional questions to help me get it implemented.
Flash is offline  
Reply With Quote
Old Apr 28, 2012, 08:02 PM   #2
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,254 (5.27/day)
Thanks: 591
Thanked 5,510 Times in 2,948 Posts

System Specs

Yes, it's possible (although it may not be very easy).
Yes, you can ask all the questions you want (We just won't do the work for you).
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Apr 28, 2012, 08:07 PM   #3
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

ASP.NET? I don't think that is something that should be done server side. There's not only the performance concern, but privacy as well. If I were in your shoes, I'll look at Silverlight.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Apr 29, 2012, 04:33 AM   #4
Flash
75 Posts
 
Join Date: Jan 2009
Posts: 144 (0.09/day)
Thanks: 10
Thanked 2 Times in 2 Posts

System Specs

Quote:
Originally Posted by Kreij View Post
Yes, it's possible (although it may not be very easy).
Yes, you can ask all the questions you want (We just won't do the work for you).
Using that open source, what aspect would make it difficult? I'd like to mention I am at a beginner stage in .net and ASP.net, and standard knowledge in creating "basic" programs (a calculator, etc), basically what you would expect in 2 years in computer science.

Right now I am looking into "translating" the windows form application into a web application. Should I expect it to work very similar to the windows application?

The application stores the "trained" faces together with a .txt file which matches the name. I'm thinking I could have a box where the user would put his "name" and if that name is associated with the picture, it would grant access?

Quote:
Originally Posted by FordGT90Concept View Post
ASP.NET? I don't think that is something that should be done server side. There's not only the performance concern, but privacy as well. If I were in your shoes, I'll look at Silverlight.
I found this website: http://startrinity.com/VideoRecognit...ourceCode.aspx
Is this something you would be suggesting? I tired running the sample program, but silverlight would crash on me
Flash is offline  
Reply With Quote
Old Apr 29, 2012, 04:42 AM   #5
Aquinus
3500 Posts
 
Aquinus's Avatar
 
Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,507 (8.87/day)
Thanks: 1,441
Thanked 1,423 Times in 1,063 Posts

System Specs

Don't make it a web application. That really is your best option, you should probably use Java since you can run it on just about any platform or implement it as an applet on a website. This said applet could have a web service that a web application could call in order to check if authentication succeeded or failed.
__________________
MyHeat

Last edited by Aquinus; Apr 29, 2012 at 11:35 AM.
Aquinus is online now  
Crunching for Team TPU
Reply With Quote
Old Apr 29, 2012, 09:10 AM   #6
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

Quote:
Originally Posted by Flash View Post
I found this website: http://startrinity.com/VideoRecognit...ourceCode.aspx
Is this something you would be suggesting? I tired running the sample program, but silverlight would crash on me
Yeah, but the code you found before could be ported to work as well. Just need to change the GUI code, me thinks.

Do you have Silverlight installed?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Apr 30, 2012, 01:36 AM   #7
Flash
75 Posts
 
Join Date: Jan 2009
Posts: 144 (0.09/day)
Thanks: 10
Thanked 2 Times in 2 Posts

System Specs

Quote:
Originally Posted by Aquinus View Post
Don't make it a web application. That really is your best option, you should probably use Java since you can run it on just about any platform or implement it as an applet on a website. This said applet could have a web service that a web application could call in order to check if authentication succeeded or failed.
My school project requirement is to implement it as an ASP.net application. I also have almost no usable knowledge in regards to java applets, or how I could use java with the open source code.

Quote:
Originally Posted by FordGT90Concept View Post
Yeah, but the code you found before could be ported to work as well. Just need to change the GUI code, me thinks.

Do you have Silverlight installed?
I do have silverlight, but unfortunately it keeps crashing. Even their online face recognition demo is crashing the plugin. I will try re-installing silverlight and see if that helps. That's why I didn't bothered that much with that website, and tried to just translate the open source code from windows app to web app
Flash is offline  
Reply With Quote
Old May 2, 2012, 01:09 AM   #8
Flash
75 Posts
 
Join Date: Jan 2009
Posts: 144 (0.09/day)
Thanks: 10
Thanked 2 Times in 2 Posts

System Specs

Hey so quick update. I tried porting the code from the windows application to web application but unfortunately I cannot have the tools required added to the web application.

Going by this tutorial: http://fewtutorials.bravesites.com/e...ra-application, I would need a ImageBox taken from EMGU .dll, but that is not available in asp.net (unless I somehow miss it). (direct link: http://www.emgu.com/wiki/index.php/Add_ImageBox_Control)

FordGT90, I still tinkered with silverlight, unfortunately it's not realiable (crashes most often), and I also cannot open their sample code without receiving the following 2 errors:
Code:
D:\Dropbox\BCIT\T4.5\COMP_4904\Project\startrinity.com_face_recognition_v1.1\StarTrinity.FaceRecognition.SL.Sample\StarTrinity.FaceRecognition.SL.Sample.csproj : error  : Unable to read the project file 'StarTrinity.FaceRecognition.SL.Sample.csproj'. 
D:\Dropbox\BCIT\T4.5\COMP_4904\Project\startrinity.com_face_recognition_v1.1\StarTrinity.FaceRecognition.SL.Sample\StarTrinity.FaceRecognition.SL.Sample.csproj(104,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Flash is offline  
Reply With Quote
Old May 2, 2012, 03:00 AM   #9
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

StarTrinity.FaceRecognition.SL.Sample.csproj is the project file and it doesn't exist. You could create a new Silverlight project then add all the source to to and it should take care of that.

As for the second one:
http://stackoverflow.com/questions/3...-was-not-found

Apparently you need Silverlight 4 Tools for Visual Studio 2010 installed.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old May 2, 2012, 10:29 PM   #10
Flash
75 Posts
 
Join Date: Jan 2009
Posts: 144 (0.09/day)
Thanks: 10
Thanked 2 Times in 2 Posts

System Specs

I installed the Silverlight 4 and now I can open the sample code without a problem. However, this looks way over my head, and I do not think I can actually implement it since i don't actually understand the implementation (and there is no tutorial).

Right now I am trying to use activex to open the windows form from the asp.net webpage. I'm still reading over google to see if I can figure out how I can implement that
Flash is offline  
Reply With Quote
Old May 2, 2012, 10:43 PM   #11
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

Silverlight applets are implemented the same as Flash would be. ASPX basically opens them as an HTML object.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old May 2, 2012, 11:49 PM   #12
Aquinus
3500 Posts
 
Aquinus's Avatar
 
Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,507 (8.87/day)
Thanks: 1,441
Thanked 1,423 Times in 1,063 Posts

System Specs

You said this is for a class, do you have any instructions for the project that the teacher/instructor/professor has given you? My concern is that using silverlight might be outside the scope of the project requirements.
__________________
MyHeat
Aquinus is online now  
Crunching for Team TPU
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple Patents New Face-Recognition Device Unlock Technology btarunr News 22 Jan 1, 2012 07:29 PM
ASP.net C# web development? Braveheart Programming & Webmastering 19 Apr 16, 2009 04:05 PM
Asp.net 2.0 Wastedslayer Programming & Webmastering 0 Jun 17, 2007 08:06 PM


All times are GMT. The time now is 05:00 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts