• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Face recognition in ASP.net

Joined
Jan 27, 2009
Messages
225 (0.04/day)
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.21/day)
Location
Cheeseland (Wisconsin, USA)
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). :toast:
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.65/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
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.
 
Joined
Jan 27, 2009
Messages
225 (0.04/day)
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
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). :toast:

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?

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/VideoRecognition/FaceRecognition/FaceRecognitionSourceCode.aspx
Is this something you would be suggesting? I tired running the sample program, but silverlight would crash on me :(
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
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.
 
Last edited:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.65/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Joined
Jan 27, 2009
Messages
225 (0.04/day)
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
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.

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
 
Joined
Jan 27, 2009
Messages
225 (0.04/day)
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
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/entries/emgu-cv-c/level-1---lets-make-a-camera-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.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.65/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Joined
Jan 27, 2009
Messages
225 (0.04/day)
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
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
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.65/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Silverlight applets are implemented the same as Flash would be. ASPX basically opens them as an HTML object.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
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.
 
Top