![]() |
|
|
#1 |
![]() |
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. |
|
|
|
|
|
#2 |
|
Hardcore Monkey Moderator
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,254 (5.27/day)
Thanks: 591
Thanked 5,510 Times in 2,948 Posts
|
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
|
|
|
|
|
|
#3 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts
|
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(); } |
|
|
|
|
|
#4 | ||
![]() |
Quote:
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:
Is this something you would be suggesting? I tired running the sample program, but silverlight would crash on me
|
||
|
|
|
|
|
#5 |
![]() 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
|
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. |
|
|
|
|
|
#6 | |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts
|
Quote:
Do you have Silverlight installed?
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
|
#7 | |
![]() |
Quote:
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 |
|
|
|
|
|
|
#8 |
![]() |
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. |
|
|
|
|
|
#9 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts
|
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(); } |
|
|
|
|
|
#10 |
![]() |
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 |
|
|
|
|
|
#11 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts
|
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(); } |
|
|
|
|
|
#12 |
![]() 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
|
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 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
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 |